Use AI to expand and organise your thinking. Keep requirements, sensitive data, execution and final decisions under human control.
AI can help a tester produce a first draft, consider an overlooked scenario or understand unfamiliar code. Its usefulness depends on the context you provide and the review you perform. A fluent answer can still contain invented rules, invalid code or irrelevant tests.
Start with a small task whose result you can evaluate. You should be able to explain why an AI suggestion is correct before adding it to a test plan or automation suite.
- Give clear boundaries
- Review the suggestions
- Test the useful ideas
Choose tasks with reviewable outputs
Useful starting tasks include turning a sanitised requirement into candidate test ideas, grouping duplicate cases, improving the clarity of a bug report and explaining a short code example. Keep the output narrow enough to compare with a known source of truth.
Avoid asking AI to certify that an application is secure or ready for release. Those conclusions require evidence from an agreed assessment. Similarly, a generated test is not an executed test: it may contain an incorrect selector, unsupported API or assertion that verifies the wrong behaviour.
Give requirements and boundaries
Tell the model the feature's rules, user goal and known constraints. Explicitly distinguish facts from unresolved questions. Ask it to mark assumptions and explain the risk behind each proposed case. This makes omissions and unsupported claims easier to spot.
Use invented data or information approved for the tool. Removing a name may not make a log safe if it still contains tokens, identifiers or private business information. Follow your organisation's tool and data policies before submitting code, screenshots or documents.
A focused practice prompt
For this fictional booking form, a group can contain 1–6 people and only future dates are allowed. Suggest eight distinct test ideas. For each, give the risk, input and expected result. Do not invent cancellation or payment rules. Put missing requirements in a separate list of questions.
Review the answer before using it
Check every proposed expectation against the actual requirement. Look for duplicates, missing boundaries and assumptions disguised as facts. Ask whether the test would detect a meaningful failure and whether its data can be set up safely.
For generated code, inspect dependencies, selectors, assertions and any network or file operations. Run it only in an authorised test environment, then deliberately change the expected outcome to confirm that the check can fail. A permanently green test can be as misleading as a noisy failing one.
- Is each expected result supported by a requirement?
- Does each case investigate a distinct risk?
- Can I explain the code and its external effects?
- Does execution produce inspectable evidence?
- What still needs human investigation?
Treat external content as data
A document or message supplied to an AI system can contain instructions attempting to change its behaviour. OWASP identifies prompt injection and sensitive information disclosure among risks associated with large language model applications. This matters when a tool reads external tickets, pages or attachments.
Keep permissions limited and require review for actions with external effects. A test assistant that can draft a report does not automatically need permission to publish it, delete data or run production commands. Separate generation from execution, and record who approved consequential actions.
Further reading: OWASP: Top 10 for Large Language Model Applications
Measure the useful result
Compare a small task with and without AI. Include the time spent reviewing, correcting and executing the result. If the draft is fast but introduces mistakes you struggle to detect, the workflow needs adjustment. Speed alone is not a quality improvement.
Keep a record of which prompts and checks were useful for your work. As your understanding grows, use AI for more demanding tasks while keeping the evidence standard unchanged. The goal is to produce better testing decisions and clearer communication, with you able to explain both.
Review an AI-generated test plan
- Use a fictional requirement with clear limits
- Generate a small set of candidate tests
- Mark unsupported expectations, duplicates and missing risks
- Execute selected checks and compare the evidence with the original draft
Build these skills with support
Explore live courses with guided practice, projects and space for questions.
Create Your AccountOur practical examples are learning exercises. References are linked beside the relevant sections. Course fees, schedules and access terms are maintained on the course pages. Tell us if something needs correcting.



