Getting TestComplete Test Results

Applies to TestComplete 15.63, last modified on April 23, 2024

In Bamboo, when you run TestComplete tests as part of a build plan, you can get TestComplete test results as build artifacts:

  1. Use the SessionCreator utility to run TestComplete tests and export their results to:

    • HTML or HTM files

    • MHT files

    • tcLogX files

    For example, the following batch script runs a TestComplete project and exports the test results to an MHT file:

    SessionCreator.exe RunTest /UserName:Tester /Password:mypassword1 /ProjectPath:"${bamboo.build.working.directory}\TestProject1\TestProject1.mds" /p:TestProject1 /ExportLog:"${bamboo.build.working.directory}\TestResults\Log.mht"

    – or –

    Configure your TestComplete tests to pack their results and place them in the needed location on your Bamboo agent. You can do this by using the slPacker object that allows packing the generated test results to a single archive. See Archiving Results From Tests

  2. Configure the job that runs TestComplete tests to get TestComplete test results as build artifacts:

    Running TestComplete tests from Bamboo: Configuring build to collect test results

    Click the image to enlarge it.

After you run the build, open the Artifacts tabbed page of the job that runs TestComplete tests and get test results:

Running TestComplete tests from Bamboo: Viewing test results

Click the image to enlarge it.

See Also

Integration With Bamboo
Exporting Test Results
Archiving Results From Tests
Exporting Test Results

Highlight search results