Micro Focus QTP (UFT) Forums
Virtual objects in QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Virtual objects in QTP (/Thread-Virtual-objects-in-QTP)



Virtual objects in QTP - nilanjans - 11-05-2012

Hi All

What is Virtual Objects in QTP? When do we need this while writing Tepescripts.

Can anyone please site with an example?

Actually in a web application, i found that two webEdit boxes are not recognized by QTP as standard objects. ObjectSpied those, and QTP treating those as WebElements. In Such case can we come up with any resolution using Virtual objects.

Thanks in Advance
Nilanjan.


RE: Virtual objects in QTP - K Gaurav Varshney - 11-06-2012

Hi,
Virtual object enable you to create and run tests on objects that are not normally recognized by QuickTest.
Your application may contain objects that behave like standard objects but are not recognized by QuickTest. You can define these objects as virtual objects and map them to standard classes, such as a button or a check box.
For more understanding :
Go to QTP help, there you will get thorough explaination .

Regards,
K