I am testing a web service via a data entry screen using IE7. When I enter the address info, a new IE screen appears and the data loads and it is then ready.
I need to therefore look for the presence of this new screen and also that data exists.
The first part is ok but the second doesnt work.
I tried looking for the 'Done' text in the bottom left of the screen by using a Property checkpoint. It identifies it as IEFrame.tabpage.Done, so I am using the IEFrame.tabpage.Done.Exists checkpoint, but TC does not find the object IEFrame, but thats what TC identified it as when I recorded the checkpoint!
How else can I check that data has loaded and the screen is now ready to check? I have looked at the Ready state but found that unreliable - something said it was at a ready state when still loading data.
I'm not sure ReadyState is something you should use for your particular context. I've used ReadyState before when working with IE in a headless fashion. But if you're seeing the IEFrame object, I don't think you're in a headless context. So it may be easier just to do a simple wait call on the rendered object.
@Allen - the example code in the "Waiting for Page" section of the help is not helpful. It does not work on either IE or Firefox. Using the Tree model, Pages do not have a "FRAME" property in either browser, so the GetFrames function fails. Even if it worked, the ReadyState property is only available in IE.
We will correct our documentation on the readyState property. In the meantime, I recommend that you use the Wait method instead. As for the FRAME property, it is just a sample name of a frame available as a child object of the tested web page.