How to know from the script that whether the object is
custom object or virtual object?

Answers were Sorted based on User's Feedback



How to know from the script that whether the object is custom object or virtual object?..

Answer / sree lakshmi

by using virtual object wizard(it was in tools menu) we can
check the give object is custom/virtual object

Is This Answer Correct ?    1 Yes 0 No

How to know from the script that whether the object is custom object or virtual object?..

Answer / semo

Hi sree Lakshmi can u explain in detail..b'cos using virtual
object wizard we can configure virtual objects.
But using that wizard how can we know whether it isa
virtual object or custom object..
and one more the question is how to know it from the
script..?

thanks
Semo

Is This Answer Correct ?    1 Yes 0 No

How to know from the script that whether the object is custom object or virtual object?..

Answer / radha

When Winrunner records the operations on virtual objects
which generates win_mouse_click statements.We can define
these objects as virtual objects.

Is This Answer Correct ?    0 Yes 0 No

How to know from the script that whether the object is custom object or virtual object?..

Answer / 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

How to know from the script that whether the object is custom object or virtual object?..

Answer / palaniappan

virtual object is in tsl
obj_mouse_click(virtual_pushbutton(button name));

and also u can see in Gui map editor --physical dis--
virtual =true

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More WinRunner Interview Questions

Please any one Knows Send the Website for Writing different TestCases with different Examples

0 Answers  


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.....

0 Answers   Google, Malhotra Associates, Seed Infotech,


Define parameterizing?

0 Answers  


How does winrunner Recognize Objects in an application?

1 Answers   BirlaSoft,


What is a checkpoint and what are different types of checkpoints?

0 Answers  






hi, this is balu. I looking for testing job. I want qtp software . any body have . pls send mail to me dont forget. send a mail to me kool.balu@gmai.com

1 Answers  


How to recover the Parameter out of range error while running the script in verify mode

1 Answers  


What are the three windows displayed when a mismatch occurs in Bitmap verification

1 Answers  


regular expression differance in qtp and winrunner

1 Answers  


What are the synchronization points?

0 Answers  


how to open an application

1 Answers   Polaris,


How can withwin runner to make single scripts which supports multiple languages?

0 Answers  


Categories