Micro Focus QTP (UFT) Forums
Confirm page Load? - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Confirm page Load? (/Thread-Confirm-page-Load)



Confirm page Load? - jcraig26 - 09-14-2012

Newb here.

I am running a smoke test to confirm that pages for a website load properly after a new build. That was fairly easy to build since the framework was in place. Now, those up the food chain have asked that I add a timer to gauge how long it takes each page to load so we can track from one build to the next. Not too big a deal, I figured something out.

My question is the loading of the pages itself. Can someone confirm that if I click a link for a page to load, that QTP will wait for it to load before running the next line?

I am grabbing a start time (= current time), then doing the page load with the next line, and lastly I grab the end time (= current time - start time).

I am only concerned that the end time line will run before the page finishes loading fully.

I hate to add in any type of verification step since I think that would increase the perceived load times.

Thanks in advance!