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

BaseURL Array?

8 Answers 91 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 30 Mar 2011, 05:16 PM
Can I request a future feature to allow multiple Base URLs?

8 Answers, 1 is accepted

Sort by
0
Accepted
Stoich
Telerik team
answered on 01 Apr 2011, 11:57 AM
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
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 01 Apr 2011, 02:43 PM
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?
0
Accepted
Cody
Telerik team
answered on 06 Apr 2011, 10:55 PM
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
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 07 Apr 2011, 02:16 PM
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
0
Accepted
Cody
Telerik team
answered on 07 Apr 2011, 05:03 PM
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
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 07 Apr 2011, 05:10 PM
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
0
Accepted
Cody
Telerik team
answered on 07 Apr 2011, 05:14 PM
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
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 07 Apr 2011, 06:01 PM
It does!

WORKS!
Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Stoich
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Cody
Telerik team
Share this question
or