Thread

Skip Navigation LinksForums > Rapise Forums > Rapise Issues & Questions > Handling page load delays

Handling page load delays RSS Feed

Tuesday, October 18, 2011
I have noticed that some of my tests failed b/c of the time it took for some pages to load. The recording is fine, but I am getting "TypeError(-2146827850): Object doesn't support this property or method" when I play the script.

Any adivice on how to handle this?
1 Replies
Adam SAdam S
re: Adam S on Tuesday, October 18, 2011
Tuesday, October 18, 2011
It is recommended to fine-tune the synchronization using one of the 2 available methods:

1.
Global.DoSleep(1000);

Waits for 1 second. In many cases it is enough

2. Global.DoWaitFor('MyObjectId', 10000);
- Wait for given object up to 10 seconds. If object is found earlier then method unblocks.
Tagged
Statistics
  • Started: 10/18/2011
  • Last Reply: 10/18/2011
  • Replies: 1
  • Views: 599
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.