Skip to main content

Watching the AI Explore

Every test script TestFlair generates starts with its AI working through the test case in a real browser against your application. With the live view, you can watch that browser while it happens, next to a log of every action the AI takes.

What you're watching​

  1. You generate a script
  2. Cloud browser opens the test case URL
  3. AIAI performs a step and checks the resultRepeats for every step of the test case
  4. CheckpointStep passed: on to the next step. Wrong turn: back to the last checkpoint.
  5. Recording of verified steps
  6. OutcomeScript written from the recording
The AI moves from checkpoint to checkpoint; a wrong turn sends it back to the last step that passed.

What the stream shows is the exploration described in How a script is made: the AI carries out each step of the test case, checks the expected result, and records what worked. The script is then written from that recording.

Opening the live view​

  1. Generate a script from the Test Cases tab. See Test Scripts.
  2. On the Test Scripts tab, a generating card shows a maximize icon with a red recording dot. A tip points it out the first time.
  3. Click the icon (or the card) to open the generation details.
AreaWhat it shows
Agent ThinkingWhat the AI plans to do next, in plain words
Stream tabThe live browser, next to the Action Log (each action with a tick if it worked or a cross if it didn't) and the Generation Logs
Logs tabThe full generation log
Code tabThe code, once it has been written

The live view is for watching only; you can't click into the browser to help the AI.

When generation ends, the browser closes and the Stream tab shows Browser session has ended. The Action Log, logs and code stay available from Generation details in the card's menu.

Stopping​

If you can see the AI heading the wrong way (for example, the test case's URL or test data is wrong), click Stop in the generation details or in the card's menu. Flairs already used are not refunded. Fix the test case, then Regenerate.

Testing local apps​

The browser runs in TestFlair's cloud, so your app has to be reachable from the internet. For an app on localhost or inside a VPN, set up a tunnel first. See Testing local applications.

How this differs from running a script​

Generating (this page)Running a script
Who drives the browserTestFlair's AI, step by stepYour generated Selenium or Playwright code
What you seeThe live browser, Action Log, Agent ThinkingLive logs, then a video of the run
CostsFlairs, as part of script generationNothing

Next Steps​