LDTP  2.3.1
 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: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/combo-box.c

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