what is the use of VIRTUAL OBJECTS? explain ?

Answer Posted / uday kumar_anem

Whatever objects that QTP cannot recognize in our
application are called non-standard objects or virtual
objects. Here most of the time QTP doest not identify the
objects because of improper add-ins or if the objects are
advanced controls.
In your application, these virtual objects may behave like
a standard objects. In this scenario we can map these
virtual objects to standard objects by using Virtual Object
Wizard.
To make non standard object into standard object just
follow the below navigation:
Tools -> Virtual Objects -> New Virtual Object -> read the
description and click next -> Assign the class to the object
(means how this non-standard object is behaving standard
object) -> click next -> click on mark object button -> use
the crosshair pointer and mark your non-standard object ->
click next -> choose your configuration in object
onfiguration dialog -> click next -> Give a name to this
virtual object and give collection name -> click finish

The following are restrictions on virtual objects:
1. QuickTest does not support virtual objects for analog or
low-level recording.
2. The Web page or application window must be the same size
and in the same position when recording and running tests s
as it was when you defined the virtual object.
3. You cannot insert any type of checkpoint on a virtual
object.
4. The virtual object should not overlap other virtual
objects in your application or Web page.
5. You can define virtual objects only for objects on which
you can click or double-click and which record a Click or
DblClick step. Otherwise, the virtual object is ignored.

Is This Answer Correct ?    74 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many maximum number of virtual users we can create?

1569


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1871


Explain object spy in qtp.

583


What are private functions in QTP? How they can be called from the function library?

634


Explain the concept of object repository & how qtp recognizes objects?

568






what is run-time data?

1694


What are the Application Functions available in QTP?

1475


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

1899


Explain the features of quick test pro(qtp)?

573


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3443


How will you test a keyboard?

599


Does quicktest professional (qtp) is unicode compatible?

536


How do you synchronization point through DP?

595


Can we run multiple QTP scripts one after the other without manual intervention? How?

596


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1567