# QA automation without test scripts

Source: https://testis.dev/qa/qa-automation

> Test scripts compared with an AI tester: setup, maintenance, cost, speed and repeatability. When to use each, and how regression testing changes.

QA automation usually means test scripts: code that clicks through your app and checks the result. Scripts are precise and cheap to run. They also need writing and constant repair, and that is why so many suites end up abandoned. There is now another option: an AI tester that needs no script. Here is how they compare and when to use each.

## Scripts and AI testers compared

| | Test scripts (Playwright, Cypress, Selenium) | AI tester |
| --- | --- | --- |
| Setup | Someone writes each test | Requirements and a login |
| When the UI changes | Selectors and steps often break | It finds controls by what they do |
| Each run costs | Very little | AI model usage |
| Speed | Fast | Slower: minutes to tens of minutes |
| Repeats exactly | Yes, every time | No, results vary between runs |
| Finds what nobody wrote | No | Often, within what the requirements cover |
| Who can use it | People who can code | Anyone who can describe the app |

## When to use which

**Use scripts** when a flow must be pinned exactly, on every commit, in seconds. For example, the sign-in and payment path on a mature product.

**Use an AI tester** when you have little coverage, your interface changes often, nobody has time to maintain a suite, or you want to test all that your requirements promise and not just what someone scripted.

**Use both** when you can. A handful of fast scripts as a smoke test, and an AI tester for the broad pass on pull requests.

## Regression testing without saved tests

Traditional regression testing re-runs saved tests to catch what a change broke. An AI tester reaches the same goal differently: on each pull request it tests what the change touched against the requirements, looking at the real app each time. You give up exact repeatability, because each run uses a model and can vary. In exchange nothing rots, because nothing is saved.

## What good automation needs either way

- **Clean data for each run**, so a leftover cart from one test does not fail the next.
- **A login for each role**, so permissions are tested.
- **Clear requirements**, so "correct" is defined.
- **A rule about red.** If a failure can be ignored, all of them will be.
- **Safety limits**: never run against production data or with live payment keys.

## Testing APIs and command-line tools too

Automation is not only for browsers. Testis Dev uses the same tester for [HTTP APIs](/docs/api-testing), reading your OpenAPI file and chaining real requests, and for [command-line programs](/docs/cli-app-testing), including full-screen terminal interfaces, inside a sandbox.

## Try it

```bash
npm install -g @testisdev/cli
cd my-app
testis
```

Then say "test my app". The [quick start](/docs/quick-start) takes about five minutes, and web testing is [free with your own key](/pricing).

## Common questions

### What is codeless test automation?

Testing without writing test code. Older codeless tools record your clicks and replay them, so they can still break when the page changes. An AI tester has no recording to break: it works out the steps each time.

### Will AI testing make my CI slower?

It takes longer than a unit-test run. Testing only what a pull request changed keeps it shorter and cheaper, and you can set a time limit with `--minutes`.

### Can I use it alongside my Playwright tests?

Yes. Testis does not touch your existing tests. Many teams should keep their most important scripts and add an AI tester around them.
