5. Run TestComplete Tests and View Test Results

Applies to TestComplete 14.10, last modified on June 5, 2019

After you have configured a release pipeline, you can create a release for a build. Your TestComplete tests will run during the release deployment.

Requirements

Computers where your TestComplete tests will run must have the following software installed:

  • If you use Visual Studio Test tasks to run tests:

    Build and Release Agent for Windows.

    If you use Run Functional Tests tasks to run tests (available for Team Foundation Server 2015 Update 2–2017 On-Premises):

    Test Agent for Microsoft Visual Studio.

    Note: You can use the Visual Studio Test Agent Deployment task to install the test agent. To learn about the requirements the remote computers where the test engine will be installed must meet, see the task description.

    The build or test agent must be running as an interactive process so that TestComplete can interact with the desktop and with the tested application's UI.

  • TestComplete 14 (or TestExecute 14).

  • TestComplete 14 Visual Studio Integration Package.

    The Integration Package installer is shipped along with TestComplete. You can find it in the TestComplete folder after installing the product:

    <TestComplete 14>\VS Integration\VSIntegration.exe

    Run this installer after installing TestComplete on your build computer or test agent computers. In the installation wizard, select a Test Agent Integration feature appropriate to your agent version.

Create a Release

  1. Open the web portal of your team project. You can navigate to your web portal directly in your web browser or open it from Visual Studio Team Explorer.

  2. If you use Azure DevOps Services, Azure DevOps Server 2019, or Team Foundation Server 2018, navigate to the Pipelines > Releases page.

    If you use Team Foundation Server 2015 Update 2–2017, navigate to the Build & Release > Releases page.

  3. Select the needed release pipeline and then click Create a release:

    TestComplete integration with Visual Studio: Deploying a release

    Click the image to enlarge it.

  4. In the resulting dialog, select a build that you want to deploy:

    TestComplete integration with Visual Studio: Configure a release

    Click the image to enlarge it.

    Click Create to create a release.

  5. On the Releases page, view the release status. You can click the release to view detailed information on the deployment status of each of its stages:

    TestComplete integration with Visual Studio: View release progress

    Click the image to enlarge it.

View Test Results

  1. After the release is over, view the release status:

    TestComplete integration with Visual Studio: View release status

    Click the image to enlarge it.

  2. Click a status to view its detailed logs:

    TestComplete integration with Visual Studio: View release status

    Click the image to enlarge it.

  3. Switch to the Tests page to view test results:

    TestComplete integration with Visual Studio: View test results

    Click the image to enlarge it.

  4. Select the needed test and click the link in the Attachment section to open or save the attached TestComplete test log:

    TestComplete integration with Visual Studio: View attached TestComplete log

    Click the image to enlarge it.

If a test run fails, check whether your TestComplete project files that your release uses reside in the folder, where your test agents can access them, and that TestComplete (or TestExecute) is installed on the computers, where your tests run.

Prev

See Also

Run TestComplete Tests as Part of Release Pipeline
Defining a Release Process

Highlight search results