Like several other folks on this forum, we are trying to solve the problem of running our tests against multiple deployment environments (with different URLs) on which the SUT has been deployed.
URL of the application landing page in various environments are of the following nature:
The tests were recorded against one of these environments and run successfully against that environment (both with WebUI 2010 R3).
Further, the tests are integrated with our TFS2010 CI environment and are setup to run whenever a new build is deployed to the above environment. In this scenario, the tests are run through the command line version of Microsoft Test Manager (tcm.exe). The tests can also be run manually from the Test Manager GUI. So the ability to run tests under Test Manager is an important requirement for us.
I have reviewed several threads on this forum and see that the recommendation for this scenario is to use the BaseURL field as described in the following KB article:
However, this solution will not work for us for the following reason: This article recommends creating separate test lists (QA) and testsettings files (Dev with VS 2010). Problem is that Microsoft Test Manager does not use the testsettings files created in Visual Studio (see the first response in the following thread on MSDN:
I was wondering if anyone on this forum or at Telerik has figured out how to adapt the BaseURL solution to work in a Microsoft Test Manager environment as described above. If so, I would appreciate it very much if you could share the solution or point me to any references that will help me find it (I have searched this site and Googled extensively - but there is always the possibility that the answer is buried somewhere that I did not think to look).
If it is not possible to use the BaseURL solution in an MTM environment, I would also be interested in hearing any other approaches that have worked.
Any help in this regard would be greatly appreciated.