Select a category to see more related content
Software testing is evolving. Earlier, testers spent considerable time understanding requirements, writing test cases, preparing test data, executing test scenarios and reporting defects.
Automation testing made many repetitive activities faster. Tools such as Selenium and Playwright helped QA engineers automate browser interactions and regression testing.
Now, Generative AI is introducing another major opportunity for software testers.
Imagine receiving a new user story and asking an AI tool to generate positive and negative test scenarios. You can also ask it to review your Playwright automation script, explain an error, suggest API test cases or prepare a structured defect report.
These activities are becoming practical applications of AI in Quality Assurance.
Three popular AI platforms that QA professionals can explore are:
Each platform can assist with different software testing activities, depending on the task, available features and the quality of the instructions provided.
But an important question remains:
In this guide, we will explore practical use cases, ready-to-use AI prompts, examples and limitations to help manual testers, automation engineers and QA professionals work more effectively with Generative AI.
|
TL;DR:
|
Generative AI in software testing refers to using AI models to assist with activities such as test case creation, automation script development, test data generation, defect analysis and test documentation.
Instead of performing every activity manually, testers can provide requirements, application details or code to an AI tool and ask it to generate useful outputs.
For example:
A tester receives the following requirement:
"As a registered customer, I should be able to log in using a valid username and password."
The tester can ask an AI tool to generate:
The tester then reviews the output and uses the relevant scenarios in the testing process.
This approach can reduce repetitive work, but the tester remains responsible for accuracy and business validation.
Modern QA engineers need more than knowledge of manual testing and automation frameworks.
They also need to understand how AI can support their daily activities.
Here are some practical reasons to explore these tools:
Let's understand how each AI platform can help software testers.
ChatGPT is a conversational AI platform from OpenAI that can help QA professionals with requirement analysis, test case generation, coding assistance, documentation and data analysis.
It can also work with supported uploaded files, screenshots and structured data, depending on available tools and account capabilities.
One of the simplest ways to use ChatGPT is to generate test cases from business requirements.
Example requirement:
A registered user should be able to log in using a valid username and password.
Prompt to use:
"Act as an experienced manual QA tester. Analyse the following login requirement and generate 15 test cases covering positive, negative, boundary and validation scenarios.
For each test case, include:
Keep the test cases suitable for a real-world e-commerce application."
Expected benefit:
ChatGPT can generate a structured starting point for test case preparation. The tester can review the scenarios and add business-specific validations.
Automation testers can use ChatGPT to create and explain Playwright scripts.
Example task:
Automate the login functionality of the SauceDemo application using Playwright JavaScript.
Prompt to use:
"Act as a senior Playwright automation engineer.
Write a Playwright JavaScript test script for the SauceDemo login page.
Requirements:
Use Playwright's built-in locators and assertions. Explain the code step by step."
Expected benefit:
ChatGPT can generate a starting automation script and explain the purpose of locators, actions and assertions.
The automation engineer should execute the script and verify that the locators and expected results are correct.
Automation engineers frequently face errors such as:
Instead of spending time searching through multiple resources, testers can share the relevant code and error message with ChatGPT.
Prompt to use:
"Act as a Playwright debugging expert. Analyse the following JavaScript Playwright code and error message.
Identify:
Do not change the existing test structure unless necessary."
This makes ChatGPT useful as a coding assistant for automation testers.
ChatGPT can also help analyse structured test execution data.
For example, a tester can upload an Excel or CSV file containing:
Prompt to use:
"Analyse this test execution report. Identify the total number of executed, passed, failed and blocked test cases. Calculate the pass percentage and summarise the major testing observations."
ChatGPT supports analysis of compatible spreadsheets and can produce tables, charts and calculated summaries. Official guide: ChatGPT Data Analysis.
A tester can provide an observed application issue and ask ChatGPT to prepare a structured defect report.
Prompt to use:
"Create a professional Jira defect report for the following issue:
Application: E-commerce website.
Issue: User can proceed to checkout even when the shopping cart is empty.
Include bug title, environment, preconditions, steps to reproduce, expected result, actual result, severity and priority.
Do not invent technical root causes."
Claude is an AI assistant developed by Anthropic. It can help developers and QA engineers understand code, review automation scripts, generate tests and work through complex coding tasks.
Claude is particularly useful to explore when you need detailed code review, reasoning about a codebase or assistance with test-driven development workflows.
Suppose you have created a Playwright Page Object Model framework with separate page classes and test files.
You want to check whether the code follows a clean structure.
Prompt to use:
"Act as a senior automation architect.
Review the following Playwright JavaScript Page Object Model framework.
Check:
Suggest improvements without unnecessarily changing the existing framework."
Expected benefit:
Claude can review the supplied code and provide suggestions to improve readability, organisation and maintainability.
Claude can assist with creating test cases based on existing functions and expected input/output behaviour.
Example:
Consider a JavaScript function that calculates the final shopping cart amount after applying a discount.
Prompt to use:
"Review the following JavaScript function and generate unit test cases.
Cover:
Provide expected outputs for each test case and explain the boundary conditions."
This is helpful for QA engineers who work with developers on unit and integration testing.
An automation script may execute successfully but still fail to cover important scenarios.
Claude can help review the existing tests and identify missing validations.
Prompt to use:
"Act as an experienced QA automation engineer.
Review the following Playwright test script for an e-commerce checkout workflow.
Identify missing positive scenarios, negative scenarios, validation checks and edge cases.
Do not assume that a test is complete just because it passes. Explain the additional coverage required."
Test-driven development involves writing tests before implementing the functionality.
Claude Code can support this workflow by helping developers create tests, run them, inspect failures and iterate on implementation.
A practical workflow is:
Provide the required functionality.
Anthropic also documents this test-first workflow in its Claude Code Best Practices.
When joining an existing project, QA engineers may need to understand unfamiliar code.
Prompt to use:
"Explain the following Playwright JavaScript automation code.
Describe:
Explain it in simple language suitable for a tester with a manual testing background."
This is particularly useful for testers transitioning into automation.
Gemini is Google's AI platform. It can help QA professionals understand technical content, analyse uploaded files, work with code and prepare testing documentation.
Gemini Apps support uploading compatible documents, spreadsheets, notebooks, images and other files for analysis, subject to applicable limits and account availability.
Software testers frequently receive Business Requirement Documents (BRD), Software Requirement Specifications (SRS) and user stories.
Reading lengthy documents and identifying testing requirements can take time.
Gemini can help analyse uploaded requirement documents.
Prompt to use:
"Act as a senior business analyst and software tester.
Analyse the uploaded SRS document for an e-commerce application.
Identify:
Present the output in a structured table."
Expected benefit:
Gemini can help summarise lengthy documents and organise testing requirements for further review.
Testers often require different data combinations to validate application functionality.
For example, a registration module may require valid and invalid customer information.
Prompt to use:
"Generate 20 sample test data records for an e-commerce customer registration module.
Include:
Include valid and invalid combinations. Use synthetic data only."
The generated data can be reviewed and imported into an approved test environment.
Visual understanding is important during manual testing.
A tester can upload supported screenshots and ask Gemini to identify visible UI elements and potential inconsistencies.
Prompt to use:
"Analyse this uploaded login page screenshot from a manual testing perspective.
Identify:
Do not assume that a visual issue is a confirmed functional defect."
QA engineers frequently prepare test plans, test summaries and execution reports.
Gemini can help organise information into structured documents.
Prompt to use:
"Prepare a software test summary report using the following execution details.
Total Test Cases: 100
Passed: 80
Failed: 10
Blocked: 5
Not Executed: 5
Include execution summary, pass percentage, failure observations, testing risks and recommendations.
Use a professional QA reporting format."
Gemini can also help explain JavaScript functions, review automation scripts and understand code uploaded as part of a supported workflow.
Prompt to use:
"Explain this JavaScript Playwright code in simple language.
Identify the purpose of each function, locator, assertion and browser action. Also suggest possible improvements in code readability and maintainability."
For more advanced development workflows, Gemini's developer ecosystem also provides API-based tools, function calling and agent-building capabilities. Gemini API Documentation.
All three platforms can support QA activities, but their usefulness depends on the task, the available features and how effectively the tester provides context.
Here is a practical comparison.
| Testing activity | ChatGPT | Claude | Gemini |
|---|---|---|---|
| Test case generation | Yes | Yes | Yes |
| Requirement analysis | Yes | Yes | Yes |
| Playwright code assistance | Yes | Yes | Yes |
| Code review | Yes | Yes | Yes |
| Debugging assistance | Yes | Yes | Yes |
| Test data generation | Yes | Yes | Yes |
| Screenshot analysis | Supported | Supported | Supported |
| Spreadsheet analysis | Supported | Supported | Supported |
| Test documentation | Yes | Yes | Yes |
| API testing assistance | Yes | Yes | Yes |
Which one should you choose?
These are suggested starting points, not exclusive capabilities. All three platforms overlap considerably, and actual features depend on the selected model, product version, account and available tools.
Let's understand how QA engineers can use ChatGPT, Claude and Gemini together in one testing project.
Consider an e-commerce application with the following modules:
Instead of using all three AI tools for the same activity, assign each a specific task.
Upload the application requirements and ask Gemini to identify functional requirements, business rules and possible testing scenarios.
Provide the identified requirements to ChatGPT and generate detailed positive, negative and boundary-value test cases.
Share the Playwright JavaScript automation code and ask Claude to review locators, assertions, reusability and code quality.
Execute the approved automation scripts using Playwright in your testing environment.
Remember, asking an AI chatbot to generate code is different from actually executing the tests. Execution requires a configured testing environment or an appropriately integrated tool.
Share relevant failure messages, screenshots and logs. Ask ChatGPT to help investigate possible causes and prepare a defect report.
Use the reviewed execution results to prepare a test summary report with pass percentage, failed cases, defect references and remaining risks.
This workflow demonstrates how different AI assistants can support a single QA project.
The quality of an AI response depends significantly on the clarity of the instruction.
Instead of writing a short prompt such as "Generate test cases", provide the AI with a role, context, requirement, expected output and constraints.
Here are five reusable prompts.
Prompt 1: Manual Testing
"Act as a senior manual tester. Analyse the following requirement and generate positive, negative and boundary-value test scenarios. Include test steps and expected results."
Prompt 2: Playwright Automation
"Act as a Playwright JavaScript automation engineer. Write an automation script for the given application scenario using reliable locators and Playwright assertions. Explain the code."
Prompt 3: API Testing
"Act as an API testing expert. Analyse the following API endpoint and generate test scenarios covering valid requests, invalid inputs, authentication, response codes and data validation."
Prompt 4: Defect Analysis
"Act as an experienced QA engineer. Analyse the following error message and execution evidence. Suggest possible root causes, investigation steps and a professional defect report. Do not assume an unverified cause."
Prompt 5: Regression Testing
"Analyse the following application changes and existing test cases. Recommend which regression scenarios should be prioritised and explain why."
Although ChatGPT, Claude and Gemini can support testing activities, QA professionals should not blindly trust every AI-generated response.
There are some important limitations to understand.
1. AI Can Generate Incorrect Test Cases
AI may misunderstand business requirements or miss important edge cases. Always validate generated scenarios.
2. Generated Automation Code May Not Execute Successfully
A generated Playwright script may contain incorrect locators, unsupported methods or missing setup. Execute and debug the code before using it.
3. AI May Suggest Incorrect Root Causes
An error message may have multiple possible explanations. Use application logs, execution traces and technical evidence to confirm the actual cause.
4. Confidential Project Data Must Be Protected
Do not upload production credentials, customer information, confidential requirements, source code or internal project documents to public AI services without proper organisational approval.
Follow your company's AI usage policy, data protection requirements and approved account settings.
5. Human Testing Knowledge Is Still Essential
AI can assist with test creation and analysis, but testers must understand business requirements, validate expected behaviour and make quality-related decisions.
If you are a manual tester or automation engineer planning to upgrade your skills, follow a structured learning path.
Step 1: Learn Manual Testing Fundamentals
Understand SDLC, STLC, test design techniques, defect lifecycle, Agile methodology and test documentation.
Step 2: Learn Programming Fundamentals
Develop a foundation in JavaScript or Python to understand automation scripts and debugging.
Step 3: Learn Automation Testing
Explore Playwright or Selenium and practise automating real-world application workflows.
Step 4: Learn API Testing
Understand REST APIs, HTTP methods, status codes, request and response validation, and API automation.
Step 5: Explore Generative AI
Practise using ChatGPT, Claude and Gemini for test case generation, code assistance, documentation and defect analysis.
Step 6: Build a Practical QA Project
Combine manual testing, UI automation, API testing and AI-assisted testing in an e-commerce or banking application.
This combination can help you develop the skills required for modern QA and Quality Engineering roles.
Generative AI is creating new opportunities for software testing professionals to improve their technical capabilities.
Manual testers, automation engineers and freshers can start exploring AI-assisted testing to understand how modern QA workflows are evolving.
If you are searching for AI testing training in Pune, software testing courses in Mumbai or AI-powered QA training in India, look for programmes that combine testing fundamentals with practical automation and Generative AI applications.
At TestoMeter Edutech, the learning approach focuses on developing practical software testing and automation skills.
Training areas include:
The goal is to help learners understand not only how to use AI tools but also how to apply them correctly in real-world software testing projects.
Explore available learning programmes:
Website: https://www.testometer.co.in/
ChatGPT, Claude and Gemini are changing how software testers approach everyday testing activities.
From generating test cases and reviewing Playwright scripts to analysing requirements, preparing test data and investigating defects, these AI platforms can become useful assistants in a QA engineer's workflow.
However, learning AI tools should not replace your understanding of software testing.
A successful QA professional needs strong fundamentals, logical thinking, automation knowledge and the ability to validate application behaviour.
Start with one AI tool, practise with real testing scenarios and gradually explore the capabilities of other platforms.
Don't just learn AI tools. Learn how to use AI intelligently to improve software quality.
TestoMeter Edutech – Learn. Certify. Implement. Thrive.
Answer: ChatGPT can help software testers generate test cases, prepare test data, write Playwright automation scripts, debug errors, analyse test execution reports and create defect documentation. Testers should validate all generated outputs before using them.
Answer: Yes. Claude can assist with generating, reviewing and explaining automation scripts in languages such as JavaScript and Python. It can also help QA engineers review Playwright code and identify possible improvements.
Answer: Gemini can assist manual testers with analysing requirements, generating test scenarios, preparing test data, understanding screenshots and creating testing documentation. Supported file-upload capabilities can also help analyse requirement documents and spreadsheets.
Answer: There is no single best tool for every testing activity. ChatGPT, Claude and Gemini all support test generation, coding assistance and documentation. The right choice depends on the testing task, model capabilities, integrations and project requirements.
Answer: Yes. AI assistants can analyse supported uploaded SRS documents and suggest functional, negative, boundary-value and validation scenarios. Testers must review the generated scenarios against actual business requirements.
Answer: Yes. ChatGPT can generate and explain Playwright scripts using JavaScript or other supported programming languages. The generated code must be executed and validated in the actual testing environment.
Answer: AI can assist with repetitive activities such as test case preparation and documentation, but manual testers are still important for exploratory testing, business understanding, usability evaluation, risk assessment and validating application behaviour.
Answer: Basic AI-assisted activities such as test case generation and documentation do not necessarily require coding. However, JavaScript, Python or another programming language is valuable for automation development, debugging and advanced QA workflows.
Answer: Yes. They can help generate API test scenarios, explain HTTP methods, prepare sample request payloads, review response structures and suggest negative testing conditions. Actual API execution and validation should be performed using suitable testing tools.
Answer: A tester should understand manual testing fundamentals, programming, Playwright or Selenium automation, API testing, Generative AI tools and practical QA project workflows. Learning how to validate AI-generated outputs is also essential.
Confused between CSM, PSM I and SAFe Scrum Master certifications? Compare eligibility, exam patterns, benefits and career opportunities in India.
Discover 9 AI testing tools to learn before 2027. Explore AI-powered test automation, self-healing tests, visual testing and future QA skills.
TestoMeter is now a PMI Authorized Training Partner in India. Explore PMP certification training, expert-led sessions, and online weekend batches.
Explore 20 powerful Playwright features every QA engineer should know, including auto-waiting, locators, fixtures, POM, API testing, debugging and CI/CD.
Learn how Agentic AI transforms software testing with real-world examples, Playwright automation, API testing, benefits, risks, and QA career skills in India.