Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Virtual Objects in QTP Script
#1
Not Solved
Hi all,

I have created a virtual object, for a flexmenu item, which QTP struggles to identify in my application.

Now i do not have a clue of how to use it within the script.

I gave the following command only to result in error Sad

Code:
Browser("#").FlexApplication("Main").FlexMenuBar("menu").FlexMenu("Pre-submission").virtualobject("object1").Click

When marking the object, the parent was identified as "Pre-submission" by QTP. The object name is "object1" and the collection name is VoCollection1.

Any help is appreciated.

Thanks in advance
Reply
#2
Not Solved
What error is coming? Is QTP able to highlight the stored virtual object?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  virtual objects do not work kawagnes 0 1,112 08-28-2020, 12:02 PM
Last Post: kawagnes
  Could not create Java virtual machine TangShake 2 8,657 10-26-2017, 11:41 AM
Last Post: walshmagger
  cannot create java virtual machine on QTP 12.02 version richa5685 0 1,974 02-23-2016, 11:18 AM
Last Post: richa5685
  QTP recording web objects as windows objects Ansh123 6 5,714 11-30-2012, 08:38 PM
Last Post: Ansh123
  Virtual objects in QTP nilanjans 1 3,269 11-06-2012, 10:03 AM
Last Post: K Gaurav Varshney

Forum Jump:


Users browsing this thread: 1 Guest(s)