Fails On Connect to pop up

2 posts, 0 answers
  1. Austin
    Austin avatar
    4 posts
    Member since:
    Jun 2012

    Posted 19 Jun 2012 Link to this post


    My test seems to fail on the Connect to pop up step

    The pop-up loads just fine, however I think the test studio just can't connect to it.

    here is the code for the step

    // Connect to pop-up window : '<MYURLISHERE>.aspx?oid=54807'
    Manager.WaitForNewBrowserConnect("<MYURLISHERE>.aspx?oid=" + (string)GetExtractedValue("OrderNumber"), true, 5000);
    Manager.ActiveBrowser.WaitUntilReady();

    Take note even without replacing the oid the connect to popup fails, but still loads page,

    MYURLISHERE is actually a URL in the code in TS.
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 20 Jun 2012 Link to this post

    Hi Аustin,
    first off: what have you converted this step to code?

    Take a look at the following article:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/best-practices/regular-vs-coded-step.aspx

    Also, take a look at the following article that talks about HTML popups:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/dialogs-and-popups/html-popups.aspx
    near the end of the article you will find some info on resolving popup-related issues.

    Greetings,
    Stoich
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top