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

Fails On Connect to pop up

1 Answer 137 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Austin
Top achievements
Rank 1
Austin asked on 19 Jun 2012, 03:38 PM

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.

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 20 Jun 2012, 12:17 PM
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
Tags
General Discussions
Asked by
Austin
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or