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

In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

565


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

1637


How to find the length of the string in qtp?

584


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1499


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1420






when will you do debug your script? and explain that process?

1459


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1715


What is fragmentation and paging?

1600


What is the difference between rational rose and QTP?

1782


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1518


Write a QTP script to enter a keyword in to Google search engine?

656


How to get Traceability matrix from TD?

684


How to write business scripts using object repository with different scenarios

1390


Can any one send me the QTP Basic Coding Samples?

1616


Which recording modes need more memory?

591