Micro Focus QTP (UFT) Forums

Full Version: Measuring Page load time using QTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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

hey...u make check for an object that gets populated in new screen. Verify its existence
Try to use this:

Code:
Set Object=Browser("").Object
While Object.Busy=True
Wend
Set Object=nothing
use start transaction and end transaction it will display the page load time in results page