Skip to content

Agentic Testing

AI-powered UI testing with an LLM agent that interprets specs, automates browser tests, and generates CI-ready test code.

Publisher
AMD

Overview

Agentic Testing UI

This Solution Blueprint is an AI-powered UI testing framework that uses an LLM agent with Model Context Protocol (MCP) for automated web testing. The agent interprets Gherkin-style Given-When-Then test specifications and executes them via MCP tool calls, providing real-time feedback during test execution. After completing the test run, the application generates a downloadable Pytest module that can independently re-run the same browser tests.

AMD Solution Blueprints are packaged as helm charts for deployment on a Kubernetes cluster. For development or further exploration, the source code is public and available in the Solution Blueprints GitHub repository.

Architecture

Agentic Testing consists of three components: an LLM server for test reasoning, a Playwright MCP server for browser automation, and a Streamlit UI server for the application itself.Agentic Testing consists of three components: an LLM server for test reasoning, a Playwright MCP server for browser automation, and a Streamlit UI server for the application itself.

The user enters test specifications in Gherkin format (Given-When-Then syntax) through the Streamlit web UI. The agent interprets those specifications with an AMD Inference Microservice (AIM). The UI provides real-time feedback during test execution, displaying live logs and results as the agent interacts with the browser via Playwright MCP.

ComponentRole
LLM ServiceOpenAI-compatible endpoint (AIM vLLM or external), used for test reasoning and interpretation (default: GPT-OSS 120B on Instinct, Qwen3-VL 8B Instruct on Radeon)
Playwright MCP ServerExposes browser automation tools via Model Context Protocol
Streamlit UIWeb interface
Testing AgentPython-based orchestrator that connects LLM reasoning with MCP browser automation

Key Features

  • Web-based UI for entering Gherkin (Given-When-Then) test specifications
  • Real-time test execution logs and progress tracking
  • Browser automation via Playwright MCP server
  • LLM service health monitoring in the UI sidebar
  • Connects to MCP server via SSE transport with automatic tool discovery
  • Pytest module generation from successful test scenarios