- •Abbreviations, acronyms and notions used in the Information system Abbreviations and acronyms
- •Notions
- •Migrate Test-Cases and Requirements to mtm (tfs)
- •Performing manual test
- •Running automated tests Configure Test Plan for automated testing
- •If the steps include parameters
- •Link Coded ui test with Test-Case Generate Coded ui test from a Test-Case
- •Add Coded ui test to Source Control
- •Automate a test case
- •Recording your actions during a test run
- •If you make a mistake
- •If the test includes shared steps
- •Coded ui test and Test-Case
- •Create Build Definition Setting a lab environment in mtm
- •Installing Test controller
- •Create a lab environment
- •Installing Test Agent
- •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
- •Installation
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.
Microsoft Test Manager 2013
Download http://www.microsoft.com/en-us/download/details.aspx?id=40786 installation and install Test Manager.
Note: Visual Studio Ultimate 2013 itself contains Microsoft Test Manager 2013, so no installation is required.
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.
Running 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.
Performing 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.
