Saturday, June 20, 2026

How SDETs Can Use AI Agents, MCP & LLMs in Daily Work: A Practical Guide

 The software testing industry is undergoing a massive transformation. Just a few years ago, automation engineers focused on writing Selenium scripts, creating frameworks, and maintaining test suites. Today, a new wave of technologies—LLMs (Large Language Models), AI Agents, and MCP (Model Context Protocol)—is changing how quality engineering works.

Many engineers hear these terms daily but struggle to understand how they fit into real-world testing activities.

This article breaks down these concepts using simple examples and shows how SDETs can leverage them to become more productive, strategic, and future-ready.




The Evolution of Software Testing

Traditionally, SDETs spend significant time on activities such as:

  • Understanding requirements
  • Writing test cases
  • Creating automation scripts
  • Executing regression tests
  • Investigating failures
  • Logging defects
  • Preparing reports

While automation reduced manual testing effort, engineers still spend hours performing repetitive tasks.

This is where AI comes into the picture.

Imagine if an intelligent assistant could:

  • Read requirements
  • Generate test scenarios
  • Write Playwright scripts
  • Execute tests
  • Analyze failures
  • Create Jira defects
  • Send execution summaries

That's exactly what happens when AI Agents, LLMs, and MCP work together.

Understanding LLMs: The Brain

A Large Language Model (LLM) is the intelligence layer.

Examples include:

  • ChatGPT
  • Claude
  • Gemini
  • Llama

Think of an LLM as a highly knowledgeable engineer.

You can ask:

Generate test cases for a login feature.

The LLM can produce:

  • Positive scenarios
  • Negative scenarios
  • Boundary validations
  • Security checks

However, there is a limitation.

The LLM can think and generate answers, but it cannot directly interact with your systems.

It cannot:

  • Open Jira
  • Read Confluence pages
  • Execute Playwright scripts
  • Create defects

For that, we need AI Agents.

Understanding AI Agents: The Worker

An AI Agent is an LLM combined with:

  • Memory
  • Planning
  • Tool access
  • Decision-making capabilities

Instead of simply answering questions, it performs actions.

Think of it as:

LLM + Tools + Reasoning + Actions = AI Agent

For example:

You ask:

Create automation tests for the login page.

An AI Agent can:

  1. Read requirements.
  2. Generate test cases.
  3. Create Playwright code.
  4. Execute the tests.
  5. Analyze failures.
  6. Create bug reports.

The difference is simple:

LLMAI Agent
Thinks      Thinks + Acts
Answers Questions      Completes Tasks
Generates Content      Executes Workflows

Understanding MCP: The Universal Connector

Now imagine your agent needs access to:

  • Jira
  • GitHub
  • Confluence
  • Databases
  • APIs
  • Test Environments

Traditionally, every integration requires custom development.

This creates complexity.

MCP solves this problem.

What is MCP?

MCP (Model Context Protocol) is an open standard that enables AI systems to communicate with external tools and data sources.

Think of MCP as:

USB-C for AI

Just as one cable can connect multiple devices, MCP allows AI Agents to connect to multiple systems through a common interface.

Instead of building hundreds of custom integrations, agents can use MCP-compatible connectors.

How the Three Technologies Work Together

A simple flow looks like this:

 SDET

LLM

AI Agent

MCP

Jira / GitHub / APIs / Databases

The LLM provides intelligence.

The Agent decides what to do.

MCP provides access to tools.

Together they create intelligent automation systems. 

Real-Time Use Cases for SDETs

1. Automatic Test Case Generation

One of the most time-consuming tasks is creating test cases from requirements.

Traditional Approach

  • Read user story
  • Understand functionality
  • Create scenarios manually

AI-Powered Approach

Agent reads:

  • Jira Story
  • Acceptance Criteria
  • Confluence Documentation

Then automatically generates:

  • Functional Tests
  • Negative Tests
  • Edge Cases
  • Security Scenarios

Result:

  • Faster analysis
  • Better coverage
  • Reduced manual effort

2. Automation Script Generation

Modern LLMs can generate Playwright scripts with impressive accuracy.

Example prompt:

Create Playwright tests for login functionality using valid and invalid credentials.

The agent can generate:

  • Page Objects
  • Test Data
  • Assertions
  • Reporting Logic

The SDET simply reviews and refines.

This accelerates automation development significantly.

3. Smart Test Execution

Agents can determine:

  • Which tests should run
  • Which tests can be skipped
  • Which modules are impacted

Instead of running a 5-hour regression suite, the agent executes only relevant tests.

Benefits:

  • Faster feedback
  • Reduced execution costs
  • Quicker releases

4. Defect Management

Failure analysis often consumes more time than test execution.

AI Agents can:

  • Capture screenshots
  • Collect logs
  • Analyze stack traces
  • Compare previous executions
  • Create Jira defects

Example defect summary:

Login API returning HTTP 500 when password contains special characters.

The bug report is generated automatically with evidence attached.

5. Test Impact Analysis

One of the most exciting use cases.

Suppose a developer modifies:

User Authentication Service

The AI Agent can:

  • Analyze code changes
  • Identify impacted APIs
  • Identify impacted UI flows
  • Suggest test suites to run

This saves enormous execution time.

A Day in the Life of an AI-Powered SDET

Imagine this scenario.

A new story is added to Jira.

Step 1

Agent reads the story using MCP.

Step 2

Agent retrieves related documentation from Confluence.

Step 3

Agent generates:

  • Test cases
  • API tests
  • Playwright scripts

Step 4

Agent executes tests in the test environment.

Step 5

Failures are analyzed automatically.

Step 6

Defects are created in Jira.

Step 7

Summary is posted to Slack or Teams.

Step 8

SDET reviews results and approves.

What previously required hours can now be completed in minutes.

Building Your Own AI Test Architect

For SDETs looking to future-proof their careers, an AI Test Architect project is an excellent portfolio showcase.

Suggested features:

Requirement Analysis

Upload requirement documents and generate test scenarios.

Test Case Generator

Generate comprehensive manual test cases.

Playwright Script Generator

Create UI automation scripts.

API Test Generator

Generate REST API test suites.

Flaky Test Detection

Identify unstable automation tests.

Performance Scenario Generator

Generate load testing scenarios automatically.

Test Impact Analysis

Predict impacted tests after code changes.

MCP Integration

Connect to:

  • Jira
  • GitHub
  • Confluence
  • Databases 

Final Thoughts

The easiest way to remember these concepts is:

🧠 LLM = Thinks

🤖 AI Agent = Acts

🔌 MCP = Connects

🚀 SDET = Achieves More

The future of quality engineering isn't just automation—it's intelligent automation powered by AI Agents working seamlessly across the software development lifecycle.

As SDETs, now is the perfect time to start experimenting, building, and learning. The next generation of testing tools will be agent-driven, and the engineers who master them early will have a significant advantage.

Software Engineering Cafe ☕
Simplifying Software Engineering, Testing, AI, and Automation—One Cup at a Time.

 

No comments:

Post a Comment