Using Parameters...

3 posts, 1 answers
  1. Steve
    Steve avatar
    1885 posts
    Member since:
    Dec 2008

    Posted 08 Oct 2010 Link to this post

    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. Answer
    Daniel Levy
    Admin
    Daniel Levy avatar
    6 posts

    Posted 08 Oct 2010 Link to this post

    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
  3. Daniel Levy
    Admin
    Daniel Levy avatar
    6 posts

    Posted 08 Oct 2010 Link to this post

    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
Back to Top