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 reasons that winrunner fails to identify gui object?
How to check the background colour of the screen in WR?
For my web Application I am recording website by WR. but the fuctions are displaying normal recorded fun. such as set_window...etc. eventhough i selected web add-in at start up WR. how to use web functions? such as web_link_click.... pls. guide
What are the Win Runner tools for functional testing?
What are the synchronization points?
What is boundary test?
Why don’t we normally load the gui maps through start up scripts?
What is the use of gui map and what happens when gui map file get loaded?
What is the purpose of a gui spy?
Have you used winrunner in your project?
How do you modify the logical name or the physical description of the objects in gui map?
What is tsl? What 4gl is it similar too?
What is the purpose of set_window command?
Explain difference between winrunner and test director?
What do you mean by the logical name of the object.