
Ethan Chang
Top achievements
Rank 1
Ethan Chang
asked on 18 Aug 2010, 09:25 PM
Hi,
I'm using WebUI Test studio Developer Edition on VS2010. I have a new project and using the local.testsettings but the Webaii settings are being ignored on my coded vs unit test code. I'm trying to access the baseurl using the Manager.Settings.BaseUrl. It's always returning empty string.
I'm using WebUI Test studio Developer Edition on VS2010. I have a new project and using the local.testsettings but the Webaii settings are being ignored on my coded vs unit test code. I'm trying to access the baseurl using the Manager.Settings.BaseUrl. It's always returning empty string.
5 Answers, 1 is accepted
0
Hi Ethan,
Thank you for your question.
Using the VS (or any other) WebAii test template you need to overwrite the settings via the Settings class. Please follow the instructions from this documentation article. You can also check the samples we deploy with the installation.
Best wishes,
Konstantin Petkov
the Telerik team
Thank you for your question.
Using the VS (or any other) WebAii test template you need to overwrite the settings via the Settings class. Please follow the instructions from this documentation article. You can also check the samples we deploy with the installation.
Best wishes,
Konstantin Petkov
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

Ethan Chang
Top achievements
Rank 1
answered on 19 Aug 2010, 01:56 PM
Are you implying that I'm not able to use the testsettings file to control the manager settings?
0
Hi Ethan,
You cannot right now. There's probably a way to expose those settings with our coded tests running over the WebAii base template too. I think it worth's investigating at least for consistency with the recorded tests.
I'm logging a feature request about that. Just for reference the Id in our database is #71898.
Thank you for the feedback and please keep it coming!
Best wishes,
Konstantin Petkov
the Telerik team
You cannot right now. There's probably a way to expose those settings with our coded tests running over the WebAii base template too. I think it worth's investigating at least for consistency with the recorded tests.
I'm logging a feature request about that. Just for reference the Id in our database is #71898.
Thank you for the feedback and please keep it coming!
Best wishes,
Konstantin Petkov
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

Ethan Chang
Top achievements
Rank 1
answered on 16 Dec 2010, 07:46 PM
Any update in this feature?
0
Hi Ethan Chang,
Cody
We haven't been able to implement feature request 71898 yet. I am sorry don't have an ETA I can provide for when we will be able to address this one.
For coded vs unit tests you really should be using the app.config file as documented here.
Cody
the Telerik team
Interested in Agile Testing?
Check out Telerik TV for a recording of
Automated Testing in the Agile Environment