Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Repository (.tsr)
#1
Not Solved
Hi,

I am using following script to add .TRS file into the test:

Code:
Rep_Path = "C:\Shri OR\S1.tsr
RepositoriesCollection.RemoveAll()
RepositoriesCollection.Add(Rep_Path)
Pos = RepositoriesCollection.Find(Rep_Path)
RepositoriesCollection.Remove(Pos)
RepositoriesCollection.Add(Rep_Path)

--> Sometimes it works fine i.e recognize an objects very quickly and
--> sometimes it takes long time to recognize objects....don't know why?

Can anybody please suggests any solution for this i.e any external settings requires or not?

Note: i don't want to use Associate Repository tool & DP

Please suggest....

Thanks
Shrini
Reply


Messages In This Thread
Object Repository (.tsr) - by shriqtp - 11-18-2009, 05:42 PM
RE: Object Repository (.tsr) - by Saket - 11-19-2009, 03:31 PM
RE: Object Repository (.tsr) - by shriqtp - 11-19-2009, 05:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to access webtables without adding into Object Repository ramkumarad 7 9,300 12-30-2013, 07:38 PM
Last Post: Sathiya
  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
  QTP hangs when adding object to the object repository sathya2kn 1 3,266 12-31-2012, 03:33 PM
Last Post: krr
  Object pointer from Repository to Application mollkoff 4 4,214 06-05-2012, 05:26 PM
Last Post: ravs@788
  Is this possbile to write the script without using the Object in object repository? njnirmal 4 8,253 01-03-2012, 05:29 PM
Last Post: shivu.hanu

Forum Jump:


Users browsing this thread: 1 Guest(s)