For the complete documentation index, see llms.txt. This page is also available as Markdown.

Debug a Test Case in Smart Recording

What is Debugging a Test Case?

In Smart Recording, the Debug feature allows you to validate a test case before saving it. Once the AI generates the test case based on the provided prompt and the required steps are recorded, you can use Debug to execute the entire test case and verify that the recorded steps, actions, and parameters work as expected.

During debugging, the recorded steps and parameters remain visible. The live screen in the current window is disabled, and the test case is launched in a separate browser window for execution.

Steps to Debug a Test Case

  • Record the required test steps using either AI Recording or Manual Recording in Smart Recording.

  • Once the test case is generated. Click the Debug button available in the top-left corner of the screen. Set breakpoints at the required steps to pause the execution and inspect the test flow.

  • While debugging, the test case opens in a separate browser window. The steps and parameters remain visible, while the Chat panel and Live Screen are closed.

  • You can make changes to the test case while debugging. This includes modifying steps, actions, parameters, test data, and other required configurations. These changes can be made to correct or refine the test flow before saving it

For detailed information on modifying individual test steps, refer to Manage a Test Step.

  • Click a parameter and select Write with AI to generate test data for the selected parameter. Provide the required context or instructions, and WalnutAI will generate the corresponding test data for use during test execution.

  • Once the test case has been successfully validated and any required corrections have been made, save the test case for future execution.

Last updated