Prerequisites
Existing Test Case
Select Test Case Persona and Environment
In order to run a test case, you need to have a Persona and an Environment selected. By default, Thunder code will select the QA engineer persona and the production environment (Note: there is no stable behavior here, I tried creating a second environment, and the runner selects an env randomly).
Note:
if you want to create a new environment, you can refer to this article [placeholder].
For more details about personas, you can find the list of available personas with their details in the personas list view [placeholder].
Change Browser Settings
Thunder code provides customizable browser settings, you can choose the browser, resolution and location to customize your Test Case execution. You can find all of these on top of the browser display in the Test Case view.
Bug Reports and Test Results
When you execute a Test Case, Thunder Code will execute your Test Steps one by one. During execution, each Test Step's status will be "running" until completion, at which point it will either pass or fail.
When a Test Step execution fails, Thunder Code generates bug reports that explain the failure. Each bug report includes:
Bug severity (medium, high, or critical)
Actual behavior vs expected behavior
Note: If Thunder Code detects a critical bug, it will immediately stop the Test Case execution. For medium or high severity bugs, the Test Step will be marked as failed and execution will continue.
Stop a Test Case
When a Test Case is being executed, you can stop the execution by clicking on the stop button that appears next to the execute button.
Note: Once you stop a Test Case execution, you'll have to restart the execution from the beginning by pressing the Execute button.