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
How to check the background colour of the screen in WR?
What different actions are performed by find and show button?
when start testing
What is debug mode in Winrunner?
Without the gui map, use the phy desc directly?
Explain the difference between gui map and gui map files?
Difference between winrunner and test director?
How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....
What are the platforms that WinRunner can be used?
What is the XML test cases creation?
Name the two modes of recording?
What actually happens when you load GUI map?
Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated
How do you suppress a regular expression?
What happens when the gui map file get loaded?