Information in this topic applies only to web tests that implement the default approach. This method is not supported in cross-platform web tests. |
Description
The ClickButton
method simulates a mouse click on the button part of the control.
Declaration
TestObj.ClickButton()
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Result | None |
Applies To
The method is applied to the following objects:
AngularUI Bootstrap Split Button, Bootstrap Split Button, Ext JS Split Button and 8 more objects, Flex PopUpButton, Infragistics UltraDropDownButton, jQuery Mobile Select Multiple Menu, Telerik RadDropDownButton for Silverlight, Telerik RadDropDownButton for WinForms, Telerik RadSplitButton for WinForms, YUI 2 Menu Button, YUI 2 SplitButton « Collapse the list
View Mode
This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
Result Value
None.
Remarks
To open or close the control’s drop-down menu, you can call the CloseUp
and DropDown
methods.
See Also
DropDown Action (Split Button Controls)
CloseUp Action (Split Button and Menu Button Controls)