6 Answers, 1 is accepted
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.
Cody
the Telerik team
Is there a step to wait for asynchronous to be completed before moving to the next one?
Thanks.
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
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.
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
Still, it was good to confirm it with one of the Telerik Experts :)
Cheeerzz