LDTP  3.5.0
 All Pages
hidelist

Syntax

hidelist('<dlgName>', '<cboName>')

Description

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

ImplementationDetails

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.

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

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


Linux Desktop Testing Project