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

What is the use of 'Show' button in GUI Map Editor?

2 Answers   FCG,


I want to know is there any latest Win Runner Technology? If then plz tell me in detail. Thanks

7 Answers  


what is the default mode of executing TSL Script

4 Answers  


Explain the synchronization points?

0 Answers  


can we write exception handlers (object,tsl,pop-up) programatically then how should we insert this in the script?

2 Answers  


what type of licence key r u using for winrunner software in your company?

1 Answers   MBT,


Difference between winrunner and test director?

0 Answers  


What is the definition of function?

1 Answers  


How do you determine what to test?

6 Answers  


What are the reasons Winrunner fails to identify an object in the GUI?

3 Answers   Bristle Cone, Logica CMG,


what are the default addin?s provided by WR

2 Answers  


During debugging how do you monitor the value of the variables?

1 Answers  


Categories