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

Switch control to a new window with a unique URL everytime

1 Answer 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rahul
Top achievements
Rank 1
rahul asked on 21 May 2014, 10:44 PM
Hi,
I am a newbie to Test Studio. I am hitting a button on Window1 that opens up a new Window2. The URL for window2 is different everytime so the test case fails as it is trying to navigate to the already recorded URL. 
I am using record and play. Kindly help.

P.S:
The initial part of the URL always remains the same except the last 4 alphanumeric digits. Appologez if I am giving less info.

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 26 May 2014, 12:00 PM
Hello Rahul,

Thank you for contacting us.

You should check "IsUrlPartial" property for the connection step and delete the dynamically generated part (i.e. type only the static one).

Please see the attached screen shot.

Let me know if this helps. 

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
rahul
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or