I will try to address today a common query by lot of users of Visual Studio Lab Management on how to correctly run tests in different Lab Environments.
This requirement can be achieved by making the test code read the Server names/other configuration through environment variables:
Now, we need to configure our test machines to have the correct values of the environment variables, for achieving this we can do:
Please refer http://msdn.microsoft.com/en-us/library/ee471614.aspx for information about Deploy and macros of Lab E2E workflow.
Note: The capability to run Lab E2E Workflow is only available for virtual environments in VS 2010. It is available for both Standard (Physical) and SCVMM environments in VS vNext.