Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which gives better performance qtp with Object repository or qtp without OR.
#7
Solved: 11 Years, 3 Months, 3 Weeks ago
I would like to add that there are other methods besides using OR or dp if you are testing a web application.

The article, https://www.learnqtp.com/make-your-qtp-s...rm-better/ demonstrates several methods. Using DOM is faster than either OR or dp.

I went to the Mercury Tours web site, http://newtours.demoaut.com , logged in and went to the “Book A Flight” page. On that page, I ran an OR script and a DOM script that used getElementsByName.

The average of ten runs for the OR script was 2.63 sec.
The average of ten runs for the DOM script was 0.340 sec.

In the above article, the getElementsByName was 26.6 time faster than using OR. While my results are only 7.74 times faster, I tested both edit and list fields. The increase in execution speed is still significant.

hth,

Parke
Reply


Messages In This Thread
RE: which gives better performance qtp with Object repository or qtp without OR. - by Parke - 10-29-2013, 08:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to access webtables without adding into Object Repository ramkumarad 7 9,632 12-30-2013, 07:38 PM
Last Post: Sathiya
  QTP hangs when adding object to the object repository sathya2kn 1 3,421 12-31-2012, 03:33 PM
Last Post: krr
  Object pointer from Repository to Application mollkoff 4 4,400 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,555 01-03-2012, 05:29 PM
Last Post: shivu.hanu
Exclamation Object Repository Unleash Rajesh 2 3,590 05-11-2011, 11:58 AM
Last Post: Unleash Rajesh

Forum Jump:


Users browsing this thread: 2 Guest(s)