Relative URL Issues with Test Lists

3 posts, 0 answers
  1. Brian
    Brian avatar
    2 posts
    Member since:
    Mar 2018

    Posted 28 Mar 2018 Link to this post

         So I am trying to take about 25 scripts for one application and make them be able to easily work in multiple environments and be able to easily point it somewhere else and have it work.  To do this I was making all of the base URL's in all of the navigation steps and in the frame properties into relative URLs.  What I mean by this is that I would replace the part of the URL in the front that would be changing based on environment with an "~", so I would have something like  ~/shopping/Login.asp   for all the places it would apply.  I then just go into the overall settings and change the base URL to the environment that I want to point everything to and then it works with the relative URL's the way I want it to.


    This all works great and I can run the scripts one at a time and they all work, and then I can switch the environments and they still all work.  But when I try to make a test list with them in it, it almost instantly fails and always gives an error of "This operation is not supported for a Relative URI."  It seems to just be an issue with test lists or something?  Since they all work as expected when running them alone, but when throwing the exact same ones into a test list it fails instantly.  I also made sure to go into the test list settings and making sure that Base URL was set and it was.  



  2. Brian
    Brian avatar
    2 posts
    Member since:
    Mar 2018

    Posted 28 Mar 2018 in reply to Brian Link to this post

    Nevermind, I ended up figuring it out.  Apparently for every frame except for one I had the "Use Base URL" checkbox unchecked, and unchecking the last one made things start to work again.
  3. Nikolay Petrov
    Nikolay Petrov avatar
    308 posts

    Posted 02 Apr 2018 Link to this post

    Hi Brian,

    I'm glad to know you manage to resolve this problem. I hope no further problems will occur. 

    Best Regards,
    Nikolay Petrov
    Progress Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top