How to know from the script that whether the object is
custom object or virtual object?
Answer Posted / vijayan
for standard windows object the script will be like
button_press("OK"); -- for push_button
for vitural object the script will be like
button_press("OK_1"); -- for virtual push_button
so if any logical name of the object have underscore
symbol(_) followed by any interget then we can identify that
the object is vitural object
In physical description we can find one more attribute
called virtual:TRUE, this is we cannt find for the normal
standard windows objects
ex:obj_mouse_click("Agent Name:_1", 21, 13, LEFT);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are different types of checkpoints?
What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?
What are the platforms that WinRunner can be used?
Explain the winrunner testing process?
Explain the purpose of loading winrunner add-ins?
Explain the purpose of different record methods?
What is test parameter
what is risk?
what is the difference between toggle checkpoint and checkpoint?
Difference between winrunner and test director?
When would you use 'set_window' and when would you use 'win_activate'?
The title of the window consists of date and time.What is the regular expression to recognize the window as unique?
What is the use of gui map?
How can withwin runner to make single scripts which supports multiple languages?
What are the modes of script recording in winrunner ?