BM

bhushang19/mcp-driven-ai-automation

Browser automation

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars 10 forks Качество 37 Тренд 18

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

  1. QA Engineer Initiates Testing

    • You provide the target website URL
    • The system begins the automated testing process
  2. AI Agent Execution Flow

    • Analyzes the website to identify testable components and functionality
    • Drafts a test plan based on the analysis
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →