selectitem ('<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.
- Todo:
- Return values:
-
| 1 | on success, LdtpExecutionError exception on failure |
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/combo-box.c http://webcvs.freedesktop.org/ldtp/ldtp/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
selectitem ('dlgFind', 'cboSearchFor', 'LDTP')
- Author:
- Poornima Nayak <pnayak@novell.com>
Linux Desktop Testing Project