How to Test This with AI and MCP - Deepak Kamboj
Categories: Podcasts , How To Test This?
AI integration in test automation emphasizes AI agents, self-healing workflows, and MCP for interoperability, leveraging tools like Selenium and Playwright. Practical implementations use TypeScript/Python and frameworks like LangChain, addressing flaky tests and advancing toward AI-driven edge case detection and strategic testing roles.
How To Test This?
interview episodes where Mamadou N’diaye talks with with software testing experts
- https://podcasters.spotify.com/pod/show/spidey1944
- https://www.youtube.com/@HowToTestThis
- https://www.linkedin.com/in/mamadou-ndiaye-consultant/
Episode Details
- Show Notes: https://podcasters.spotify.com/pod/show/spidey1944/episodes/How-to-Test-This-with-AI-and-MCP---Deepak-Kamboj-e3gi89l
- Published: 2026-03-17T02:12:09Z
- Duration: 00:27:29
- Author: Mamadou N’diaye
Overview
The podcast discusses the integration of AI into test automation and software engineering workflows, focusing on the experiences of Deepak Kamboj, a Microsoft solution architect. Key topics include the evolution of test automation tools like Selenium and Playwright, with a strong emphasis on leveraging AI for tasks such as generating test cases, analyzing failures, and performing accessibility and performance checks. The discussion highlights the development of AI agents that enhance automation through self-healing capabilities, polyquest frameworks, and intelligent workflows. Central to this is the use of the Machine Communication Protocol (MCP), a universal standard for enabling interoperability between tools and AI agents by defining shared functions and interfaces. MCP allows systems like file access, authentication, and logging to be exposed as reusable components, reducing fragmentation in tooling and enabling cross-platform integration. The approach also addresses challenges in maintaining context-awareness in AI systems, such as using JSON-based test contexts and cloud metadata to improve accuracy in AI-driven test case generation.
The conversation also explores practical implementations of AI in testing, including the use of TypeScript and Python for building MCP servers and AI agents, as well as frameworks like LangChain and Lang Smith for agent development. Deepak underscores the importance of combining AI with test automation frameworks like Playwright to create scalable, self-healing pipelines that can dynamically adjust to changes in application code. Challenges like flaky tests and brittle selectors are addressed through strategies such as maintaining test context data and integrating AI-driven error resolution into continuous integration processes. Additionally, the discussion touches on the future of testing, where AI can automate edge case detection, negative testing, and repetitive tasks, allowing testers to focus on strategic analysis. Career insights emphasize adaptability, continuous learning, and cross-domain expertise, with recommendations to build infrastructure like the Playwright framework and stay informed through resources such as the AI Digest newsletter.
What If
-
What if you built an AI-powered test case generator that integrates with Playwright and MCP servers to expose real-time tooling for accessibility checks?
Move: Create a prototype where your AI agent uses Playwrights API to dynamically generate test cases while exporting accessibility tools (like a screen reader) as an MCP server.
Why now: Existing test automation tools struggle with flaky tests and lack standardized accessibility checks. MCP enables interoperability, and AI can adapt test case generation to evolving environments.
Expected upside: Reduce manual test writing by 40%, improve test stability via real-time tool integration, and position yourself as a go-to expert in AI + accessibility testing. -
What if you developed a modular TypeScript MCP server for a niche tool (e.g., GitHub task management) to enable AI agents to automate workflow tasks?
Move: Fork an existing MCP server example (e.g., Microsofts authentication system) and refactor it to expose GitHubs API as a tool, then train an AI agent to trigger issues, assign tasks, or track PRs.
Why now: Tools like GitHub are fragmented, and MCP standardizes their use. Solo developers can create reusable agents that solve specific pain points.
Expected upside: Build a scalable product for DevOps teams, attract GitHub integration partnerships, and establish your MCP expertise in the AI agent space. -
What if you combined Python-based LLM fine-tuning with TypeScript-based MCP agents to create a self-healing test pipeline?
Move: Use Python to train an LLM on your test failure logs, then deploy it as a healing agent via TypeScript MCP server to automatically refactor brittle selectors or generate fix PRs.
Why now: Flaky tests and over-reliance on brittle selectors are common pitfalls. Integrating AI with MCP allows real-time context-aware fixes.
Expected upside: Cut maintenance time by 30% through automated healing, create a unique value proposition for clients needing legacy system modernization, and build a case study for AI-driven test automation.
Takeaway
- Implement AI-driven test automation using tools like Playwright and AI agents to generate test cases, analyze failures, and automate accessibility checks, reducing manual effort in test maintenance.
- Adopt TypeScript for MCP server development and use Python for model fine-tuning, leveraging frameworks like LangChain and TypeScript-based tools (e.g., Next.js) to build scalable AI agent workflows.
- Maintain structured test context by storing test scenarios, stack traces, and product glossaries in JSON files to ensure AI agents generate accurate and context-aware test cases.
- Standardize tools with MCP protocols by defining tools with clear names, descriptions, and input parameters, enabling interoperability across systems and reducing reliance on fragmented APIs.
- Automate test healing pipelines using AI reporters that capture failing test data, suggest fixes, and generate pull requests, integrating with Playwright and test frameworks for continuous test maintenance.
For a PDF of longer Software Testing Podcast Episode Summaries with Briefing Notes and more detailed summary notes, visit EvilTester Patreon Podcast Summaries.