Team Foundation Server 2010 along with Visual Studio 2010 and a new tool called Test Manager 2010 has done Manual Test case authoring and management really easy. There are no more .mht files to manage and no more test lists to be created for execution. Manual test case creation and management does not even need a test project to be created.
You can create/author Manual Test case by multiple ways and places -
From Test Manager 2010
To do so, you first connect to the TFS server that you are working with. Once connected you can create a new test case just like creating any other workitem in TFS. Go to “Organize” tab and select “Test case Manager”. You will see all the tests under that team project. You can “New” to add a new manual test case.
Important fields –
- Title of the test case,
- area that maps to the feature areas in the application under development,
- state can be design / ready / closed,
- priority for the test case
Other fields like Automation status can be used to identify test case as manual or automated and is useful if you plan to automate in future.
The next important section is Steps. Lets see steps in more detail -
- You can write step and its expected result in the steps section,
- You can write a common step, or set of common steps by creating “Shared steps”. Shared steps can be added to other tests. You may want to write common things like – launching of application under test, logging in to the application, closing the application as shared steps that you know you will require in many other tests,
- The normal step or shared step can be parameterized – you can actually make your manual test data independent or can make a single test case to be executed against a set of data over iterations. Again, common things here could be application url, login credentials or any test data that you want to use during the test.
- You can also attach a file to the step – like a document for reference or a screen shot.
This is pretty much all you need, click Save and close and you are done.
You can attach a test case to the user story right when you are creating it by going to “Tested user stories” tab and adding a link to the user story(s) being tested by that test case. Bugs can be attached/linked to the test case by using “All links” tab. If you have automated test case, you can link the test case to the automated test method from the associated automation tab, will go here in deep later.
Other places to edit / create manual test case from are -
From Visual Studio 2010
This can be done by creating a new test case from the team menu – just like adding any other workitem,
REMEMBER – You can not edit test steps from Visual Studio interface, you have to have test manager installed to do that.
From Test Plan
You can add test case right from the test plan view -
( 1 Vote )
| Comments |
|



























