explain virtual object? in detailed? pls any one explain me?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance
How many types of Recordings are there in QTP and what are they?
7 Answers Dangote, First Indian Corporation,
How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..
Synchronizing test
If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Repository and for the 2nd time it is showing like 7 Objects in the Object Repository why it is happening
7. Given scenario is like this: One Web table is there and you have to search and retrieve a cell data which is equal to the given number say:123. Assume you have given with the column name/id of the table where the number may exist. So now you have to go to the given column and search for the number 123 and retrieve it along with the row number of it.
What is diff. between ordinal identifier INDEX and Location?
You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?
What is meant by Step Generator in Qtp How is it used? pls gimme in detail
what difference between client and server applications exatly?
Where we can use the analog mode and where we can use the low – level mode?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric