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

Using Parameters...

2 Answers 130 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 08 Oct 2010, 04:46 PM
I mostly want to run my tests against Dev, but I also would like to run them against Live.  I would prefer to not have to have two versions doing the same thing.

Is there a way to do this by setting parameters somehow?  Login user\pass is the same, but the host urls are different.

Steve

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel Levy
Telerik team
answered on 08 Oct 2010, 06:57 PM
Hi Steve,

We have a feature in WebUI Test Studio that will accomplish just this.

By setting the BaseURL in your recording options, your test will be recorded with the base URL selected (see image 1).

When recording, if the URL matches the baseURL, then it will be recorded this way (see image 2):

After your recording is complete, you can override the recorded BaseURL using a test list - simply edit your test list settings, this will replace the base URL your test was recorded with, with the execution BaseURL. So essentially you will be able to create a single recording and via our Test Lists, execute against multiple environments (see image 3):

Hope this helps!

Regards,
Daniel Levy
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel Levy
Telerik team
answered on 08 Oct 2010, 08:43 PM
Hello Steve,

It's worth noting, that for step # 3, the equivalent setting for the Developer Edition is located in the .testsettings file in VS2010 and the .testrunconfig file in VS2008 (On the File Paths tab)

Greetings,
Daniel Levy
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Daniel Levy
Telerik team
Share this question
or