What do we verify with the GUI checkpoint for multiple objects and what command it generates, explain syntax?

What do we verify with the GUI checkpoint for multiple objects and what command it generates, explain syntax?

To create a GUI checkpoint for two or more objects :

    > Choose Create GUI Checkpoint For Multiple Objects or click the GUI Checkpoint for Multiple Objects button on the User toolbar. If we are recording in Analog mode, press the CHECK GUI FOR MULTIPLE OBJECTS softkey in order to avoid extraneous mouse movements. The Create GUI Checkpoint dialog box opens.

    > Click the Add button. The mouse pointer becomes a pointing hand and a help window opens.

    > To add an object, click it once. If we click a window title bar or menu bar, a help window prompts we to check all the objects in the window.

    > The pointing hand remains active. We can continue to choose objects by repeating step 3 above for each object you want to check.

    > Click the right mouse button to stop the selection process and to restore the mouse pointer to its original shape. The Create GUI Checkpoint dialog box reopens.

    > The Objects pane contains the name of the window and objects included in the GUI checkpoint. To specify which objects to check, click an object name in the Objects pane. The Properties pane lists all the properties of the object. The default properties are selected.

         * To edit the expected value of a property, first select it. Next, either click the Edit Expected Value button, or double-click the value in the Expected Value column to edit it.

         * To add a check in which we specify arguments, first select the property for which we want to specify arguments. Next, either click the Specify Arguments button, or double-click in the Arguments column. Note that if an ellipsis appears in the Arguments column, then we must specify arguments for a check on this property. (We do not need to specify arguments if a default argument is specified.) When checking standard objects, We only specify arguments for certain properties of edit and static text objects. We also specify arguments for checks on certain properties of nonstandard objects.

        * To change the viewing options for the properties of an object, use the Show Properties buttons. 

   > To save the checklist and close the Create GUI Checkpoint dialog box, click OK. WinRunner captures the current property values of the selected GUI objects and stores it in the expected results folder. A win_check_gui statement is inserted in the test script. 

Syntax : win_check_gui ( window, checklist, expected_results_file, time );

obj_check_gui ( object, checklist, expected results file, time ); 

Date:2031-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related TESTING Subjective Links

TESTING Subjective interview questions and answers for experienced and fresher