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
|Is This Answer Correct ?||3 Yes||2 No|
Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this
how to run the script If QTP tool not identify object in web page
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
how qtp will recognise if application is run on many browsers
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
What is the extension of qtp local repository?
Get the count of files of similar types from a folder.
Explain in brief about the QTP Automation Object Model.
HI, Based On The Information Below Write A Data Driven test Script Edit Box 1 Should take Value From Num1 Column Edit Box 2 Should take Value From Num2 Column Click On Add Button, Get The Value Of Exp res Column, Get Value From Actual Result Edit Box , Compare Two Values, Write Pass / Fail Value Into Result Column Thanks In Advance... Kavitha Input.Xls Num1 Num2 Exp res Act res Result 10 30 40 40 Pass 50 40 90 90.5 - - - - - - - - - - - - - - - -
What are Child Objects?
Explain about the Test Fusion Report of QTP ?