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 test Fonts and its size thru "Font Expert" in Win Runner.
How to break infinite loop?
Explain data parameterization in winrunner?
What are data driven tests?
This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.
How do u check FONTS in Login Window?
what is risk?
The title of the window consists of date and time.What is the regular expression to recognize the window as unique?
How do you suppress a regular expression?
wat is the d/b windows 95&98&xp?could anybody give reply ?
What is the use of test director testing tool?
Why don’t we normally load the gui maps through start up scripts?
Explain the winrunner testing process?
Which function to use to compare the application date with system date?
Explain the purpose of loading winrunner add-ins?