Sharing Test Results

Applies to TestComplete 15.45, last modified on December 01, 2022

In software development, sharing test results is a common task. For example, your colleagues may want to know how the nightly smoke test was going, or your manager may want to view the test results statistics. To share test results, you can:

  • Export test results to an external file and send the file to your teammates. See Exporting Test Results.

  • Upload test results to our online storage and send the link to it to your teammates.

How to share reports

From TestComplete IDE

  1. In your project, select the test log to share.

  2. Right-click the log item in the Project Explorer and then click Share.

    – or –

    Open the log and click Share on the toolbar.

  3. In the resulting Share Selected Log dialog, configure the sharing settings:

    • Enter the name of the resulting shared log.

    • Select the storage period.

      When the storage period expires, the test log will be deleted and no longer be available.

    • To include Test Visualizer images to the shared log, select the Include Visualizer images check box.

      Note: The Test Visualizer images take extra space.

    • Click OK.

    Sharing TestComplete test logs from the Project Explorer

    Click the image to enlarge it.

  4. TestComplete will generate a web version of the test log, upload it to the storage, and then open the shared test log in your default web browser. Copy the resulting link from the web browser navigation bar and send it to your recipient:

    Copy the link to the shared test log

    Click the image to enlarge it.

From command line

To share test logs when running automated tests in unattended mode from the command line, use the /ShareResults:File_To_Save_URL command-line argument. TestComplete will upload the test results to our online storage and save the resulting link to the specified file:

TestComplete.exe "C:\My Projects\MySuite.pjs" /run /p:MyProj /ShareResults:"C:\Logs\shared-log.txt"

Note: If the specified file already exists, TestComplete will not share the log and report an error. It will not overwrite the file.

By default, the name of the shared results report is based on the log item name, and it will be available for two weeks. To specify a custom name for the report and the number of days during which it will be available, use the /SharedResultsName:Name and /SharedResultsExpireIn:Days command-line arguments. You can make the shared results available for 1 day, for 7 days, or for 14 days. Any other periods are not available.

TestComplete.exe "C:\My Projects\MySuite.pjs" /run /p:MyProj /ShareResults:"C:\Logs\shared-log.txt" /SharedResultsName:NewTestResults /SharedResultsExpireIn:7

Viewing shared logs

Open the generated link in a web browser:

Viewing shared test logs

Click the image to enlarge it.

Shared test results contain data similar to data that test log panels show in TestComplete.

Security

To share logs, TestComplete connects to the sharereports.smartbear.com service via HTTPS. The traffic is secured.

Requirements and limitations

  • TestComplete version 15.30.

  • Your computer must have access to the following web service:

    https://sharereports.smartbear.com

    Access to this web service is required for both uploading and viewing test results.

    If you have firewalls or proxies running in your network, they should allow accessing the web service as well.

  • The total size of a single test log to share cannot exceed 500 MB.

  • When sharing a test log, you specify the storage period (see above). The log will be available until it expires.

  • Canceling log sharing is not supported.

  • Now, the number of logs you can share is not limited. This may change in the future.

See Also

Test Results
Exporting Test Results

Highlight search results