On this page
AI test generation
Point the browser at a page and, from Test Lab's editor, ask for test cases about it. The AI reads the page and writes them. They land in your Test Library as ordinary test cases: you can edit them, run them with a test agent, and keep the result.
This does not run anything. Nothing is clicked, no verdict comes back, and no device is touched. For that, choose a test agent above the browser: it works on a real device and reports what it saw there.
What comes back
A test case, not a paragraph: a title, the steps in order, and what should be true at the end.
Test case · functional · high
Title Sign in with the wrong password shows an error
Steps 1. Open /login
2. Type a known username
3. Type a password that is not the right one
4. Press Sign in
Expect An error is shown and the URL is still /loginThe four types
regression
Checks that what worked before still works.
508 compliance
Accessibility: keyboard, ARIA labels, heading order, landmarks, screen-reader names.
usability
Navigation, wording and how much work the interface asks of a person.
performance
Load time and responsiveness of the page in front of it.
What happens to a case after it is written
Nothing, until you say so. A written case is text in your Test Library with no verdict against it, because nothing has run it. Run it with a test agent: it works the case out on the device you pick and records what happened. Generated code is never executed on our servers, so nothing a page or a model puts into a test can run there.
Which AI writes them
Writing cases from a page uses the key you add under Setup, Anthropic key, or one you add there for another provider: OpenAI, Gemini, or any OpenAI-compatible endpoint. The key is encrypted with AES-256-GCM and used only for your own work. Without one, xtest still writes cases from the page structure alone, and marks them as written without AI. A test agent is the other half and it is Claude only, whatever key is here: the toolsets it drives a device with exist on no other model.
[Academy courses]