LDTP
2.3.1
|
selecttextitem('<window name>', '<combo box name>', '<item>')
Selects a text item in a combox box and the combo box may contain either list or menu item.
1 | on success, LdtpExecutionError exception on failure |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/combo-box.c http://cgit.freedesktop.org/ldtp/ldtp/tree/src/list.c
With respect to gedit, find dialog
from ldtp import *
click('*-gedit', 'btnFind')
# assuming that LDTP string is available in the list of searched strings
selecttextitem('dlgFind', 'cboSearchFor', 'LDTP')