LDTP
3.5.0
|
getcombovalue('<window name>', '<cboName>')
Get currently selected combo box value
getcombovalue function will try to get the combo box value and returns.
combo | box value on 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
In gnome-search-tool combo box 'Available options' to get the menu item 'Contains the text'
getcombovalue('SearchForFiles', 'cboAvailableoptions')