LDTP  3.5.0
 All Pages
comboselect

Syntax

comboselect('<window name>', '<component name>', '<menu item name>')

comboselect('<window name>', '<component name>', '<list item name>')

Description

Select a menu item or list item in a combo box based on name

Return values
1on success, LdtpExecutionError exception 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

Example

In gnome-search-tool combo box 'Available options' to select the menu item 'Contains the text'

comboselect('SearchForFiles', 'cboAvailableoptions', 'Contains the text')

Author
Poornima pnaya.nosp@m.k@no.nosp@m.vell..nosp@m.com


Linux Desktop Testing Project