You can create a GUI checkpoint that checks the properties, including contents, of a DropDown list or a DropDown DataWindow. You can check the same properties, including contents, for a DropDown DataWindow that you can check for a regular DataWindow. Note that before creating a GUI checkpoint on a DropDown object, you should first record a tbl_set_selected_cell statement in your test script. Use the CHECK GUI FOR OBJECT/WINDOW softkey to create the GUI checkpoint while recording. You create a GUI checkpoint that checks the contents of a DropDown object as you would create one for a table. For information on checking tables, see “Checking Table Contents.”
Checking Properties of a DropDown Object with Default Checks
You can create a GUI checkpoint that performs a default check on a DropDown object. A default check on a DropDown object includes a casesensitive check on the contents of the entire object. WinRunner uses column names and the index number of rows to check the cells in the object.
You can also perform a check on a DropDown object in which you specify which checks to perform. For additional information, see “Checking Properties of a DropDown Object while Specifying which Checks to Perform”
To check the properties of a DropDown object with default checks:
WinRunner captures the GUI information and stores it in the test’s expected results folder. The WinRunner window is restored and an obj_check_gui statement is inserted into the test script.
Checking Properties of a DropDown Object while Specifying which Checks to Perform
You can create a GUI checkpoint in which you specify which checks to perform on a DropDown object. When you double-click in a DropDown object while creating a GUI checkpoint, the Check GUI dialog box opens. If you are checking, for example, a DropDownListBox, you can double-click the DropDownListBoxContent property check in the Check GUI dialog box to open the Edit Check dialog box. In the Edit Check dialog box, you can specify the scope of the content check on the object, select the verification types and method, and edit the expected value of the DataWindow contents.
To check the properties of a DropDown object while specifying which checks to perform:
The Check GUI dialog box opens.
The example above displays the Check GUI dialog box for a DropDown list. The Check GUI dialog box for a DropDown DataWindow is identical to the dialog box for a Data Window.
The Edit Check dialog box opens.
WinRunner captures the GUI information and stores it in the test’s expected results folder. The WinRunner window is restored and an obj_check_gui statement is inserted into the test script.
|
|
WinRunner Related Tutorials |
|
---|---|
LoadRunner Tutorial | HTML Tutorial |
QTP Tutorial |
WinRunner Related Interview Questions |
|
---|---|
SILK TEST Interview Questions | LoadRunner Interview Questions |
WinRunner Interview Questions | HTML Interview Questions |
QTP Interview Questions | Manual Testing Interview Questions |
OpenStack Interview Questions | Automation Testing Interview Questions |
API testing Interview Questions | Rational robot Interview Questions |
Selenium IDE Interview Questions | Performance Testing Interview Questions |
Test Director Interview Questions |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.