
bhushang19/mcp-driven-ai-automation
Browser automation이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
The AI-Powered QA Automation tool leverages the Model Context Protocol (MCP) and Large Language Models (LLMs) to enable intelligent, autonomous testing of web applications or single page web...
개요
This project integrates AI agents with Playwright and file server to create autonomous QA testing capabilities for web applications. The AI-Powered QA Automation tool leverages the Model Context Protocol (MCP) and Large Language Models (LLMs) to enable intelligent, autonomous testing of web applications or single page web applications. Built on the emerging OpenAI Agent SDK, this implementation showcases how AI can be integrated into QA workflows. The system uses an AI agent that can understand web application functionality, create test plans, execute tests using Playwright, and generate detailed test reports - all with minimal human intervention. This project serves as a conceptual implementation that demonstrates the potential of AI-driven testing. As both the OpenAI Agent SDK and MCP continue to evolve, this framework can be extended and customized by teams based on their specific testing needs and requirements.
README
원문 README의 일부입니다. 원문 보기.
AI-Powered QA Automation
This project integrates AI agents with Playwright and file server to create autonomous QA testing capabilities for web applications.
Overview
The AI-Powered QA Automation tool leverages the Model Context Protocol (MCP) and Large Language Models (LLMs) to enable intelligent, autonomous testing of web applications or single page web applications. Built on the emerging OpenAI Agent SDK, this implementation showcases how AI can be integrated into QA workflows. The system uses an AI agent that can understand web application functionality, create test plans, execute tests using Playwright, and generate detailed test reports - all with minimal human intervention.
This project serves as a conceptual implementation that demonstrates the potential of AI-driven testing. As both the OpenAI Agent SDK and MCP continue to evolve, this framework can be extended and customized by teams based on their specific testing needs and requirements.
Benefits
- Autonomous Testing: Reduces manual QA effort by enabling AI to plan and execute tests
- Coverage: AI agents intelligently identify key features and create thorough test plans
- Self-documenting: Automatically generates test plans and detailed results with evidence in the form of screenshots
- Adaptability: Has potential to work with any web application without requiring custom test scripts
- Reduced Maintenance: Less code to maintain compared to traditional automation frameworks driven by heavy coding and maintenance overhead
- Faster Testing Cycles: Accelerates testing phases, supporting agile development
Solution Structure
.
├── .env # Environment variables configuration
├── .env.template # Template for environment variables
├── playwright/ # Main project directory
│ └── llm-automation/ # AI automation implementation
│ ├── program.py # Main Python script for AI testing
│ ├── agent_instructions.txt # Instructions for the AI agent
│ └── node_modules/ # JavaScript dependencies
Technical Architecture
graph TD
A[QA Engineer] -->|Provides URL| B[AI Agent]
B -->|Analyzes Website| C[Web Application]
B -->|Creates| D[Test Plan]
B -->|Controls| E[Playwright Browser]
E -->|Interacts with| C
B -->|Generates| F[Test Results & Evidence]
subgraph "MCP Framework"
G[Filesystem MCP Server] |File Operations| B
H[Playwright MCP Server] |Browser Control| B
H |Browser Automation| E
end
subgraph "Azure OpenAI"
I[LLM] |Reasoning & Decision Making| B
end
How Our AI-Powered Testing Platform Works
-
QA Engineer Initiates Testing
- You provide the target website URL
- The system begins the automated testing process
-
AI Agent Execution Flow
- Analyzes the website to identify testable components and functionality
- Drafts a test plan based on the analysis
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →