Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virtual Objects
#2
Solved: 12 Years, 10 Months, 3 Weeks ago
a. 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.
b. QuickTest identifies a virtual object according to its boundaries and relative to the parent object which u have assigned while creating virtual object.
c. Not clear to me
d. When you created the Virtual Object using the Virtual Object Manager, you must have selected the Class to which you wish to Map as well as specified a name for the Virtual Object.
In the script where you wish to use the Virtual Object include this sytanx -

Code:
Browser("").Page(“”).VirtualButton("VirtualObject").Click
VirtualButton - ObjectClass you mapped to. Specify the Object Class you mapped your virtual Object to.
Incase you are using VirtualCollections, you can also specify the CollectionName and use the Index to retrieve the required virtual Object.
Reply


Messages In This Thread
Virtual Objects - by manojith1984 - 02-04-2009, 01:03 PM
RE: Virtual Objects - by Prafulla - 02-04-2009, 04:32 PM
RE: Virtual Objects - by manojith1984 - 02-04-2009, 04:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  virtual objects do not work kawagnes 0 1,513 08-28-2020, 12:02 PM
Last Post: kawagnes
  Could not create Java virtual machine TangShake 2 9,349 10-26-2017, 11:41 AM
Last Post: walshmagger
  cannot create java virtual machine on QTP 12.02 version richa5685 0 2,322 02-23-2016, 11:18 AM
Last Post: richa5685
  Virtual objects in QTP nilanjans 1 3,611 11-06-2012, 10:03 AM
Last Post: K Gaurav Varshney
  Connect to a virtual machine using QTP Amoula007 0 3,475 01-25-2012, 02:03 AM
Last Post: Amoula007

Forum Jump:


Users browsing this thread: 1 Guest(s)