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
How many types of recording modes in qtp?
What are the key points to create a framework in QTP for oracle forms?
Is it possible to change the property value at runtime? How it is possible?
What are the types of object repositories? Which one is you using?
What are the key elements available in test result window?
what the difference between shared repository and per action repository?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to find the name of the machine where you are running your automation scripts in qtp?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
What are the different types of recording modes in qtp? Which will be used when?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
Do you know how to connect database? Can you tell me the procedures?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)