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

pages.g.cs has hard-coded URL (Test Studio Web test)

1 Answer 16 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 20 May 2016, 05:12 PM

I am developing tests for an application that uses a web-browser based UI; the application is hosted on a machine running IIS;  I am currently developing the tests on a remote machine, using the IP address of the machine hosting the application as the URL.  I was hoping to use the test-settings (settings.aiis) or testsettings file to change the URL to localhost when running the test from the build system, as an automated test.  is there a way to make pages.g.cs use the URL from the settings file rather than the hard-coded value in the file?

 

Thanks,

Mark

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 25 May 2016, 12:08 PM
Hello Mark,

Are you using Test Studio to execute the tests. If you are, why don't you use the BaseURL setting?

Another way to proceed is with config file as mentioned in this article.

Let me know if you have any further questions.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or