wait for page load

7 posts, 0 answers
  1. John
    John avatar
    8 posts
    Member since:
    Jul 2012

    Posted 25 Aug 2011 Link to this post

    Is there a way to wait for the page is loaded before continuing the playback?

    thanks,
    John
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 25 Aug 2011 Link to this post

    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!
  3. Amitab
    Amitab avatar
    3 posts
    Member since:
    Sep 2011

    Posted 06 Sep 2011 Link to this post

    What about asynchronous service calls?
    Is there a step to wait for asynchronous to be completed before moving to the next one?

    Thanks.
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 06 Sep 2011 Link to this post

    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!
  5. Amitab
    Amitab avatar
    3 posts
    Member since:
    Sep 2011

    Posted 13 Sep 2011 Link to this post

    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.
  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 13 Sep 2011 Link to this post

    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
  7. Amitab
    Amitab avatar
    3 posts
    Member since:
    Sep 2011

    Posted 14 Sep 2011 Link to this post

    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
Back to Top