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 the two modes of recording?
How should we write and execute a user define function using WinRunner.
How do you handle dynamically changing area of the window in the bitmap checkpoints?
two file is there how will compate it by useing qtp.
What are the synchronization points?
How do you filter the objects in the gui map?
What is the use of gui map and what happens when the gui map file get loaded?
How do you copy and move objects between different gui map files?
How to check the background colour of the screen in WR?
How do you handle unexpected events and errors?
What is the purpose of regexp_label property?
How do you find out which is the start up file in winrunner?
global sheet and external excel sheet how it will work
hi this is uday iam trying for testing job with 3+ yrs of exp if u have qtp faqs materil plz send me thanks in advance
How do you handle pop-up exceptions?