LDTP
3.5.0
|
hidelist('<dlgName>', '<cboName>')
Hides combo box drop down list in the current dialog. Suppose in previous operation one testcase has clicked on combo box, its drop down list will be displayed. If further no any operation has been done on that combo box then to close that drop down list 'HideList' action is required
Combo box will generally have a list as its child or a menu as its child. So this function gets object handle of list object, checks if list of combo box is visible, if yes then just click on combo box, click operation will close drop down list of combo box.
1 | 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