SilkTest seems to wait for pages to load before attempting to use any of the objects on the page. This is clearly a good thing.
However, it does not seem to wait for all of the pages in a frameset to load before using the objects in the frame pages. I get lots of "not found" errors when the test case tries to click on such objects.
I can get around this by preceeding these statements with "while" loops that sleep until the object exists and is enabled. The trouble is I need to insert these into each test case I create. A lot of time-consuming extra work.
Does anybody know of a global setting or perhaps a way of writing a global function or similar which would cause SilkTest to wait for objects to be available before acting on them and producing spurious "not found" errors.
Re: Synchronising playback with pages in framesets
[-] Testcase CreateShipment - 1 error
[ ] *** Error: Function WaitForPage should return a value
[ ] Occurred in WaitForPage at C:\Program Files\Segue\SilkTest\Projects\Sanity\TestFrame.inc (40)
[ ] Called from CreateShipment at Reconn.t(173)