LDTP  3.5.0
 All Pages
verifyselect

Syntax

verifyselect('<dlgName>', '<cboName>', '<argument>')

Description

VerfySelect action will verify if combo box is set to value given in argument.

ImplementationDetails

VerifySelect function will try to find if text box associated with combo box is set to value specified in the argument.

Return values
1on success, 0 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'

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

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


Linux Desktop Testing Project