LDTP
3.5.0
|
verifyselect('<dlgName>', '<cboName>', '<argument>')
VerfySelect action will verify if combo box is set to value given in argument.
VerifySelect function will try to find if text box associated with combo box is set to value specified in the argument.
1 | on 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
In gnome-search-tool combo box 'Available options' to select the menu item 'Contains the text'
verifyselect('SearchForFiles', 'cboAvailableoptions', 'Contains the text')