Skip to content

Test with AI

Every check of your checklist comes with an automated test — Playwright for websites, Maestro for phone apps — and a run plays those tests on your app with no AI. The AI only writes a test that is missing or out of date, and does the few checks a test cannot. Each pass or fail lands on your board, with the last screen as evidence.

Before you start

  • An app in qarunbook with a test checklist.
  • For a website: its address online (a staging site is fine). For a phone app: a Limrun account, or your own computer with a simulator, an emulator or a phone plugged in.
  • A little money in your AI credit (Billing, AI testing) for the parts the AI does. Tests themselves cost nothing: see below.

Run it

  1. In qarunbook

    Press Run tests

    On the app's board, press Run tests, or Run tests on one section or one check. Pick what to test and which platforms; several platforms run side by side.

  2. In qarunbook

    Answer what it asks, once

    A platform that isn't set up asks a few questions, one at a time: where it should run, and where your app comes from. Each has Not sure which? with a plain explanation. A platform that is set up asks nothing.

  3. In qarunbook

    Watch, or come back later

    The run opens beside your board: the check it's on and every step on the left, the live screen on the right. When a check ends, its last screen shows there. Results fill in on the board as each check finishes.

Where it can run

Websites

  • Your computer: a fresh, private browser for every check, signed out, on your connected computer, so it can also reach sites only your network can (staging, localhost). See Connect your computer.
  • GitHub Actions, on each push: the same tests on GitHub's machines every time code is pushed, with no computer of yours on. They reach addresses that are online, not localhost. See Run on every push.

How a website check works

Each check runs its own Playwright test, the kind developers write for their own sites, exactly as written: no AI, nothing to pay. It signs in with your saved test accounts by name and reads the check's test inbox for codes and links, so no password or code is ever in a test.

  • The test passes or fails: that is the result. A fail raises an issue, as one found by a person would.
  • The test can't find a button because your app changed: it is rewritten there and then from the page as it is, kept for next time, and run again. Your app is never failed for a test being out of date.
  • A check has no test yet: the run doesn't start. It names the checks, so their tests can be written from your code first (your assistant connected to qarunbook does this). A run only starts when every check in it has its test. Sign-in and onboarding run first, and a run stops itself when three checks in a row can't get past the sign-in, five in a row can't be checked for any reason, or most of the checks done can't be checked. A run that can't test your app doesn't keep going.
  • The method is the same for every assistant. Whether it connects through the MCP, the API or the plugin, it is told the method when it connects and qarunbook holds it to it: tests written from your code first, sign-in and test data proven, sign-in and onboarding run first, then the rest, and every couldn't-check fixed by its cause before a rerun. The steps that can be checked are enforced, not suggested.
  • Every test is checked before it is saved. The assistant writing it walks each step against your screen's code (scrolled into view, no dialog or keyboard in the way, words that appear once) and says so for every assertion. qarunbook refuses a test that skips that check, or that breaks a rule of Playwright, Cypress or Maestro it can see for itself (a fixed wait, a CSS selector, a password in the test), and names the rule.
  • A test can't do it faithfully (how something looks, data only a person would judge): the AI tester does that check itself, still through Playwright. Playwright gives it the page as text, every button and field by name; it picks the next one and Playwright does exactly that. When the check is about looks, it takes one picture of the screen and judges it. Passwords on the page are blanked before the AI sees it.
  • Nobody automated can (a camera, a real payment, a text message): the check is left for a person, saying why.

There is nothing to set up for Playwright itself:

  1. In Your terminal

    On your computer: connect it once

    Follow Connect your computer below. The helper installs Playwright and its own Chromium browser by itself, apart from your everyday Chrome, and keeps them up to date. Runs go to your computer when it is on.

  2. In qarunbook

    Or on GitHub: add it once

    Follow Run on every push below. GitHub's machine sets up Playwright and its browser at the start of each job.

  3. In Your terminal

    Linux only: browser libraries, once

    If website checks on a Linux computer say the browser could not start, run the line the helper printed when it was installed (sudo … playwright install-deps chromium). macOS and Windows need nothing more.

Phone apps

The device is yours

qarunbook runs the test; it does not lend phones. Use a device you already have, through the helper on your computer (an iPhone simulator, an Android emulator, or a real phone plugged in), or, with no device to hand, Limrun's phones in the cloud on your own Limrun account, from about $0.04 a minute for Android and $0.08 for iPhone, billed by Limrun.
  • Limrun: real Android phones and iPhones in the cloud, fresh for every run, driven from your connected computer. Paste your Limrun API key once. Limrun bills you for the minutes used.
  • A simulator on your computer: an iPhone simulator (needs a Mac with Xcode) or an Android emulator (any computer with Android Studio). Needs the helper.
  • Your own phone: a real phone plugged into your computer by cable. Needs the helper. An Android phone needs USB debugging on; an iPhone needs a Mac and a one-time setup, below.

Your app comes from a file you upload once (an .apk, or a zipped iOS Simulator build), is built from your connected GitHub repository before each run, or is already on the phone.

Phone tests with Maestro

