How does AI help in QA's work?
AI helps where a result can be produced quickly and checked just as quickly: test cases, data, SQL, regexes, code and logs. Where the truth depends on product knowledge, risks and team decisions, AI only offers options. Its output is a draft that QA checks against the requirements and answers for, and customer data and secrets are not passed to it.
QA Fundamentals · AI in testing
You get 12 pages of requirements and need test cases by lunch. What goes to AI and what does not?
On Monday a new twelve-page requirement arrives, and the release is on Wednesday. You can write cases from scratch by hand, or give the document to AI and get fifty lines in a minute. The second option is tempting but risky: someone has to answer whether those lines match the requirements. This lesson is about where AI really helps QA, where it only creates the look of help, and how to choose what to hand over.
How it works and why. An LLM is good at transforming text and drafting it: it retells, structures, offers options and finds template gaps. It is weak where the truth lies outside the request text: what your product really does, what the business risk is, what the team decided in a meeting. Hence a simple selection criterion: how quickly and cheaply the result can be checked. If the check is a run (SQL, a regex, test data, automated test code), delegating is safe, because a mistake shows up fast. If the check is knowledge of the context (requirements, risks, priorities), AI only offers options, and the decision and the responsibility stay with the human.
Where an AI result is checked quickly and where not
Data, SQL, regexes, code
Run it and see whether it works. The error shows within minutes, so the risk is small and the time saving is real.
Requirements, risks, priorities
There is nothing to run: a plausible mistake is visible only to someone who knows the product. Here AI advises rather than decides.
| Task | What AI does | What QA checks |
|---|---|---|
| Requirements analysis | Finds ambiguities and gaps, words the questions | Whether the questions follow from the text; the analyst or PO answers |
| Test design | A draft of cases and checklists, boundaries, negative scenarios | Match with requirements, duplicates, risk-based priorities |
| Test data | Synthetic JSON, CSV, sets of invalid values | Field formats and rules; the data is made up only |
| Bugs | Structures notes, analyses a stack trace or a log | Facts: steps, environment, expected result from the requirement |
| Automation | Drafts of tests, locators, SQL, regexes | A run, code review, that the test fails on broken code |
| Documentation | A test plan, a report, release notes from a task list | Numbers and facts from primary sources |
Example: AI as a requirements reviewer. Instead of "write test cases" QA asks to find what the requirement lacks. The input and the result (an AI draft, an illustration):
Requirement: "A user can transfer an amount within the limit.
The fee is charged to the sender. The transfer is executed immediately."
Questions about the requirement (an AI draft, an illustration):
1. Is the limit per operation or per day? In which currency?
2. Does the fee count towards the limit?
3. "Immediately": does the transfer finish in the request or is
there a pending status?
4. What if the amount plus the fee is larger than the balance?
5. What does the sender see if the recipient's card is blocked?
Here AI did what QA does in a requirement review, only faster: it noticed the missing answers. But the check stays human. QA looks at whether each question really follows from the text (question 5 about a blocked card is not mentioned in the requirement, it is an extension, and it may be relevant or not). The answers come from the analyst or the PO, not from the model: otherwise the model invents the rules. This kind of result is cheap to check and expensive to miss, which is why it is one of the most useful scenarios.
Limits and alternatives. The time saving depends on the task and is not guaranteed: if the draft has to be rewritten, it was faster to write it yourself. Do not hand AI what needs exploratory thinking about a particular product: it will return obvious happy-path cases. Customer data and secrets are not passed to external tools (a separate lesson covers this). Besides chat assistants there are editor assistants, agents that run commands on their own, and features built into trackers; the more independently a tool acts, the more important it is to limit its permissions and review its changes. Some tasks are better solved by a deterministic tool: a data generator, a linter, a quick script.
Common mistakes.
- Taking generated cases as final: they can contain made-up rules and duplicates and few hard scenarios, and they look more complete than they are.
- Asking "write test cases" instead of "find the gaps": the first gives fluff, the second often gives the most valuable part.
- Not running the code of an automated test: a test can never fail because it checks nothing.
- Giving AI the decision about priorities or about whether to release: that is the responsibility of a person who knows the business risks.
- Pasting real user data into a chat to make it "more realistic".
Check yourself
You quickly need 200 test values of phone numbers in different formats and a list of mandatory questions about a payment requirement. Which is safer to delegate to AI without a detailed review, and why?
Answer
The phone values: they are checked by running them against a validator or a regex, and a mistake shows fast. The questions about the payment requirement need product and risk knowledge, so AI gives a draft and QA decides which questions really matter. The first is safer, the second needs a careful human check.
AI proposed six cases for a login form, all about a right and a wrong password. Why is that a signal and not "normal"?
Answer
These are cases from the obvious happy path and a simple negative. Deeper scenarios are missing: lockout after attempts, concurrent sessions, case, special characters, behaviour on a network failure. Either refine the request or add them yourself. Coverage from AI without additions is rarely complete.