
Hands-on training from Python basics to building, testing and load testing AI apps and agents, with the same tools used in industry: Playwright, PyTest, DeepEval, Ollama, JMeter, MCP and GitHub Actions.
Thirteen parts and a final project, from Python basics to testing, load testing and shipping AI apps and agents. Tap a part to open it.
| Part | Topic | Focus |
|---|---|---|
| 01 | Python Essentials for Test Automation | Foundation · Python |
| 02 | Playwright Foundations, Actions and Assertions | Playwright · Web UI automation |
| 03 | PyTest, Page Object Model and Framework Architecture | PyTest · Framework design |
| 04 | API Testing and Advanced Playwright | API · Browsers · Mocking · Debugging |
| 05 | AI and LLM Fundamentals and Testing Strategy | Foundation · Strategy · Prompt test design |
| 06 | Building LLM Apps and AI Agents | LLM creation · Agent creation · Ollama · OpenAI · LangChain |
| 07 | MCP Server | Model Context Protocol · Tools for AI agents |
| 08 | LLM Test Automation and Evaluation | PyTest · LLM-as-a-Judge · Ollama · DeepEval |
| 09 | RAG and AI Agent Testing | Retrieval-Augmented Generation · Agentic testing |
| 10 | AI Security, Safety and Robustness | Prompt injection · Jailbreaks · Leakage |
| 11 | Chatbot UI Automation, Text and Voice | Playwright · Streaming · Voice |
| 12 | Performance Testing with JMeter | JMeter · Load, stress, spike and soak tests |
| 13 | AI Assertion Pipeline and CI/CD | PyTest · Ollama · GitHub Actions · Quality gates |
| Final | Final Project: AI-Powered Playwright Testing Framework | Capstone · Everything together |
You learn just enough Python to write clean, reusable automation code, then use it to build test data utilities.
Assignment: Build a Python utility script for generating and validating test data.
Assignment: Create reusable Python classes for test data and common automation utilities.
Assignment: Read JSON test data and create a Python utility to retrieve user information.
You go from your first browser script to stable, assertion-rich automation of dynamic pages.
Assignment: Create your first Playwright script to launch a browser, navigate to a website and perform a basic validation.
Assignment: Automate a scenario involving multiple tabs and an iframe.
get_by_role() and get_by_text()Assignment: Build robust locators for a dynamic web application.
Mini project: Automate a dynamic web page containing tables, dropdowns and dynamically loaded elements.
click(), fill() and press()Assignment: Automate a complete user workflow involving forms, uploads and downloads.
Assignment: Create a validation suite containing positive and negative assertions.
Mini project: Stabilize a flaky end-to-end test using proper locators, assertions and synchronization.
You turn individual scripts into a maintainable framework that runs many scenarios in parallel.
pytest.ini and test markersconftest.py, setup and teardownpytest.mark.parametrize and data-driven testingpytest-xdist.env filesMini project: Build a reusable PyTest framework with fixtures, parameterization, parallel execution and environment configuration.
Mini project: Build a scalable Page Object Model framework with reusable utilities and clean architecture.
You add API testing to your framework, then cover browsers, devices, network control and debugging.
APIRequestContext, sending requests, validating status codes and responsesMini project: Create a hybrid UI + API automation workflow.
Mini project: Build network-mocked tests with session reuse and execute them across multiple browsers.
You learn how LLM applications work and why testing them differs from testing traditional software, then design prompt tests and datasets.
| Topic | What you learn |
|---|---|
| AI and QA role | Evolution of testing, AI vs traditional software, where QA fits in AI project lifecycles |
| AI, ML, DL and GenAI | Core relationships, capabilities and boundaries |
| Intro to LLMs | How LLMs generate responses, training vs inference, popular foundation models |
| Tokens and context windows | Tokenization, cost models, context limits and testing implications |
| LLM parameters | Temperature, Top-P, max tokens, penalties and their effect on test repeatability |
| Working with LLM APIs | Request payloads, response structure, message roles, JSON mode |
| Traditional vs AI testing | Deterministic vs probabilistic execution, expected outputs vs acceptable semantic outputs |
| Topic | What you learn |
|---|---|
| Anatomy of an LLM app | Input processing, prompt templating, model invocation, response formatting |
| Prompt architecture | System prompts, dynamic user prompts, message history, constraints |
| LLM app workflows | Chatbots, search assistants, content generators, customer service flows |
| Function and tool calling | How LLMs select tools, build JSON arguments and process return values |
| Embeddings and similarity | Text-to-vector representation and semantic distance |
| Vector databases | Indexing strategies, similarity search and metadata filtering |
| RAG architecture | End-to-end flow: Retriever, Context, Generator |
| AI agents | Planning, tool execution loops, multi-turn memory, autonomous tasks |
| Topic | What you learn |
|---|---|
| Why AI testing is different | The test oracle problem, non-determinism, drift, evaluating open-ended text |
| Types of LLM testing | Functional validation, prompt robustness, response quality, safety checks, performance tracking |
| Accuracy and factual testing | Ground truth comparison, reference answers, factual discrepancies |
| Answer relevancy | Measuring query-response alignment, handling off-topic or evasive answers |
| Hallucination detection | Defining ungrounded statements and setting detection boundaries |
| Bias, toxicity and fairness | Demographic bias, offensive outputs, stereotyping, unsafe content |
| Privacy and data leakage | PII exposure, training data memorization, system prompt leakage |
| Core quality dimensions | Accuracy, relevance, faithfulness, safety, robustness, latency, token cost |
| Topic | What you learn |
|---|---|
| Prompt engineering basics | Clear instructions, context, output constraints, formatting rules |
| Common prompt patterns | Zero-shot, few-shot, role prompting, chain-of-thought, structured formatting |
| Prompt test design | Positive suites, negative inputs, edge cases, boundary parameters, ambiguous prompts |
| Prompt robustness testing | Effect of wording tweaks, typos, reshuffled sentences and length changes |
| Structured output testing | Validating JSON, key presence, schema types and malformed JSON handling |
| Prompt versioning | Tracking prompt iterations, degradation and regression checks |
| LLM test dataset | Datasets with inputs, expected behavior, context and scoring criteria |
You build the kind of LLM applications and agents you will test later, using local and hosted models.
| Topic | What you learn |
|---|---|
| What LangChain is | A framework that combines prompts, models, output parsers, retrievers, vector stores, tools and agents |
| Simple RAG pipeline | Load documents, split into chunks, create embeddings, store them in a vector database, build a retriever and connect it with a prompt template and an LLM in a chain |
| Output parsers | Converting model text into structured data |
| Creating AI agents | Defining tools with JSON arguments, planning and tool execution loops, multi-turn memory, handling tool errors |
| Keeping builds stable | Pin package versions and upgrade in a separate branch |
Mini project: Build a small RAG chatbot and a tool-using AI agent, which you will test in the later parts of the course.
You learn how AI agents connect to tools through the Model Context Protocol, build your own MCP server and test it.
Mini project: Build an MCP server that exposes test automation tools and verify it with automated tests.
You apply your Python and PyTest skills to LLM APIs, then score AI answers automatically with a judge model, a free local Ollama setup and DeepEval.
| Topic | What you learn |
|---|---|
| Python essentials for AI testing | Functions, dictionaries, lists, imports, error handling, JSON manipulation |
| Working with REST APIs | The requests library, authentication headers, retry policies, timeouts |
| Secrets management | Environment variables, .env files, preventing credential leaks |
| Automated LLM test cases | Integrating API clients into PyTest scripts with evaluation assertions |
| Data-driven testing | Reading datasets from JSON/CSV and running parameterized PyTest runs |
| Modular test framework | Separating test cases, API clients, rubrics, data loaders and configuration |
| Topic | What you learn |
|---|---|
| The LLM evaluation problem | Why exact string matching fails for open-ended text and how semantic evaluation solves it |
| Reference-based vs reference-free | Evaluating against ground truth vs context-only evaluation |
| LLM-as-a-Judge techniques | Judge prompts, evaluation personas, rubrics, structured explanations |
| Evaluation rubrics | Numeric scales, pass/fail thresholds, multi-criteria scoring |
| Similarity and thresholds | Cosine similarity, embedding comparison, acceptance thresholds |
| Evaluator bias | Position bias, self-preference bias, temperature control, calibration |
| Custom AI evaluator lab | A Python evaluation module returning scores, reasoning and status |
PASS or FAIL results with reasoningMini project: Build an ollama_evaluator.py script that evaluates chatbot responses and returns structured assertion results.
| Topic | What you learn |
|---|---|
| Introduction to DeepEval | Installation, configuration, architecture and core setup |
| Structuring test cases | LLMTestCase with inputs, actual outputs, expected outputs and retrieval context |
| Answer relevancy | Relevancy metrics, thresholds, interpreting failure reasons |
| Faithfulness and groundedness | Checking responses against supplied context for unsupported claims |
| Hallucination metrics | Automated hallucination testing with specialized metric suites |
| Custom metrics and judge prompts | Domain-specific metrics with custom criteria |
| Multi-turn conversations | Context retention, multi-turn history and dialogue flow |
| Reports and lab | Exporting results and metric breakdowns; build an automated LLM evaluation suite with PyTest and DeepEval |
You test the two most common advanced AI architectures: retrieval-augmented generation and multi-step agents.
| Topic | What you learn |
|---|---|
| RAG test strategy | Risk areas in chunking, indexing, retrieval, context injection and generation |
| Ingestion and chunking tests | Chunk size strategies, overlap, boundary splits, metadata preservation |
| Embedding and vector DB checks | Top-K search results, similarity scores, metadata filtering accuracy |
| Precision, recall and relevancy | Whether the retriever pulls correct, complete documents and excludes noise |
| End-to-end RAG suite | Full pipeline tests that validate query-to-answer paths |
| RAG regression testing | Detecting degradation after knowledge base, embedding or prompt changes |
| Topic | What you learn |
|---|---|
| Agent testing strategies | Autonomous decision loops, goal decomposition, step planning, memory integrity |
| Tool calling validation | Tool selection logic, required and optional arguments, execution handling |
| Multi-step workflows | Multi-tool dependencies, intermediate step validation, task completion |
| Memory and context retention | Short-term context, state updates, avoiding hallucinated history |
| Failure and recovery testing | Broken API tools, malformed arguments, timeouts, fallback handling |
Hands-on lab: Create an automated test suite for a multi-step AI agent application.
You learn to probe AI systems for the risks that traditional web testing does not cover.
| Topic | What you learn |
|---|---|
| AI security fundamentals | AI-specific security risks vs traditional web application vulnerabilities |
| Prompt injection | Direct and indirect injection concepts and basic detection techniques |
| Basic jailbreak scenarios | Common roleplay and override attack patterns, validating safety guardrails |
| PII and system prompt leakage | Testing for accidental disclosure of internal instructions, system prompts or personal data |
| Toxicity, harm and bias | Basic safety benchmarks that verify refusal of inappropriate requests |
| Input robustness | System stability against long text, non-ASCII characters and formatting noise |
You use Playwright to drive chatbot interfaces, including streaming replies and voice input, and learn to assert on answers that change every time.
.wav audio streams and automating voice inputwindow.speechSynthesisMini project: Build a reusable ChatbotPage object capable of automating text prompts, streaming mock audio inputs and extracting text and spoken outputs.
You load test LLM-powered APIs with Apache JMeter and learn to read the results.
| Topic | What you learn |
|---|---|
| What JMeter is | An open-source Apache tool that simulates many virtual users and reports response times, throughput and errors |
| Why test LLM apps for performance | Model calls are slow and costly, vector search and APIs add delay, and providers apply rate limits |
| Main components | Test Plan, Thread Group (users, ramp-up, loops), samplers such as HTTP Request, config elements such as Header Manager and CSV Data Set Config, timers, assertions, listeners |
| Ramp-up and think time | Gradual load increase, and pauses between actions that imitate real user behaviour |
| Topic | What you learn |
|---|---|
| Load test | Expected user numbers |
| Stress test | Beyond capacity, to find the breaking point |
| Spike test | A sudden jump in users |
| Soak test | Steady load over a long time, to find leaks and degradation |
| Metrics that matter | Response time (average, p90, p95, p99), time to first token for streaming apps, throughput, error rate, token usage and cost |
| Why percentiles | Averages hide slow outliers; p95 or p99 shows what the slowest users experience |
jmeter -n -t llm_test.jmx -l results.jtl -e -o reportLab: Build a JMeter test plan that load tests an LLM API with prompts from a CSV file, response assertions and an HTML report.
You connect browser automation to AI evaluation so a chatbot answer becomes a PyTest pass or fail, then run it all automatically in GitHub Actions.
Mini project: Build an end-to-end AI automation suite that follows this flow:
| Topic | What you learn |
|---|---|
| Git and GitHub fundamentals | Version control basics for test projects |
| GitHub Actions | Creating CI/CD workflows and running Playwright tests automatically |
| Environment and secrets | Managing environment variables, GitHub Secrets for API keys and endpoints |
| Pull requests | Running automated tests on pull requests and configuring execution in CI |
| Reports and artifacts | Publishing Playwright reports and test artifacts |
| AI tests in CI | Quality pipelines triggered on code or prompt changes, with PyTest and DeepEval workflow files |
| Test data management | Version-controlling datasets, prompt templates and evaluation data with source code |
| Quality gates | Pass/fail criteria from aggregated scores; blocking pull requests or deployments below thresholds |
| Costs and flakiness | Sampling strategies, cost-effective evaluation models, retries, score variance tolerance |
| Limitations | Understanding GitHub Actions execution and its limits |
Final deliverable: A GitHub Actions workflow that automatically runs the Playwright + PyTest + AI/LLM testing framework and publishes the results.
You finish by building one complete Playwright + PyTest + Ollama AI testing framework that automates and intelligently evaluates text and voice chatbot interactions. It must include:
Learn | Practice | Grow
Learn from professionals with real industry experience.
Build real project scenarios for your portfolio.
Get questions answered quickly, even after class.
Resume building, mock interviews and job referrals.
Our students work at Wipro, TCS, Infosys, Cognizant and Rezolve.ai. Read their stories.
No. Part 1 covers the Python you need for test automation, including OOP and test data handling, before you start Playwright.
Python, Playwright, PyTest, Ollama, OpenAI API, LangChain, DeepEval, an MCP server, JMeter and GitHub Actions, all used together in one final project.
The new batch starts on 1 December as a US evening batch: 10:00 PM EST, 9:00 PM CST, 8:00 PM MST and 7:00 PM PST.
Yes. You finish with a complete AI-powered Playwright testing framework that automates and evaluates text and voice chatbots, load tests the LLM API with JMeter and runs in GitHub Actions.
Not for the core labs. You use a free local setup with Ollama for evaluation, and learn to call hosted models such as OpenAI's only where needed, keeping keys safe.
Yes. The batch is online and recordings are shared for revision.
The new batch starts on 1 December. Fill the form and we will reach you on WhatsApp with batch timings and fees.