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 read the third party controls in the application
How do you configure gui map?
How do u check FONTS in Login Window?
Which are default codes winrunner generates when we start the application?
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 three modes of running the scripts?
What is the XML test cases creation?
What is tsl? What 4gl is it similar too?
Explain the purpose of different record methods?
How do you copy and move objects between different gui map files?
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
How do you call windows APIs, explain with an example?
What is test parameter
What information is contained in the checklist file?
What are the virtual objects and how do you learn them?