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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data driver in qtp?

659


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1574


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

659


What is the difference between local and shared object repository in qtp?

643


What is text check point and text area check point?

695






How to find the difference between 2 dates in qtp?

683


How do you test DLL files using automation Tool QTP?

2825


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1680


What are the features and benefits of quick test pro (qtp 8.0)?

684


What is the qtp testing process?

707


Explain the concept of object repository?

634


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

677


What is quicktest professional (qtp window?

691


How do you create regression test packs?

715


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

1637