Overview
Sauce Labs has introduced AI-powered capabilities for Test Authoring, allowing you to create automated test cases using natural-language prompts. Sauce AI for Test Authoring understands your instructions, interacts with your web or mobile application in real-time, and generates structured, editable test cases that can be reviewed, refined, saved, and run across supported browsers, virtual devices, and real devices.
This feature is available as a paid add on for Enterprise users. Contact us to learn more.
Prerequisites
-
You must have a Sauce Labs Enterprise account to access the tool.
-
You must have available Real Device Concurrency or Virtual Device Concurrency to generate and run test cases.
-
For native mobile app testing, you must upload your Android or iOS application builds to App Management before creating test cases.
Available Test Authoring Experiences
You can use Sauce AI for Test Authoring through either the Sauce Labs user interface or the AI Test Authoring API, depending on your preferred workflow.
| Workflow | Description |
|---|---|
| Low-Code Workflow | Use the Test Authoring UI in the Sauce Labs platform to generate, review, edit, save, organize, schedule, and run test cases without writing any code. |
| Programmatic Workflow | Use the AI Test Authoring API, MCP, or IDE plugins to generate, manage, and execute AI-authored tests from your development tools, editor, or CI/CD pipeline. Generate test code for supported automation frameworks so it integrates seamlessly with your existing repository and development workflow. The same capabilities available in the UI, including test generation, management, and execution, are also available through these programmatic interfaces. |
Test Authoring Workflow
| Workflow | Description | Reference |
|---|---|---|
| Generate Your Test Case | Create AI-generated test cases by describing your testing scenario in natural language. Sauce AI for Test Authoring interprets your instructions and generates a structured, editable test flow that you can review before execution. | See more |
| Generate the Test Script | Convert your saved AI-generated test case into an executable automation script. Choose your preferred programming language and supported automation framework to integrate the test into your existing automation workflow. | See more |
| Manage Your Test Cases | View, organize, search, edit, duplicate, or delete your existing test cases. You can also refine test flows using natural-language prompts and keep your test library organized as it grows. | See more |
| Run Your Test Cases | Run individual test cases across supported browsers, operating systems, virtual devices, and real devices. Monitor test execution progress and review results. | See more |
| Create and Manage Test Suites | Add and organize related test cases into reusable test suites based on features, workflows, or testing objectives. You can create, update, rename, and maintain test suites from a single location. | See more |
| Run Your Test Suite | Run all test cases contained within a test suite as a single automated test run. Each test case runs using its configured browser, platform, and device settings, making it easy to validate complete application workflows. | See more |
| Schedule Your Test Runs | Schedule test cases or test suites to run automatically at a specified date and time or on a recurring schedule, helping you automate regression, smoke, and continuous testing workflows. | See more |
| View Your Test Results | Review detailed test execution results, including test status, videos, screenshots, logs, network data, metadata, and other debugging artifacts to analyze test behavior and troubleshoot failures. | See more |