TFS 2010 - Test Impact Analysis Series - Part 2

12/30/2010
This is a short series in Test Impact Analysis. You can find part 1 here.
This post will describe how we set everything up for Test Impact Analysis (when used with Microsoft Test Manager) when testing a remote website.

Disclaimer: This is my understanding of how it works. Your mileage may vary.

My environment looks as follows:-


The machines are broken down as:-

  • TFS Server - Hopefully obvious.
  • Test Machine - This is the workstation that the tester is using.
  • Test Controller Server - This is the machine running the TFS Test Controller.
  • Database Server - This is hosting the application under test's database.
  • Web Server - This is hosting the application under test. The TFS Test Agent is also installed on this server.

Once we have our machines we need to create our application environment in MTM. To do this we open MTM and go to the Lab Center section. Under the LAB tab, you can create a new environment. Mine is a physical environment. After entering the name, controller machine name and physical machine name the environment is created as below. Note to keep things simple I have not included the database server for this environment. The created environment looks like this.


Now we can assign our environment to the test plan. Go to the Testing Center area in MTM an d choose your test plan. Select properties and set the Test Environment to be the one just created. Also create a new Test Setting for a Manual run.


Give the test setting a name, the roles will be automatically populated (NB - The Local role is the manual testers machine.)

Next comes the Data and Diagnostics. This causes a lot of confustion so listen carefully.

  • Actions - This should be on for the Local only
  • ASP.NET Client Proxy for IntelliTrace and Test Impact - Again Local Only.
  • Test Impact - This should be on for the Web Server Only. Dont forget to go into the config for this, select advanced and make sure that the Collect Data from ASP.NET applications running on Internet Information Services is checked.


  • Here is a screenshot of my testsettings summary.




    Ok, make sure that the Test setting that we just created is the one selected in the properties of our test plan and we are ready to test!! The test plan settings should look something like this





    That leads us nicely into part 3 - How does the client work?

    12/30/2010

    No comments :

    Post a Comment