3. Associate a Test Project With a Test Case (Run TestComplete Tests as Part of a Test Plan)

Applies to TestComplete 14.0, last modified on January 23, 2019

To run your TestComplete tests as part of your test plan, associate these tests with a test case in your team project:

  1. Add your TestComplete tests to a Visual Studio test project as described in Prepare Visual Studio Test Projects for Running TestComplete Tests.

  2. If you use Visual Studio 2015 or later, configure it to open work items in Visual Studio IDE rather than in your web browser:

    TestComplete integration with Visual Studio: Configuring Visual Studio to open work items in Visual Studio IDE
  3. Connect to the team project that contains the needed test cases.

  4. Open the test case with which you want to associate your TestComplete tests:

    • In the Team menu of Visual Studio, click Go to Work Item.

    • In the ID box of the ensuing Go to Work Item dialog, specify the ID number of the needed test case:

      TestComplete integration with Visual Studio: Go to Work Item dialog
    • Click OK to open the test case.

  5. Switch to the Associated Automation tab of the opened test case.

  6. In the Automated test name box, click the ellipsis button and select the needed test in the resulting dialog.

  7. The selected test will be assigned to the test case:

    TestComplete integration with Visual Studio: Associating TestComplete Test item with a test case
  8. Save the changes.

Prev     Next

See Also

Run TestComplete Tests as Part of a Test Plan
Preparing Visual Studio Test Projects for Running TestComplete Tests
Assigning Builds Containing TestComplete Tests to a Test Plan

Highlight search results