LDTP  3.5.0
 All Pages
getallitem

Syntax

getallitem('<window name>', '<combo box name>')

Description

Get all the list of contents of a combox box as a string list.

Return values
listof type string on success, LdtpExecutionError on failure

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/combo_box.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/combox_box.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Combobox.cs

Example

With respect to Replace dialog of gedit application

from ldtp import *

Without specifiying the filename

getallitem('dlgFind', 'cboSearchfor')

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project