This document describes common methods used to interact with objects in a user interface, including activating and bringing dialog boxes and windows into focus using the Activate method, clicking buttons with the Click method, closing windows and dialogs with the Close method, double clicking objects with the DBL CLICK method, and setting values like text in edit boxes or selecting radio buttons and checkboxes using the Set method.
This document describes common methods used to interact with objects in a user interface, including activating and bringing dialog boxes and windows into focus using the Activate method, clicking buttons with the Click method, closing windows and dialogs with the Close method, double clicking objects with the DBL CLICK method, and setting values like text in edit boxes or selecting radio buttons and checkboxes using the Set method.
This document describes common methods used to interact with objects in a user interface, including activating and bringing dialog boxes and windows into focus using the Activate method, clicking buttons with the Click method, closing windows and dialogs with the Close method, double clicking objects with the DBL CLICK method, and setting values like text in edit boxes or selecting radio buttons and checkboxes using the Set method.
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