Katalon logo
Google Sheets logo

Workflow template

Log finished Katalon test runs in Google Sheets

Log finished Katalon test runs in Google Sheets. Record the run ID, name, lifecycle stage, test outcome, start and end times and project ID as seven RAW values.

How it works

From a terminal Katalon run to a test-results register

1 Trigger · 1 Action
Katalon1 · Trigger

Test Run Finished

After an initial baseline, poll the selected Katalon project for finished runs. Terminal stages COMPLETED, TERMINATE, ERROR and CANCELLED require an end time; stage and test outcome remain distinct.

Google Sheets2 · Action

Append test run to register

Append run ID, name, stage, status, start time, end time and project ID into A–G of your selected worksheet. Use RAW and INSERT_ROWS so formula-looking names stay text.

The result

A seven-column register separating stage from test outcome

Suggested A–G headers in the prepared mapping order; add labels yourself if wanted.
Run IDNameLifecycle stageTest outcomeStart timeEnd timeProject ID
1001FICTIONAL example runCOMPLETEDPASSED2026-11-01T10:00:00Z2026-11-01T10:00:01ZFICTIONAL_PROJECT_ID

Fictional run. COMPLETED is a lifecycle stage, not proof that tests passed; inspect Test outcome separately. The append action uses an existing spreadsheet and worksheet.

Before activation

Set up your workflow

  1. Connect Katalon and review the project

    Select the Katalon connection and review its default project. Optionally override the project in Trigger Configure. Keep Test Run Finished as the source.

  2. Choose the Sheets register

    Connect Google Sheets and select the destination spreadsheet and worksheet. Reserve A–G for the seven fields and optionally add the displayed headers. Keep RAW and INSERT_ROWS enabled, and protect access to run metadata.

  3. Let the baseline finish before testing a new run

    Activate and allow the first poll to establish a baseline. Finish a run in a dedicated test project, then compare its stage, outcome and timestamps with the appended row. The run must have a terminal stage and an end time.

Details and limitations
  • Finished and passed mean different things. COMPLETED, TERMINATE, ERROR and CANCELLED are eligible terminal stages when an end time is present. A COMPLETED run can still have a non-passing test outcome; both values are logged separately.

  • The first poll does not backfill old runs. Existing runs establish the baseline. Later qualifying finishes are observed by polling. Detection is best effort under concurrent page changes, so this register is not an exhaustive audit guarantee. Pausing stops polling.

  • The sheet is an append-only destination. RAW input preserves names beginning with an equals sign as text. The action does not create the spreadsheet or its headers, update old rows or look up an existing run row; manual reruns can append duplicates.

Questions about this template

Does COMPLETED mean the tests passed?

No. COMPLETED is a lifecycle stage. The run’s status is logged as Test outcome, separately from the lifecycle stage, so inspect that column to determine the result.

Which runs are considered finished?

The source accepts COMPLETED, TERMINATE, ERROR and CANCELLED stages with an end time. The first poll establishes a baseline instead of importing existing runs.

Can I use a project other than the connection’s default?

Yes. Optionally override the Katalon project in Trigger Configure before activation. Check the logged Project ID to confirm the selected scope.

Are formula-looking names evaluated in Sheets?

The prepared action uses RAW input, so names beginning with an equals sign stay text. Keep that setting. The register appends rows and does not deduplicate manual reruns.

Explore connected apps