You are on page 1of 1

Methods or Operations

Activate: It activates dialog boxes/Windows


Syntax: Object hierarchy. Activate
Ex:
Dialog(Login).Activate
Window(Flight Reservation).Activate
Click Method: It clicks on an object (Buttons)
Syntax: Object hierarchy. Click
Ex:
Dialog(Login).Winbutton(ok).click
Close Method: It closes the window,Dialog box, Browser window etc.
Syntax: Object hierarchy. Close
Ex:
Window(Flight Reservation).Close
Browser(Browser).Close
DBL CLICK: It Double clicks the object.
Set Method: It can be used in three ways.
a. For setting the value of an edit box
Syntax: Object Hierarchy. SET Value
Ex: Dialog (Login).WinEdit(Agent Name).Set asdf
b. Selecting a Radio Button
Syntax: Object Hierarchy. Set
Ex: Window("Flight Reservation").WinRadioButton("Business").Set
c. Selecting/Deselecting check boxes
Syntax:object Hierarchy.Set ON/off

You might also like