BaseURL Array?

9 posts, 4 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 30 Mar 2011 Link to this post

    Can I request a future feature to allow multiple Base URLs?
  2. Answer
    Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 01 Apr 2011 Link to this post

    Hi Steve,
        could you please elaborate a little bit on this feature. You would like Test Studio to recognize and not record multiple URLs and not just a single one (the BaseURL)?
    What are the particular circumstances of your use case that necessitate this feature?

    Please give me a bit more info on this so that I may better formulate the FeatureRequest so that it finds your needs!

    Hope to hear from you soon!

    Best wishes,
    Stoich
    the Telerik team
  3. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 01 Apr 2011 Link to this post

    100% protected site:

    DEV:
    http://login.dev.site.ca <- Login
    http://postgrad.dev.site.com <- Site to test

    LIVE:
    http://login.site.ca <- Login
    http://postgrad.site.com <- Site to test

    What do you recommend?
  4. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 06 Apr 2011 Link to this post

    Hi Steve,

    This is an interesting problem. If you were using the application manually (no automation) I assume the user is supposed to start at the login site? How are they supposed to progress from login to the site to test? After logging in do you have to manually navigate to the site to test or is this done automatically via a redirect or some such?

    Greetings,
    Cody
    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
  5. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 07 Apr 2011 Link to this post

    Yes, there's a few subdomains all are seperate website projects.  These all use the login site as their autentication point, then once logged in (and based on role) you get links to the other subdomains, or can nav over there directly with the RedirectUrl querystring.

    So I have a Login test I re-use with the AddTestAsStep...but it's not totally portable to Live as the Live and Test URLs are different as well are the passwords.

    It's always been a bit of a pain for me with the tests

    What about some sort of URL rewrite rules (even if I have to put them in an XML file)?
    - Look for X, replace with Y
    - Look for X, replace with Y
    - Look for X, replace with Y
  6. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 07 Apr 2011 Link to this post

    Hello Steve,

    How about making your NavigateTo test steps data driven? These test steps to support getting the NavigateUrl from a data source. Have two (or more) columns in your data source that specify the various URL's that are variable but must be matched up for the end-to-end test to work right.

    Kind regards,
    Cody
    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
  7. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 07 Apr 2011 Link to this post

    I am open to anything :)

    You wouldn't be able to jing me up something quick showing that would you?  I (embarrassingly) have yet to try the datadriven test functionality
  8. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 07 Apr 2011 Link to this post

    Hi Steve,

    See if the attached document helps.

    All the best,
    Cody
    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
  9. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 07 Apr 2011 Link to this post

    It does!

    WORKS!
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!