ClassDesktopButton
Class
Represents a button control.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.Controls
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class DesktopButton : DesktopControl
Inheritance: objectDesktopControlDesktopButton
Inherited Members
Constructors
DesktopButton()
Declaration
cs-api-definition
public DesktopButton()
Methods
InitControl(DesktopElement)
Initialize desktop control.
Declaration
cs-api-definition
protected override void InitControl(DesktopElement element)
Parameters
element
Underlying element.
Overrides
Press(int)
Press the button without performing mouse action.
Declaration
cs-api-definition
public void Press(int delay = 250)
Parameters
delay
Time in ms to wait once the press operation is completed.