If your looking for a way to create
test configurations that can be used in all your team projects check out Dave Lloyds blog. Dave explains how to edit the process
template to add or change test configurations.
If you have never been to Toronto here is your chance plus while here you can learn about Microsoft Test Manager, Coded UI testing, Web & Load testing, the new Bug, Fast Forwarded Manual Testing, and all you need to know about TFS2010 the communicator. Here is your chance. Check out our 3 day course offering being held March 9th to 11th and get 10% off.
Tell them Testa send you …
I’ve been asked about the managing of test configurations. In the sample below I have two test configurations set up as I add test cases they are automatically assigned both test configurations.
You can have multiple test configurations set to be the default. Which means all test cases are assigned these default configurations.
When I click on a Test Case then the icon Configurations I can override the default and remove one or both configurations from the selected test case.
You can select all your test cases in a test suite (using the std Microsoft selection hotkey) and then click Configurations to update a bunch at once.
I just added a new configuration named My Added Configuration. When I select the test case and click Configurations the Select Test Configurations opens. I then have to click All configurations and my view looks like display below:
If you do not click All configurations you will not see the newly added configuration(s). It’s a trick I know why not just show them all. Hey, were tester’s we should be enjoying the challenge!
Hope this help ..
Did you know that you have the option of either saving all Video Recording or just saving when you create a bug?
Check the Video Recorder configuration button and set up when you want to save recording plus the quality of the video.
The default is set to save all video recording.
In my last blog there where questions about how to assign or unassigned test cases to test configurations (browsers, operating systems).
How to manage test case/test configuration assignment:
- In the Plan Tab select a test suite then test case.
- In the Test Suite panel toolbar click on the Configurations button.
- The Select Test Configurations window opens where you can add and remove test configurations associated to a test case.
- Simply click button All configurations, all test configurations you have created are added to the test case.
- Next click in the test configuration cell to add or remove.
- Last, click the Apply Changes button.
Whether you add test configurations before or after setting up Test Suites and Test Cases you can manage test case assignment by using the Test Suite | Test Case, Configurations button.
Note: Test Suite/Test Cases are automatically assigned to all test configurations created prior to there own existence.However, if you create additional test configurations after creating Test Suites/Test Cases they are not automatically assigned. In this case you can assign using the above steps.
Thanks to Jeff Levinson (Team System, MVP) for helping out with this question.
Duplication of tests for configurations does have a flow that you need to be aware of …
- Test Configurations have to be set to active and selected in the Test Plan properties.
- Test Configurations set up prior to creating test cases are automatically duplicated for each configuration assigned to the test plan.
- Note: you have no ability to indicate which configurations affect which test cases. Therefore you will have to use the test case run status of “blocked”. If you leave “active” a tester would be able to run.
Adding a new test configurations to an existing Test Plan will not affect any existing Test Suites. ( I believe this is a bug and have reported it to Microsoft) However, if I add a new test suite and associate existing or new test cases to that suite all the Test Plan test configurations are used.
When I get an answer on whether this the correct behaviour or if there is a work around will post it.
If you need to test against different test configurations you are going to love Microsoft Test Manager.
Test Configurations are different setups that any application requires testing against. Example: Microsoft Test Manager would have been tested against different operating systems like XP, Vista, or Windows7. A web application may require testing against different browsers like IE7, IE8, Fire Fox, Chrome or Safari.
The ability to set up test configurations is only limited to your needs. One of the best features is the ability of Microsoft Test Manager to simulate a duplication of test cases for test configurations assigned to a test plan for test runs only.
It does require management to some extend however;
- it does save your team time in creating duplicate test cases or excel spreadsheets of what configurations will or have been tested.
- it is only really one instance of the test case so an changes affect all instances in the test run.
- the test plan documents what configurations will been tested and by which test cases.
There is significant savings to the test team for this feature to be one of the top.
Test Plan – test case shows once only.
Test tab >Run Tests – test case is shown for each test configuration set up in our test plan.
Over the next few blogs I will tell you more about Test Configurations and how they affect test cases and test runs.