|
|
You can check a single property of a GUI object. For example, you can check whether a button is enabled or disabled or whether an item in a list is selected. To create a GUI checkpoint for a property value, use the Check Property dialog box to add one of the following functions to the test script:
button_check_info scroll_check_info
edit_check_info static_check_info
list_check_info win_check_info
obj_check_info
For information about working with these functions, refer to the TSL Reference.
To create a GUI checkpoint for a property value:
The WinRunner window is minimized, the mouse pointer becomes a pointing hand, and a help window opens on the screen.
The Check Property dialog box opens and shows the default function for the selected object. WinRunner automatically assigns argument values to the function.
Note: that if you click an object that is not compatible with the selected function, a message states that the current function cannot be applied to the selected object. Click OK to clear the message, and then click Close to close the Check Property dialog box. Repeat steps 1 and 2.
The function is pasted into the script at the insertion point. The Check Property dialog box closes.
|
|
WinRunner Related Tutorials |
|
---|---|
LoadRunner Tutorial | HTML Tutorial |
QTP Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.