my problem is to notice when a web site is complete "downloaded" with the browser in winrunner 7.5 (with web test add-in). I tried to use the status bar of the browser, if "ready" is shown i thought it will be done. But this is not as reliable as i need. If the mouse pointer is located over a link, the address of the links is shown in the status bar.
The next problem is if the page is a redirect page, the first page is ready loaded after seconds, then there is a short delay and a text is shown like "you will be redirected to..." now the page i'm interested is loaded. How to detect when this page is ready with winrunner?
I think you can use win_exists() actually this works fine for that particular page is loaded. If you are verufy particular about any object then you can use Obj_exists(). Then you can carry on any manipulation on the object.
You can use web_sync(), but if you know the latency. Then you can get the message from that parituclar location into a variable "you will be redirected to.." through a loop and keep running the loop through for every minute until the variable returns blank. So you will be sure of that the page got displayed.
If you want a high quality software system, you must ensure each of its parts is of high quality. by Watts S. Humphrey
A tip I learned was to find a bitmap/image (copyright or text you know will always be there) in the lower-right corner of the page and check for it. Since most pages load top-left to bottom right, the existence of that image being complete more than likely means your page has loaded.
Haven't had the need to try it yet myself, but might be worth a shot.
Actual quote from an email I received from a product manager:
"I want to tell all our customers to go to it (site) on Monday next week. I especially want to make sure the forums work right. Can you test every feature you can find?"
this particular page is divides into three Frames, the one that's interessting for me is the one which is dynamicly build. Inside this frame i found nothing which indicates the page is ready. There is nothing which is always included, an i'm not shure about the order in which the objects are loaded.
Today i'm scanning the statusline if "ready" is displayed, this works in 99% good. That's enought, but in case of redirect it fails. Here in need a solution.
P.S.: I changed my e-mail for my account roli, but i made a misstake, so my new password is send to an e-mail adress which is not existing. Is there a way to change this?