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
Explain QTP using different development techniques ?
How can you pass value one action to another action?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
What is the parameterization? Give one example?
What are private functions in QTP? How they can be called from the function library?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
why text area checkpoints cannot used for web applications
what is actually contain test report? can anybody post the test report
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
What is a checkpoint? How many check points are there in qtp?
What are the advantages of Object Repository?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
Key word driven framework
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?