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

Switching between SSL modes

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 27 Feb 2014, 03:55 PM
Hi,

We have a new problem regarding switching between SSL modes on our test site.  Basically we have 3 modes we need to support:

Full SSL

All pages in our website will be HTTPS e.g. https://Login, https://Search, https://Book, https://Confirm

Partial SSL

Some pages in our website will be HTTPS e.g. https://Login, http://Search, https://Book, http://Confirm

No SSL

No pages in our website will be HTTPS e.g. http://Login, http://Search, http://Book, http://Confirm

When we first created our tests our test site was always in Partial SSL mode therefore the elements/pages in the element explorer were created in this way, however if we switch the modes on our test environment our tests stop working due to the fact that it never finds the page/elements as they have the wrong beginning part of the URL.

Does Test Studio provide a way to handle this?

Thanks
Shane

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 03 Mar 2014, 01:23 PM
Hello Shane,

This is a typical scenario to solve using page's BaseUrl. That can help both recording and playback, tests and test lists execution inclusive. Basically having BaseUrl on project level (recording setting) will record all page elements with relative address so that you can control the exact playback location for test lists playback as well. Please check this article for details and let us know if you have further questions.

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