QTP timer and manual execution time is diff
I am using MercuryTimer function to get the time for a page to load and i am using .Exist() method to confirm the Web page and the frame inside the webpage, however the manual execution time is much higher than QTP execution time. Can anyone please help in terms of what other proeprties or mehtods can be used besides Exist, Visible, highlight to synchronize the time between QTP and manual because some proeprties shows more QTP time, some less.
Thanks in advance
Re: QTP timer and manual execution time is diff
It sounds like the page your loading exists, but all the elements in your page haven't finished loading yet. You need to wait for these to load before measuring load time. Try using a Sync before measuring, or if you know what element will be loaded last then you can do a .exist in that.