Documentation Index
Fetch the complete documentation index at: https://documentation.litmuscheck.com/llms.txt
Use this file to discover all available pages before exploring further.
Argument
- Prompt: This feature accepts a plain, human-language prompt and converts it into one or more executable test steps.
1. Perform a Complete End-to-End Test
Use this method to generate an entire test flow, like a login, purchase, or user-registration, all from a single prompt.- Begin by adding the “Go to url” instruction to load the starting page for your test.
- In the “Tell Agent what to do” field, write a detailed, multi-step prompt that describes the entire test.
Example: “Enter ‘standard_user’ as username and ‘secret_sauce’ as Password, click login. Then, select any product and complete the checkout process.”
- The AI will execute these steps in the compose mode.
- After the execution is complete, you can add the generated steps to your test. This automatically converts the AI’s actions into a permanent, reusable Playwright script, so you don’t need to use the prompt again for this test.
2. Perform Partial Actions
Use this method when you are already halfway through writing a test and want the AI to perform the next one or two actions.- While building your test, simply use the “Tell Agent what to do” field.
- Provide a specific, single-action prompt.
Example: “Find the ‘Add’ CTA under the ‘Today’ section and click on it.”
- The AI will find the element, perform the action, and show you the code or element it used for the operation. You can then add this single step to your test.