Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which gives better performance qtp with Object repository or qtp without OR.
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
QTPExpert,

OR is an inbuilt feature in QTP which stores information about the objects in your AUT. When you run a script, QTP loads OR at the start in one go and starts using the object information to run the steps. Since the OR loading is happening only once, all objects are accessible throughout the scripts and thus takes less time for execution.

Whereas if you use DP, object informations are available only at runtime. QTP needs to get the description of the object from the code and use it to identify the object in AUT. This increses the execution time. So if you have written the entire script using DP, it increases burden to QTP to read and create a description for object which takes more time for execution.

To use OR or DP is always a debatable topic. It all depends on your choice and scenario. There is no rule for that. I always use OR as it takes less time and the object can be used at multiple places. I opt for DP only in case OR is not feasible for use.

Regards,
Ankesh
Reply


Messages In This Thread
RE: which gives better performance qtp with Object repository or qtp without OR. - by Ankesh - 01-21-2013, 03:24 PM

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
  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
Exclamation Object Repository Unleash Rajesh 2 3,599 05-11-2011, 11:58 AM
Last Post: Unleash Rajesh

Forum Jump:


Users browsing this thread: 1 Guest(s)