This is a migrated thread and some comments may be shown as answers.

wait for page load

6 Answers 380 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 2
John asked on 25 Aug 2011, 06:51 PM
Is there a way to wait for the page is loaded before continuing the playback?

thanks,
John

6 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 25 Aug 2011, 09:23 PM
Hello John,

Test Studio already has a built-in automatic "wait until ready" for all action steps (navigate, click, etc.). What problem are you running into? Are you perhaps dealing with an AJAX postback? Test Studio does not have a built-in mechanism to automatically detect these and wait for them to complete. We wrote this KB article showing you how to handier this situation using a coded step.

If you're dealing with a different situation, please clarify what the problem/symptom is so we can better assist you with the right solution to that problem. A video would help us see and understand the problem you are facing. Jing is a good and free screen recorder.

Best wishes,
Cody
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
0
Amitab
Top achievements
Rank 1
answered on 06 Sep 2011, 01:59 PM
What about asynchronous service calls?
Is there a step to wait for asynchronous to be completed before moving to the next one?

Thanks.
0
Cody
Telerik team
answered on 07 Sep 2011, 04:20 AM
Hello Amitab,

What sort of an asynchronous service call are you thinking of? An AJAX postback, which I already talked about, is an asynchronous call and the only type I am familiar with in web applications.

Greetings,
Cody
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
0
Amitab
Top achievements
Rank 1
answered on 13 Sep 2011, 01:15 PM
Hi,

I am referring to asynchronous WCF service calls from Silverlight UI. Do we have a mechanism in Telerik Test studio which would listen to such services to be completed before proceeding to next steps?

Thanks.
0
Cody
Telerik team
answered on 13 Sep 2011, 06:47 PM
Hi Amitab,

I am sorry but there is no built-in feature for waiting for asynchronous WCF service calls. An alternative would be to ask your developers to update some hidden UI element at the start of the asynchronous and update it again when the call is finished. Then you can use a couple of Wait For steps to wait on the state of this element.

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Amitab
Top achievements
Rank 1
answered on 14 Sep 2011, 08:43 AM
Thanks for your prompt reply. This was one of the alternative methods applied on my test project.
Still, it was good to confirm it with one of the Telerik Experts :)

Cheeerzz
Tags
General Discussions
Asked by
John
Top achievements
Rank 2
Answers by
Cody
Telerik team
Amitab
Top achievements
Rank 1
Share this question
or