Scripts (Script-to-Test Case Conversion)
When to Use Script-to-Test Case Conversion: Use this feature when you have existing automation test scripts and want to automatically convert them into structured, execution-ready test cases within Walnut.
Supported Scripts: Playwright (.ts, .js, .spec.ts, .spec.js)
Steps to Generate:
Select Scripts: Click the Scripts option under the Generate Test Cases section.

Upload: Drag and drop Playwright script files or click Upload to select script files from your local device.

Click Analyse Scripts to allow Walnut AI to process the uploaded files.

AI Analysis: Walnut AI analyses the uploaded scripts to extract step definitions, step-level actions, assertions (automatically converted into validations), and variables (converted into parameters where applicable).

Review & Refine: Review the generated test cases and refine them using the Walnut AI Chatbot to enhance steps, validations, and scenarios if required.

Save: Click Save to store the generated test cases in the system.

Result: Saved Test Cases will appear in the Test Case Module reflected accordingly.
Last updated

