Skip to main content

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.

info

This feature is available as a paid add on for Enterprise users. Contact us to learn more.

Prerequisites

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.

WorkflowDescription
Low-Code WorkflowUse 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 WorkflowUse 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

WorkflowDescriptionReference
Generate Your Test CaseCreate 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 ScriptConvert 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 CasesView, 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 CasesRun 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 SuitesAdd 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 SuiteRun 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 RunsSchedule 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 ResultsReview 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