Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Should i add objects to Object repository to make my scripts working?
#2
Solved: 12 Years, 10 Months, 3 Weeks ago
Hi Sonal,

Your question here is not clear enough to understand.

By "creating new object manually", do you mean adding objects to repository manually or using descriptive programming?

If you are talking about adding objects to repository, then you need not to be worry about selecting properties, QTP does it by itself. However, you can select some additinal properties which are not selected by QTP by default.

If you are talking about DP, then you can view all properties once you spy on any object and try different combinations. If it is still difficult to choose any property, add the object to local object repository and see which property(ies) QTP uses to uniquely identify the object. You can use those in your DP and can delete the object added.

Hope this helps you.
Reply


Messages In This Thread
RE: Should i add objects to Object repository to make my scripts working? - by PrabhatN - 11-27-2010, 11:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Collecting Objects And Object State At Runtime zunebuggy 3 2,302 11-22-2017, 02:37 PM
Last Post: supputuri
  How to make QTP Script to work when system gets locked? ramkumarad 6 13,708 11-02-2017, 03:37 PM
Last Post: Divv
  Do we need object repository?? subhashinid 0 2,279 07-06-2016, 10:07 AM
Last Post: subhashinid
  Object repository losing object properties ishan.mahajan@adp.com 2 4,421 08-20-2015, 11:33 PM
Last Post: ADITI1992
  login object not found in object repository Akram 2 3,470 06-01-2015, 07:47 PM
Last Post: babu123

Forum Jump:


Users browsing this thread: 1 Guest(s)