Running & Debugging Tests
Last updated
Once you have written a test case, you can run it to validate execution and identify issues..
There are two types of test run available in TF Automate:
Local run
Run the test on the cloud
To execute tests locally, ensure:
Utilities Pack is installed
Test Runner is running on your machine
The Test Runner runs in the background and connects automatically when a test starts.
Open your test case in the Editor
Click the Local Run button
The test execution will start immediately
The test runs in headless mode
The Preview panel (right side) shows real-time execution
The Execution Log appears in the Debug Console
The current step is highlighted as it runs
Even though tests run in headless mode, you can visually follow the execution in real time.
By default, tests run in Dry Run mode
You can switch to Debug mode anytime during execution
Debug controls will appear in the Debug Console
Debug mode allows you to pause, inspect, and control test execution step-by-step.
It helps you quickly identify why a test is failing and fix issues faster.
Click STOP at any time
The test execution will terminate immediately
The Test Runner is a lightweight background application.
No interaction is required once the Test Runner is started
You can safely minimize it and continue working
If it is closed accidentally:
Reopen it via system search (e.g., “Test Runner”)
Local Run → Executes test using your machine
Preview Panel → Real-time visual execution
Execution Log → Step-by-step results
Debug Mode → Optional control during execution
Remote execution runs your tests using TestFirst cloud or self-hosted runners. Click the Cloud run button next to local run button,
Test runs in the background (no live preview)
Execution logs are available
Screenshots are captured for all steps
You may see:
"Initializing runner… This may take a while"
If a self-hosted runner is available it is used
Otherwise TestFirst cloud runner is used
Remote runs are typically used for test plan execution and CI/CD scenarios.
Last updated

