- •Tester guide
- •Version.1.0
- •Notions
- •Installation of applications
- •Performing manual testing
- •Configure Test Plan for manual testing
- •Running manual test
- •Running automated tests
- •Configure Test Plan for automated testing
- •Migrate Test-Cases and Requirements to mtm (tfs)
- •Getting Started in Microsoft Test Manager 2013
- •Creating a Test Plan
- •Creating a Test-Case
- •Inserting shared steps to a Test-Case.
- •Automate a test case
- •Recording your actions during a test run
- •If you make a mistake
- •If the test includes shared steps
- •If the steps include parameters
- •7.2.2. Link Coded ui test with Test-Case
- •7.2.2.1 Generate Coded ui test from a Test-Case
- •7.2.2.2 Add Coded ui test to Source Control
- •7.2.2.3 Coded ui test and Test-Case
- •Create Build Definition Step 1. Create a new build Definition
- •Setting a lab environment in mtm Lab Center
- •8.1. Create a lab environment
- •Create a release Build
- •Create a release template
- •Queue a Release Build
- •Coded ui Test
- •Creating a new Coded ui Test Project
- •Data Driven Coded ui test
Migrate Test-Cases and Requirements to mtm (tfs)
From main menu, select Connect Tab and click TFS Tests.
From the presented list, choose necessary Test-Cases and Requirements to import to TFS.
Note: If checkbox Omit Empty Test Steps is checked, then steps that have empty procedure/inputs and expected results won’t be imported to MTM.
Click Servers… button and add a TFS server.
Select a Team Project from Team Project Collections.
Click “Create Test Plan” to create a new Test Plan that will be created in MTM on which Test-Cases and requirements will be uploaded.
Getting Started in Microsoft Test Manager 2013
Creating a Test Plan
Open Microsoft Test Manager and add Team Foundation Server.
Connect to the TFS project.
Click “Add” to add the Test Plan and select created test plan.
To switch from a test plan to another, click on Test Plan.
Creating a Test-Case
In Plan tab, select a test-suite and click New button.
Name the test case, and add Steps to perform during the test and if necessary Expected Result.
There are sequences such as logging that can occur in many test cases. To avoid having to enter these sequences again and again, create shared steps.
Creating a Shared Step
Select necessary steps and create a shared step.
Type the name of the Share Step and click OK. The share step will be created as follow
Double click the share step to see all the steps within.
Share steps can be added to different Test-Cases.
Inserting shared steps to a Test-Case.
To insert a shared step click Insert shared steps.
In the search window choose search parameters and click Run.
Performing manual testing
Configure Test Plan for manual testing
In the Testing Center click on the Properties.
Under the Manual Runs: in the Test settings combobox choose <New…>.
Complete the name of the configuration and leave the Manual type of test.
All other steps can be left with default parameters so now we just click Finish.
Under the Builds: in the Filter for builds: we can specify a Build Definition that will be assigned to the Test Plan.
Click Save and Close.
Running manual test
In the Testing Center of MTM, click on the Test tab, select Active Test-Case and click Run.
Click Start Test.
Perform step instruction for the first step and click Pass if the step passed.
For every step in Test-Case perform described actions and mark Test step result.
Click “End iteration” and “Save and Close button”.
If all steps where marked as successful, then the test will be marked as passed.
Running automated tests
Configure Test Plan for automated testing
Note: Before configuring an Automated Test Plan, you must create Environment from Lab Center (Create a lab Environment).
In the Testing Center click on the Properties.
Under the Automated runs: in the Test settings combobox choose <New…>.
Complete the name of the configuration and select the Automated type of test.
Choose the Environment and select the Web Client Role to run automated tests.
For each role in the test environment select needed data to collect, or actions to perform on the system. For more information, click here.
You can pass this step in case if you don’t need to collect data from automated test.
Advanced and Summary step can be omitted and therefore click Finish button.
In the Test environment choose existing environment.
