Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Measuring Page load time using QTP
#1
Solved: 10 Years, 9 Months ago
Hi,

I am automating a web-based flex application. Needless to say that I am using a flex add-in which help recognize flex object.

The problem that I am facing is the page load time is erratic. I tried using waitproperty and sync but did not work. I want to wait for all the objects to load on page and ONLY then proceed.

Which would be the best way I can do this?
Reply
#2
Solved: 10 Years, 9 Months ago
Hi,
We facing the same issue in SAP Web Environment
We handle this in following way

Consider, we have a login page.
After entering user details, we clicking login button
We dont know how much time it takes to login
After clicking login consider it directs to user home page

So we just used Browser("").Page("home Page details").some_object_in_home_page("").Exists(time) then say login success and page is synced

In this way you can avoid waiting for long time. This is equivalent to page synch

Reply
#3
Solved: 10 Years, 9 Months ago
hey...u make check for an object that gets populated in new screen. Verify its existence
Reply
#4
Solved: 10 Years, 9 Months ago
Try to use this:

Code:
Set Object=Browser("").Object
While Object.Busy=True
Wend
Set Object=nothing
Reply
#5
Solved: 10 Years, 9 Months ago
use start transaction and end transaction it will display the page load time in results page
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rcovery Scenario @Runtime Load Showing Error UrmilaSaha 0 1,253 03-24-2017, 09:08 PM
Last Post: UrmilaSaha
  IE 10 Load status sram3003 0 2,043 01-17-2014, 12:46 PM
Last Post: sram3003
  ALM can not load business component in UFT priyankac18 0 3,335 11-20-2013, 04:03 PM
Last Post: priyankac18
  Unable to load function library from QC in QTP!! vijay.gupta 0 3,587 09-06-2011, 11:28 AM
Last Post: vijay.gupta
Big Grin Load Function Library asisha 0 5,794 03-09-2011, 10:35 PM
Last Post: asisha

Forum Jump:


Users browsing this thread: 1 Guest(s)