Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Tester Guide1+Add On1 .docx
Скачиваний:
1
Добавлен:
01.07.2025
Размер:
4 Мб
Скачать
☆
    1. Migrate Test-Cases and Requirements to mtm (tfs)

  1. From main menu, select Connect Tab and click TFS Tests.

  1. 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.

  1. Click Servers… button and add a TFS server.

  1. Select a Team Project from Team Project Collections.

  2. 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.

  1. Getting Started in Microsoft Test Manager 2013

    1. Creating a Test Plan

  1. Open Microsoft Test Manager and add Team Foundation Server.

  1. Connect to the TFS project.

  2. Click “Add” to add the Test Plan and select created test plan.

To switch from a test plan to another, click on Test Plan.

    1. Creating a Test-Case

  1. In Plan tab, select a test-suite and click New button.

  1. 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

  1. Select necessary steps and create a shared step.

  1. Type the name of the Share Step and click OK. The share step will be created as follow

  1. 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.

  1. To insert a shared step click Insert shared steps.

  1. In the search window choose search parameters and click Run.

  1. Performing manual testing

    1. Configure Test Plan for manual testing

  1. In the Testing Center click on the Properties.

  1. Under the Manual Runs: in the Test settings combobox choose <New…>.

  1. Complete the name of the configuration and leave the Manual type of test.

  1. 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.

  1. Click Save and Close.

    1. Running manual test

  1. In the Testing Center of MTM, click on the Test tab, select Active Test-Case and click Run.

  1. Click Start Test.

  2. Perform step instruction for the first step and click Pass if the step passed.

  1. For every step in Test-Case perform described actions and mark Test step result.

  2. Click “End iteration” and “Save and Close button”.

If all steps where marked as successful, then the test will be marked as passed.

  1. Running automated tests

    1. Configure Test Plan for automated testing

Note: Before configuring an Automated Test Plan, you must create Environment from Lab Center (Create a lab Environment).

  1. In the Testing Center click on the Properties.

  1. Under the Automated runs: in the Test settings combobox choose <New…>.

  1. Complete the name of the configuration and select the Automated type of test.

  1. Choose the Environment and select the Web Client Role to run automated tests.

  1. 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.

  1. Advanced and Summary step can be omitted and therefore click Finish button.

  2. In the Test environment choose existing environment.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]