Micro Focus QTP (UFT) Forums
Measuring Page load time using QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Measuring Page load time using QTP (/Thread-Measuring-Page-load-time-using-QTP)



Measuring Page load time using QTP - Abhijeet79 - 02-03-2011

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?


RE: Measuring Page load time using QTP - anandanlk - 02-03-2011

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




RE: Measuring Page load time using QTP - DinakarVadapalli - 02-03-2011

hey...u make check for an object that gets populated in new screen. Verify its existence


RE: Measuring Page load time using QTP - linhke - 01-05-2012

Try to use this:

Code:
Set Object=Browser("").Object
While Object.Busy=True
Wend
Set Object=nothing



RE: Measuring Page load time using QTP - vinod123 - 01-05-2012

use start transaction and end transaction it will display the page load time in results page