Skip to main content

Generate automated tests with TestPak extension

This document introduces the TestPak extension and explains how to use it to convert manual tests to automated tests.

Requirements
  • You have an active TrueTest license.
  • You have an active TestOps license.
  • TrueTest has been configured in the relevant Application Under Test (AUT). If not, refer to this configuration guide: Configure TrueTest Agent.

The TestPak Extension is a Chrome add-on that allows QA testers to capture user interactions during executing manual test cases within their application under test (AUT). These actions from the manual execution will convert to automated test cases.

This workflow ensures that manual testing feeds directly into automation, shortening the time needed to build automated test coverage.

How it works

As manual testers execute their regular test cases via TestOps, the TrueTest AI engine runs in the background, observing and capturing each action. At the end of a test run, you can convert passed manual test cases into automated test scripts. These scripts are:

  • Automatically linked to the original manual test cases for full traceability and coverage tracking.
  • Built using the existing TrueTest’s test object repository and common functions.
  • Maintained by TrueTest, reducing script maintenance effort.

You can also filter the data by those manual execution sessions only when creating user journey maps.


First, you’ll create a manual test run in TestOps, then install the TestPak extension, and finally execute your test cases. Follow the guide below.

Create a manual test run

  1. In TestOps home page, go to Executions. The Executions list appears by default.
  2. Click + Create > Create Manual Test Run.
  3. Fill in the details for your test:
    • Test Run Name: The name of the test run
    • Executor: This is set to the current user by default
    • Environment (optional): Select test environment with TrueTest enabled
    • Release Version: The associated release
    • Test Suites: The test suites to be included in the test run
    • Configurations: The configurations to be used in the test run

Install TestPak extension

  1. Click Save > Run Now to launch the test. If you selected Chrome in Configurations, the Enable Test Session Recording dialog will appear.
  2. Click Install Extension to direct to the Chrome web store page.
  3. Add the TestPak Extension to your browser. A side panel will confirm the installation is complete.

Execute test cases

  1. Return to TestOps and click Start.
  2. The AUT will launch in Chrome alongside the TestPak panel displaying the current test case details:
    • Test Case ID & Name
    • Test Case Results
    • Test Steps and Expected Results
  3. Follow the test steps in the AUT as written.
  4. Compare actual behavior with the Expected Results and mark each step as Pass or Fail accordingly.
  5. When done, click Next Test Case to continue.

Generate automated tests

  1. Once the test run is finished, TestOps will display a prompt to generate automated test cases.
  2. Select the manual test cases you want to convert to automated.
  3. Click Generate.
  4. A snackbar will confirm that automation generation has started.

Next Steps

  • Review your generated automated test cases in TrueTest.
Was this page helpful?