QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals › AI in testing

A QA-AI pipeline for a manual tester: from requirements to the report

A QA-AI pipeline splits work from requirements to report into stages, with a person checking AI output in between, as a mistake multiplies down a chain. Stages: requirements review, test analysis, techniques, test cases, data, bug reports, regression, report. Invented conditions are cut by checking against the requirement, and severity and priority stay human. Inputs hold no personal data, and coverage is measured against the requirements.

QA Fundamentals · AI in testing

You give AI a requirement and an hour later you have 60 test cases. Why is that not yet a result?

A one-off request "write cases" gives a heap of text in which invented rules are hard to find. A pipeline splits the work into stages with a person checking the output in between, so a mistake does not move on. How to write a separate prompt for test cases is covered in the lesson on prompts; here is how to assemble the steps into a working process for a manual tester with no code at all.

How it works and why. Each stage has the same shape: what goes in, what AI produces, what a person checks. The output of one approved stage becomes the input of the next. The reason is that mistakes multiply in a chain: an invented condition at the analysis stage turns into several cases, and those into data and a report. It is cheaper to stop it at once, where it is still visible. Another reason is that a person is responsible for each artefact, so they need intermediate results that can be read and not only a finished set at the end.

One stage: AI drafts, a person decides

AI draftsHuman decidesRequirement gapsAnalyst answersConditions, risksCheck vs sourceCases and dataSteps, bounds, dupesReport draftNumbers vs trackeronly approved output goes on
Figure 1. The check sits between stages and not only at the end.
StageInputAI producesA person checks
Requirement reviewrequirement textgaps, contradictions, questionsdo the questions follow from the text; the analyst answers, not AI
Test analysisapproved requirementstest conditions and riskscheck each condition against the requirement, remove inventions
Test design techniquesconditions and technique nameclasses, boundaries, decision tableboundaries by the requirement (off by one), completeness of combinations
Test casesconditions and a case templatecases by the templatesteps are executable, the result comes from the requirement, no duplicates
Test datafield rules and formatssynthetic valuesconform to the rules, no real data
Bug report draftnotes, steps, a cleaned loga title and a descriptionreproduce the defect, remove details that were not there; a person sets severity
Regression selectionchanges and the case cataloguewhich cases are affected and whymissed risk areas, the decision stays with a person
Reportresults and defectsa summary draftnumbers from the tracker, release risk assessment

Example: what a check between stages catches.

Requirement: "A transfer from 1 to 10,000 UAH. A daily limit of 20,000 UAH."
Stage 1, AI proposes questions:
  1. Are 1 and 10,000 included in the range?        <- from the text, keep
  2. Does a 5,000 limit apply to new users?          <- not in the requirement
Human decision: send question 1 to the analyst;
  drop question 2 because there is no 5,000 rule in the source.

Question 2 sounds reasonable, which is exactly why it is dangerous: had it gone further, cases for a 5,000 boundary would have appeared and the report would have shown a "covered" requirement that does not exist. A comparison with the source at stage one is cheap, and at stage five it would require untangling everything that grew from this invention. Each stage deserves a short checklist, like the column in the table above.

Where it lives without code. A library of prompt templates in a wiki or document: for each stage a role, an input, an output format and an example. Shared case and bug report templates so the result lands in the same fields as a person’s. Saved instructions in the tool, if it supports them, so the template is not pasted every time. A manual chain: the approved output is pasted into the next stage. Templates are versioned and improved from the mistakes found.

Limits and alternatives. A pipeline makes sense when there are enough requirements and cases for the routine to pay off. For one small change it is simpler to write the cases yourself. Not every stage has to be applied: in a fast sprint, requirement review and bug report drafts are enough. Inputs must be safe: no personal or real data, secrets or closed materials unless the company policy allows it, and only in approved tools (see the lesson on forbidden data). Coverage is measured against requirements, for example by a traceability matrix, and not by the number of cases.

Common mistakes.

  • Checking only the final result: an invented condition from stage one has already multiplied.
  • Letting AI answer the questions on requirements: the answers must come from the analyst or the product owner.
  • Treating "many cases" as coverage: AI readily repeats the obvious and skips what is missing.
  • Letting AI set severity and priority without checking: that is a person’s decision.
  • Not versioning templates: improvements are lost and results become incomparable.

Check yourself

At the test analysis stage AI added a condition "foreign cards support" that is not in the requirements. At which stage and how should it be found?

Answer

At that same stage: a person checks each condition against a specific item of the requirement. A condition without a source is either removed or turned into a question to the analyst and not into a rule.

Why should AI not be allowed to determine severity for bug report drafts?

Answer

Severity depends on impact, workarounds and product context that AI does not know, and the tester is responsible for the assessment. AI may suggest, but the decision is the person’s.

In an interview. Junior: A pipeline is a chain of stages from requirements to a report, where at each stage AI makes a draft and I check it before the next step. Real data and secrets do not go into it. Middle/Senior: For each stage I have a described input, template, output format and verification checklist, and the check sits between stages because a mistake in a chain multiplies. I cut invented rules by comparing with the source, the analyst answers questions on requirements, I measure coverage against requirements, and I leave severity and priority to a person. I version the templates and improve them from the mistakes.

More articles in this chapter