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
#2
Not Solved
do you see a smart identification when it does not identify quickly? I think you need to regualarize your objects in the repository in order to avoid smart identication.

Reply
#3
Not Solved
Hi Saket,

Actually not getting what exactly you want to guide me
--> Can you please elaborate more with example OR can you please give some steps regarding that so that i will apply that into my test and will let you know.

Thanks
Shrini
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to access webtables without adding into Object Repository ramkumarad 7 9,680 12-30-2013, 07:38 PM
Last Post: Sathiya
  which gives better performance qtp with Object repository or qtp without OR. qtpexpert 6 6,576 10-29-2013, 08:56 PM
Last Post: Parke
  QTP hangs when adding object to the object repository sathya2kn 1 3,440 12-31-2012, 03:33 PM
Last Post: krr
  Object pointer from Repository to Application mollkoff 4 4,427 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,584 01-03-2012, 05:29 PM
Last Post: shivu.hanu

Forum Jump:


Users browsing this thread: 2 Guest(s)