Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add a virtual object in Object repository ?
#2
Solved: 10 Years, 9 Months, 1 Week ago
Hi njnirmal ,

In general when objects are not identifed by QTP then we will go for virtual object concept. Where the objects will identified based on the coordinates and stored in the dat folder (not in Object Repository).
Please find the below snippet for Virtual Object (VO):
------------------------------------------------------------------------------------------
Code:
Dialog("Login").Dialog("Flight Reservations").VirtualButton("button").Click
----------------------------------------------------------------
In the above snippet the "OK" is added as virtual object.

2nd Question:
Yes, we can write the scripts using DP. where the scripts execution time will reduce i.e. the performance of the script will be more. We can handle the almost all the object by defining number of properties and values.

Please let me know if you need any more information.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: How to add a virtual object in Object repository ? - by supputuri - 07-28-2009, 04:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General Object Error(Find Object Error) akhandesh 1 3,427 02-24-2016, 01:05 PM
Last Post: sindhus
  If Object name is completely changing then I am unable to recognize that object swapna.9n9 0 2,011 11-14-2014, 05:35 PM
Last Post: swapna.9n9
  How to access webtables without adding into Object Repository ramkumarad 7 9,297 12-30-2013, 07:38 PM
Last Post: Sathiya
  Clicking on Window object to make it a javaedit object indranilgoswamimcb 0 2,066 11-03-2013, 09:03 PM
Last Post: indranilgoswamimcb
  which gives better performance qtp with Object repository or qtp without OR. qtpexpert 6 6,082 10-29-2013, 08:56 PM
Last Post: Parke

Forum Jump:


Users browsing this thread: 1 Guest(s)