Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Use virtual object?
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
hi dear,
first of all clear the concept of virtual object.
virtual objects are the objects who looks like the normal objects but not recognized by the qtp.take a ex. open the ms paint and record the test for doing the signature by selecting the pencil and color then run the test and see the effect........that means pencil or color in a table is looking like bitmap not the button in table and also see the OR there is no object about button or table about pencil or color.
so that way we use the Virtual Object process to map the virtual object with the Standard class.
now use the tools>virtual objects>virtual object manager.. first delete the old VO
then add new...
Process to add the VO..for pencil
open the tools>virtual objects>virtual object manager>new click next>select Class as button>click mark object and mark properly the pencil image>click next>next> enter the data as u want then select the yes checkbox for next VO and make another 4 a color table end finish...
now see the OR,plz comment out the
'Window("Paint").WinObject("Tools").Click 19,93
'Window("Paint").WinObject("Colors").Click 74,29
and run the test.
ask me if u face any prob.
Happy testing
Reply


Messages In This Thread
How to Use virtual object? - by tester_rahul - 02-18-2010, 12:53 PM
RE: How to Use virtual object? - by devanggoel - 02-18-2010, 04:24 PM
RE: How to Use virtual object? - by tester_rahul - 02-22-2010, 01:07 PM
RE: How to Use virtual object? - by devanggoel - 02-22-2010, 03:06 PM
RE: How to Use virtual object? - by tester_rahul - 02-22-2010, 05:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP runs slow when scheduled through a Virtual Machine BajaJeff 3 5,320 06-11-2013, 02:45 AM
Last Post: Ankur
Rolleyes How can we run QTP on virtual machine at scheduled time through VB script. ritugoyal 13 22,588 11-23-2012, 11:03 AM
Last Post: vinod123
  Any Method to fetch d cellData from Virtual Table? manishddeshmukh 0 2,260 08-09-2010, 05:34 PM
Last Post: manishddeshmukh
Question Using Virtual Table Server (VTS) for QTP Parameterization rishikesh 0 3,796 03-30-2010, 03:29 PM
Last Post: rishikesh
  Pure Virtual Function Error in QTP running in QC jon88654 0 4,116 07-22-2009, 12:55 AM
Last Post: jon88654

Forum Jump:


Users browsing this thread: 3 Guest(s)