LDTP
3.5.0
|
getallitem('<window name>', '<combo box name>')
Get all the list of contents of a combox box as a string list.
list | of 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
With respect to Replace dialog of gedit application
from ldtp import *
getallitem('dlgFind', 'cboSearchfor')