Each check of your checklist comes with a Maestro flow for its phone platforms, written with the checklist. Maestro, the open-source tool mobile teams use for automated tests, runs the flow on your emulator, plugged-in phone or iPhone simulator exactly as written, with no AI. As on the web, a flow that no longer matches your app is rewritten from the screen and run again, a missing one is written first, and only a check a flow cannot do goes to the AI tester, which works through Maestro too.

  1. In Your terminal

    Connect the computer your phones are on

    Follow Connect your computer below on the computer with Android Studio (an emulator, or a phone plugged in with USB debugging on) or, for iPhone, a Mac with Xcode and a simulator.

  2. In qarunbook

    Wait for Maestro to say ready

    Nothing to install yourself: the helper sets up Maestro and the Java it needs by itself, once, in its own folder (a few minutes, about 600 MB). Test configuration, Computers shows Phone tests (Maestro): ready when it is done. A Maestro you already have is used as it is.

  3. In qarunbook

    Run

    Press Run tests for a phone platform. Every check runs its flow; the AI only writes or rewrites a flow, or does a check a flow cannot.

  • Maestro drives Android emulators, plugged-in Android phones, iPhone simulators on a Mac, and Limrun's Android phones and iPhones. An iPhone plugged into a Mac runs the same flows through maestro-runner (DeviceLab, open source), which the helper sets up by itself the first time.
  • Flows find buttons by the words on screen and by test ids. Giving important buttons a testID (React Native) or a Semantics label (Flutter) makes them sturdier.
  • To run the flows yourself, download them from App configuration, Checks, Download automated tests, then maestro test maestro/<section>/<REF>.yaml.

Connect your computer

The helper is a small program that runs tests on your computer: in its own browser, and on your simulators, emulators and phones. It works on macOS, Windows and Linux, needs no administrator password, and starts by itself when you log in.

  1. In qarunbook

    Get your line

    When a choice needs your computer, qarunbook says so and shows Show my connection line; or open App configuration, Test configuration, Connected computers, Connect a computer. Pick Mac, Windows or Linux.

  2. In Your terminal

    Paste it

    On a Mac, open Terminal; on Windows, PowerShell; on Linux, a terminal. Paste the line and press Enter. It takes about two minutes. qarunbook notices by itself and carries on.

A real iPhone

A real iPhone runs its checks' Maestro flows with no AI, like a simulator. The first time, qarunbook shows a short checklist; the phone stays plugged into the Mac by cable while it is tested. Each step ticks itself as soon as your Mac sees it done:

  1. Connect your iPhone to the Mac with a cable, unlock it, and tap Trust. After that, the same Wi-Fi is enough.
  2. Turn on Developer Mode: Settings › Privacy & Security › Developer Mode, then let the phone restart.
  3. Sign in to Xcode (free from the Mac App Store): Xcode › Settings › Accounts, then + and your Apple ID. A free Apple ID works.
  4. Press Set up my iPhone. We put Apple's testing app on the phone, signed with your Apple account. A few minutes the first time; keep the phone unlocked. If the phone asks, trust the developer under Settings › General › VPN & Device Management.

Your app goes on the iPhone the usual way (TestFlight, the App Store or Xcode) and you pick it from the list, or you upload an .ipa built for that phone and the helper installs it.

Only your workspace

A connected computer only ever gets your workspace's tests, and only while it's on. The line works once, for 15 minutes. To stop, choose Disconnect under Connected computers.

Run on every push

Your website and API tests can run on GitHub's machines each time code is pushed, with no computer of yours on. The run shows live in qarunbook like any other, results land on the board, and the GitHub job fails when a check fails. As with every run, only checks still to test and retests run. Phone apps need a connected computer for now.

  1. In qarunbook

    Make a key

    Test configuration, Run on push, Add to GitHub Actions. The key is shown once, with the workflow file to add.

  2. In qarunbook

    Add both to your repository

    On GitHub, save the key as a repository secret named QARUNBOOK_TOKEN, and add the workflow file as .github/workflows/qarunbook.yml. Push it: the next push runs your tests.

Only this app

A key only ever starts and runs its own app's tests. Remove it under Run on push to stop.

What it costs

Running tests costs nothing: no AI runs them. Only the AI's parts are paid for, from AI credit: writing a test that is missing or out of date, and doing a check a test cannot. On your own AI it is free and unlimited, and at $0 credit nothing runs on qarunbook's AI until you add some. The workspace owner adds money to the AI credit under Billing, AI testing (by card, through Stripe), and each check the AI worked on takes its price from it:

  • On qarunbook's AI, what the AI used for that check plus 50% — usually well under 2¢, never less than 0.5¢.
  • 1¢ a check when your workspace uses its own AI key; the AI itself is then on your own provider's bill.
  • Checks settled by their test, and API checks, are free.

A run that needs the AI and that the balance cannot cover is not started, and says how much it needs. The balance never expires. Limrun minutes are billed by Limrun, not by us.

Use your own AI

By default the AI's parts run on qarunbook's AI, with nothing to set up. If your team must use its own AI account, for example because only an approved provider may see your app, connect your own key: your pages and screens then go only to your provider.

  1. In qarunbook

    Open Which AI runs your checks

    In App configuration, Test configuration, choose Your own AI key. An admin or owner of the workspace can change it; it applies to every app in the workspace.

  2. In your provider

    Get a key

    OpenRouter is the easiest: one key reaches every listed model. OpenAI and Google Gemini work directly. A company provider that accepts OpenAI-style requests (such as Azure OpenAI) goes under Another provider.

  3. In qarunbook

    Pick a model, paste the key, Check and save

    The AI tester needs a model that can also see screens, so pick one from the list. Before saving, qarunbook sends the model one small screenshot: a wrong key, an empty account or a model that cannot see screens is said there and then.

When your provider says no

If your provider refuses the key, runs out of credit or doesn't offer the model, the run stops and says so in plain words, naming your provider. Those checks show as not run and take nothing from your balance. Switch back to qarunbook's AI at any time; your key stays saved.

What you get back

  • Passed or Failed on the board, with the last screen as evidence. A fail raises an issue with what the test expected and what was there.
  • Couldn't check when the check couldn't reach its starting point (a saved login that doesn't work, data that isn't there) or needs something no automation has, such as a camera or a second phone. It never guesses: those are left for a person, saying why.
  • Each check's test, kept up to date as your app changes, to view or download, and what the AI's parts cost.

Something unclear or missing? Write to [email protected].