Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

selecttextitem

Syntax

selectitem ('<window name>', '<combo box name>', '<item>')

Description

Selects a text item in a combox box and the combo box may contain either list or menu item.

Implementation

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

Example

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>

Generated by  Doxygen 1.6.0   Back to index