explain virtual object? in detailed? pls any one explain me?

Answers were Sorted based on User's Feedback



explain virtual object? in detailed? pls any one explain me?..

Answer / br

your application may contain objects that behave like standard object but are not recognized by QTP. You can define these objects as Virtual objects and map them to standard classes such as button or a check box. QTP emulates the user's action on the virtual object during run session.

Eg: Suppose you want to record on a web page containing a bitmap that the user clicks. The Bitmap contains several different hyperlink areas and each area opens a different destination page. When you record a test, the web site matches the coordinates of the click on the bitmap and opens the destination page.
When you run a test, QTP clicks the bitmap in the area defined as a virtual object so that the web site opens the correct destination page.

Is This Answer Correct ?    5 Yes 0 No

explain virtual object? in detailed? pls any one explain me?..

Answer / saha

When ever qtp is not identified the objects using Mandatory,
assistive, so it will try to identiy the objects. wich are
non-standards it will convert to standard objects and it
will identiry at recording time.so here it will use to
identify that by co-ordinations

Is This Answer Correct ?    4 Yes 0 No

explain virtual object? in detailed? pls any one explain me?..

Answer / prashanth

If QTP Could not identify the objects, then those objects are called "Non Standard Objects" or "Virtual Objects"
These virtual objects behave like a standard object but not identified by QTP.
We can map a virtual object to a standard object by using "Virtual Object Wizard" (Tools-->Virtual Object-->New Virtual Objects...)

Restrictions on virtual objects
1. A virtual object should not overlap with another virtual object.
2. QTP does not support virtual objects for analog and low level recordings.
3. The application window should be of same size and in same position when we record and run the tests as it was when we define a virtual object.
4. We cannot insert any type of checkpoints on virtual objects.
5. We can define virtual objects only for the objects on which we can "Click" or "Double Click" and which record "Click" and "Dblclick", otherwise virtual object is ignored.

Is This Answer Correct ?    3 Yes 1 No

explain virtual object? in detailed? pls any one explain me?..

Answer / saha

When ever qtp is not identified the non standard objects ,
so Virtual Object will try to identify the objects using the
co-ordinations it will convert non-standards into standard
objects

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More QTP Interview Questions

one page contain next button.when we enter that its not going to next page.what type of error that one.

3 Answers   TCS,


what is the extension of action script template?

7 Answers   Capco,


What is the use of an object spy tool in qtp?

0 Answers  


what is the process to follow between writing the test cases & then atomating it?

1 Answers  


What is the recovery scenario in qtp?

0 Answers  






how to capture tool tip in QTP and which check point is needed

2 Answers   Syntel,


Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?

2 Answers  


difference between multiple parameterization and data driven wizard in QTP?

1 Answers  


hi.what is exactly mean by real time frame work? every institute teach Framework is nothing but having 6 to 7 folders..and save repositories functions keywords and scripts? this is enough or not? can we beleive?

1 Answers  


I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?

2 Answers   TCS,


How can we QTP Scripts in xml format? is there any way to do so?

2 Answers   Apex,


write a vb script to print even numbers from 1-50?

6 Answers   Kclink Technologies, Logica CMG,


Categories