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

Modal Pop-Ups

2 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 2
Josh asked on 07 Jan 2013, 04:45 PM
I recently created a test where we have a HTML pop-up that has a session based URL. So in order to keep this step correct we changed the pop-up connection to Modal Pop-Up and put the title of the Web Page is a caption. I recently wrote another script using the same HTML pop up and the same Modal Method and now I can not get TestStudio to connect to it? The User Documentation is limited on how to work around this or as to why this occurs. Any advice would be nice.

The one thing I did notice is if I toggle the "Continue on Failure" the other recorded steps are executed on the pop-up window without error.

2 Answers, 1 is accepted

Sort by
0
Pavel Kotsev
Telerik team
answered on 10 Jan 2013, 03:27 PM
Hello Joshua,

Could you please ensure the following step properties are set:
IsUrlPartial - checked
PopupUrl - contains only that part of the url that stays the same every time the test is executed
IsModalPopup - checked
ModalPopupPartialCaption - contains only that part of the dialog's caption that stays the same every time the test is executed

I hope this will solve the issue. Please do not hesitate to contact us in case you still experience problems.

Greetings,
Pavel Kotsev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Josh
Top achievements
Rank 2
answered on 10 Jan 2013, 03:45 PM
Thanks Pavel,
 After a few minutes I realized that I have the leave the URLisPartial checked even though Im not basing it on the URL but on the Modal Caption
Tags
General Discussions
Asked by
Josh
Top achievements
Rank 2
Answers by
Pavel Kotsev
Telerik team
Josh
Top achievements
Rank 2
Share this question
or