Main / Case studies / AI QA Test Automation

Scaling QA with AI: Generating Test Cases and Automating Testing in MMC

A two-person QA team supporting a complex marketing automation platform turned to Claude to take on the repetitive parts of testing. The model was given full context of the product, including the codebase, existing test cases, and documentation, and learned to generate new test cases directly from user stories. Paired with Playwright, it now runs those tests in an emulator and compiles a results report, leaving the testers free to focus on judgment calls and edge cases.

Source: AI-generated image

Challenge

MMC is a marketing automation product serving around 30 clients, each with its own customizations. Quality assurance rested on a team of just two manual testers – a setup under growing strain, as covering every client-specific configuration by hand became increasingly difficult to sustain.

The team needed a way to automate and simplify the testers’ work without compromising coverage: a tool that could take on the repetitive parts of test design and execution, freeing the QA specialists to focus on judgment and edge cases. Two areas stood out – the manual authoring of test cases and the hands-on execution of regression runs.

About the Project

MMC is an enterprise marketing automation platform built and maintained for a German marketing agency with a complex organizational structure and over 155 people. The product is actively used across roughly 30 clients, each with bespoke customizations that QA must validate.

Full project background is available in the original case study: MMC – Marketing Automation Software

Region
Germany
QA Team
2 manual testers
Clients covered
~30
Stage
Ongoing
Model
Claude

Existing QA Setup

Before introducing AI, the team had already built a mature manual QA process. Test cases are stored in TestRail, linked to Jira through a plugin, and the team makes full use of TestRail’s capabilities – including milestones for regression testing and release management. This solid foundation made the process a strong candidate for selective automation rather than a rebuild.

Solution

The team assembled a dedicated project context for the model, supplying it with everything needed to reason about the product: the indexed frontend and backend repositories, the existing test cases exported from TestRail in Excel format, and access to the team’s Confluence and internal wiki. Each source served a distinct purpose – the code gave the model structural and behavioral knowledge of the system, the exported test cases provided a concrete example of the team’s testing conventions and level of detail, and Confluence supplied the product requirements and domain context needed to evaluate correctness. The goal was to give the AI the fullest possible picture of the product rather than relying on requirements alone.

On top of this context, the team defined a reusable skill for test-case generation. The input is a user story from the current sprint plan; the output is a structured set of test cases formatted to match the team’s TestRail conventions – including preconditions, steps, and expected results – ready for import or manual review. The model draws on its knowledge of the codebase, requirements, and existing test examples simultaneously, producing cases that are consistent with both the product’s behavior and the team’s established writing style. This alone removed a significant amount of manual authoring effort from the QA workflow.

The second path extends automation into execution. Claude is paired with a Playwright plugin: generated test cases are passed to the model, which opens the application in an emulator, runs the scenarios step by step, and compiles a structured report of results. This closes the loop from story to verified outcome without requiring manual test execution for routine regression scenarios.

  1. Building the context Code, test cases, documentation
  2. Generating test cases From a user story via a skill
  3. Automated test run Claude + Playwright in an emulator
  4. Results report Structured output

Key Development Stages

Want to cut the routine out of your QA process the same way? Book a consultation and we'll walk through your workflow and show where AI can take over the repetitive parts.

Key Benefits

Frequently Asked Questions

How does AI help generate test cases for QA?

The model takes a user story from the sprint plan and, drawing on the indexed product codebase, Confluence documentation, and existing TestRail cases, produces a structured set of test cases with preconditions, steps, and expected results. The output already matches the team's conventions, so it's ready for import or manual review without rework.

Can AI automate test execution as well as authoring?

Yes. Generated test cases are passed to Claude paired with a Playwright plugin, which opens the application in an emulator, runs the scenarios step by step, and compiles a report of results. This closes the loop from user story to verified outcome without manual regression runs.

How many testers does it take to cover a product with dozens of client configurations?

In this case, a two-person QA team manually covered around 30 clients, each with its own customizations. With AI-generated test cases, the same team keeps pace with a workload that would otherwise require a much larger QA staff.

Does AI replace testers entirely?

No. AI takes on the repetitive parts: writing test cases and running regressions. Testers stay responsible for quality, reviewing generated cases, handling edge cases, and validating the results of automated runs.

What tools are needed to set up this kind of AI-QA workflow?

The case used TestRail for test case storage, Jira for task tracking, Confluence as the source of requirements, and Claude with Playwright for generation and execution. The key factor isn't the specific tool stack, but feeding the model complete, well-structured context: code, documentation, and examples of existing test cases.