Industry-Standard Automation Tools Python, Playwright, AI / LLM Testing, JMeter and more

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.

COURSE AT A GLANCENEW
  • CourseIndustry-Standard Automation Tools New
  • Starts1 December
  • Parts13 + final project
  • Timings (US evening batch)10 PM EST · 9 PM CST · 8 PM MST · 7 PM PST
  • ModeOnline
  • FeesCall or WhatsApp us
Book a free demo class

Who is this course for?

Industry-Standard Automation Tools course syllabus

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.

What you will learn

The learning path

PartTopicFocus
01Python Essentials for Test AutomationFoundation · Python
02Playwright Foundations, Actions and AssertionsPlaywright · Web UI automation
03PyTest, Page Object Model and Framework ArchitecturePyTest · Framework design
04API Testing and Advanced PlaywrightAPI · Browsers · Mocking · Debugging
05AI and LLM Fundamentals and Testing StrategyFoundation · Strategy · Prompt test design
06Building LLM Apps and AI AgentsLLM creation · Agent creation · Ollama · OpenAI · LangChain
07MCP ServerModel Context Protocol · Tools for AI agents
08LLM Test Automation and EvaluationPyTest · LLM-as-a-Judge · Ollama · DeepEval
09RAG and AI Agent TestingRetrieval-Augmented Generation · Agentic testing
10AI Security, Safety and RobustnessPrompt injection · Jailbreaks · Leakage
11Chatbot UI Automation, Text and VoicePlaywright · Streaming · Voice
12Performance Testing with JMeterJMeter · Load, stress, spike and soak tests
13AI Assertion Pipeline and CI/CDPyTest · Ollama · GitHub Actions · Quality gates
FinalFinal Project: AI-Powered Playwright Testing FrameworkCapstone · Everything together
Part 01 Python Essentials for Test AutomationFoundation · Python

You learn just enough Python to write clean, reusable automation code, then use it to build test data utilities.

Python setup and fundamentals

  • Installing Python and configuring VS Code
  • Python virtual environments
  • Variables and data types, operators
  • Conditional statements and loops
  • Functions and parameters

Assignment: Build a Python utility script for generating and validating test data.

Python OOP for test automation

  • Classes and objects, constructors
  • Encapsulation and inheritance
  • Reusable methods and utilities
  • Why OOP matters for automation frameworks

Assignment: Create reusable Python classes for test data and common automation utilities.

File and test data handling

  • Reading and writing files
  • JSON handling with the Python standard library
  • Creating reusable test data
  • Importing modules and packages
  • Structuring Python automation utilities

Assignment: Read JSON test data and create a Python utility to retrieve user information.

Part 02 Playwright Foundations, Actions and AssertionsPlaywright · Web UI automation

You go from your first browser script to stable, assertion-rich automation of dynamic pages.

Getting started with Playwright

  • What Playwright is and why use it for automation
  • Playwright architecture and installing it for Python
  • Sync vs async APIs
  • Browser, BrowserContext and Page
  • Launching Chromium, Firefox and WebKit
  • Headed vs headless execution

Assignment: Create your first Playwright script to launch a browser, navigate to a website and perform a basic validation.

Browser, context and page management

  • Browser, BrowserContext and Page lifecycles
  • Multiple pages and browser tabs, popups and new windows
  • Frames and iframes
  • Screenshots and video recording

Assignment: Automate a scenario involving multiple tabs and an iframe.

Locators and web elements

  • Role-based locators: get_by_role() and get_by_text()
  • CSS and XPath selectors
  • Locator chaining
  • Handling dynamic elements

Assignment: Build robust locators for a dynamic web application.

Dynamic web elements and auto-waiting

  • Dynamic tables, dropdowns, checkboxes and radio buttons
  • Handling changing UI elements
  • Playwright's auto-waiting mechanism and locator stability

Mini project: Automate a dynamic web page containing tables, dropdowns and dynamically loaded elements.

User actions and interactions

  • click(), fill() and press()
  • Keyboard and mouse actions, hover and scrolling
  • File uploads and downloads

Assignment: Automate a complete user workflow involving forms, uploads and downloads.

Assertions and validations

  • Playwright web-first assertions
  • Text, visibility, attribute and URL validation
  • Soft assertions and custom assertions

Assignment: Create a validation suite containing positive and negative assertions.

Building stable automation

  • Handling dynamic loading, timeouts, and waiting for elements and pages
  • Reducing flaky tests
  • Debugging failed interactions

Mini project: Stabilize a flaky end-to-end test using proper locators, assertions and synchronization.

Part 03 PyTest, Page Object Model and Framework ArchitecturePyTest · Framework design

You turn individual scripts into a maintainable framework that runs many scenarios in parallel.

PyTest fundamentals

  • Introduction to PyTest, creating and executing tests, test discovery
  • Assertions and test organization
  • pytest.ini and test markers

Fixtures and test setup

  • Understanding PyTest fixtures
  • Fixture scopes: function, class, module and session
  • conftest.py, setup and teardown
  • Browser and context fixtures

Parameterization and parallel execution

  • pytest.mark.parametrize and data-driven testing
  • Running multiple test scenarios
  • Parallel execution with pytest-xdist

Environment and secrets management

  • Environment variables and .env files
  • Managing usernames, passwords and API credentials
  • Separating configuration from test code

Mini project: Build a reusable PyTest framework with fixtures, parameterization, parallel execution and environment configuration.

Page Object Model (POM)

  • What POM is and its benefits
  • Creating Page classes and reusable page methods
  • Separating locators from test cases

Advanced framework architecture

  • Base Page and Base Test, page inheritance
  • Helper utilities and reusable methods
  • Test data management and framework folder structure

Clean automation framework design

  • Separation of responsibilities
  • Managing locators, test data and configuration
  • Utility functions
  • Designing maintainable automation frameworks

Mini project: Build a scalable Page Object Model framework with reusable utilities and clean architecture.

Part 04 API Testing and Advanced PlaywrightAPI · Browsers · Mocking · Debugging

You add API testing to your framework, then cover browsers, devices, network control and debugging.

API testing fundamentals

  • Understanding API testing
  • HTTP methods: GET, POST, PUT and DELETE
  • APIRequestContext, sending requests, validating status codes and responses

API authentication and validation

  • Authentication headers, Bearer token and Basic authentication
  • Request headers, parameters and body
  • Response body validation

Hybrid UI and API automation

  • Using APIs for test data setup and application state
  • Performing UI validation, then API-based cleanup
  • Combining API and UI automation

Mini project: Create a hybrid UI + API automation workflow.

Multi-browser and session management

  • Chromium, Firefox and WebKit, multi-browser execution
  • Storage state, session reuse and authentication state

Mobile emulation and geolocation

  • Mobile device emulation, viewport configuration and device profiles
  • Responsive testing
  • Geolocation testing and permission handling

Network interception and mocking

  • Request interception and response mocking
  • Blocking network requests and simulating API failures

Debugging and Trace Viewer

  • Playwright Trace Viewer and understanding test execution traces
  • Analyzing failed tests and debugging automation failures

Mini project: Build network-mocked tests with session reuse and execute them across multiple browsers.

Part 05 AI and LLM Fundamentals and Testing StrategyFoundation · Strategy · Prompt test design

You learn how LLM applications work and why testing them differs from testing traditional software, then design prompt tests and datasets.

AI, Generative AI and LLM fundamentals

TopicWhat you learn
AI and QA roleEvolution of testing, AI vs traditional software, where QA fits in AI project lifecycles
AI, ML, DL and GenAICore relationships, capabilities and boundaries
Intro to LLMsHow LLMs generate responses, training vs inference, popular foundation models
Tokens and context windowsTokenization, cost models, context limits and testing implications
LLM parametersTemperature, Top-P, max tokens, penalties and their effect on test repeatability
Working with LLM APIsRequest payloads, response structure, message roles, JSON mode
Traditional vs AI testingDeterministic vs probabilistic execution, expected outputs vs acceptable semantic outputs

LLM application architecture

TopicWhat you learn
Anatomy of an LLM appInput processing, prompt templating, model invocation, response formatting
Prompt architectureSystem prompts, dynamic user prompts, message history, constraints
LLM app workflowsChatbots, search assistants, content generators, customer service flows
Function and tool callingHow LLMs select tools, build JSON arguments and process return values
Embeddings and similarityText-to-vector representation and semantic distance
Vector databasesIndexing strategies, similarity search and metadata filtering
RAG architectureEnd-to-end flow: Retriever, Context, Generator
AI agentsPlanning, tool execution loops, multi-turn memory, autonomous tasks

Fundamentals of AI and LLM testing

TopicWhat you learn
Why AI testing is differentThe test oracle problem, non-determinism, drift, evaluating open-ended text
Types of LLM testingFunctional validation, prompt robustness, response quality, safety checks, performance tracking
Accuracy and factual testingGround truth comparison, reference answers, factual discrepancies
Answer relevancyMeasuring query-response alignment, handling off-topic or evasive answers
Hallucination detectionDefining ungrounded statements and setting detection boundaries
Bias, toxicity and fairnessDemographic bias, offensive outputs, stereotyping, unsafe content
Privacy and data leakagePII exposure, training data memorization, system prompt leakage
Core quality dimensionsAccuracy, relevance, faithfulness, safety, robustness, latency, token cost

Prompt engineering and prompt test design

TopicWhat you learn
Prompt engineering basicsClear instructions, context, output constraints, formatting rules
Common prompt patternsZero-shot, few-shot, role prompting, chain-of-thought, structured formatting
Prompt test designPositive suites, negative inputs, edge cases, boundary parameters, ambiguous prompts
Prompt robustness testingEffect of wording tweaks, typos, reshuffled sentences and length changes
Structured output testingValidating JSON, key presence, schema types and malformed JSON handling
Prompt versioningTracking prompt iterations, degradation and regression checks
LLM test datasetDatasets with inputs, expected behavior, context and scoring criteria
Part 06 Building LLM Apps and AI AgentsLLM creation · Agent creation · Ollama · OpenAI · LangChain

You build the kind of LLM applications and agents you will test later, using local and hosted models.

Working with local and hosted models

  • Setting up Ollama locally and running a local LLM
  • Calling hosted models through the OpenAI API
  • Keeping API keys in environment variables and never committing them
  • Handling 429 rate-limit errors with exponential backoff
  • Pinning model versions so results stay comparable between runs
  • Comparing a local and a hosted model on the same dataset for score, latency and cost

Building with LangChain

TopicWhat you learn
What LangChain isA framework that combines prompts, models, output parsers, retrievers, vector stores, tools and agents
Simple RAG pipelineLoad 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 parsersConverting model text into structured data
Creating AI agentsDefining tools with JSON arguments, planning and tool execution loops, multi-turn memory, handling tool errors
Keeping builds stablePin 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.

Part 07 MCP ServerModel Context Protocol · Tools for AI agents

You learn how AI agents connect to tools through the Model Context Protocol, build your own MCP server and test it.

MCP fundamentals and building a server

  • What the Model Context Protocol is and where MCP servers fit in AI agent systems
  • Tools, resources and prompts that an MCP server exposes
  • Building an MCP server in Python
  • Connecting an AI agent to your MCP server

Testing and securing MCP servers

  • Testing tool schemas, argument validation, error handling and timeouts
  • Limiting what each tool can do and protecting secrets

Mini project: Build an MCP server that exposes test automation tools and verify it with automated tests.

Part 08 LLM Test Automation and EvaluationPyTest · LLM-as-a-Judge · Ollama · DeepEval

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.

Python and PyTest for LLM test automation

TopicWhat you learn
Python essentials for AI testingFunctions, dictionaries, lists, imports, error handling, JSON manipulation
Working with REST APIsThe requests library, authentication headers, retry policies, timeouts
Secrets managementEnvironment variables, .env files, preventing credential leaks
Automated LLM test casesIntegrating API clients into PyTest scripts with evaluation assertions
Data-driven testingReading datasets from JSON/CSV and running parameterized PyTest runs
Modular test frameworkSeparating test cases, API clients, rubrics, data loaders and configuration

LLM evaluation and LLM-as-a-Judge

TopicWhat you learn
The LLM evaluation problemWhy exact string matching fails for open-ended text and how semantic evaluation solves it
Reference-based vs reference-freeEvaluating against ground truth vs context-only evaluation
LLM-as-a-Judge techniquesJudge prompts, evaluation personas, rubrics, structured explanations
Evaluation rubricsNumeric scales, pass/fail thresholds, multi-criteria scoring
Similarity and thresholdsCosine similarity, embedding comparison, acceptance thresholds
Evaluator biasPosition bias, self-preference bias, temperature control, calibration
Custom AI evaluator labA Python evaluation module returning scores, reasoning and status

Local LLM evaluator with Ollama

  • Why traditional assertions may not be enough for non-deterministic AI responses
  • Setting up Ollama locally for a zero-cost testing environment
  • Evaluating chatbot responses with an LLM: evaluation prompts, semantic validation, expected vs actual comparison
  • Structured JSON evaluation that generates PASS or FAIL results with reasoning

Mini project: Build an ollama_evaluator.py script that evaluates chatbot responses and returns structured assertion results.

Automated evaluation with DeepEval

TopicWhat you learn
Introduction to DeepEvalInstallation, configuration, architecture and core setup
Structuring test casesLLMTestCase with inputs, actual outputs, expected outputs and retrieval context
Answer relevancyRelevancy metrics, thresholds, interpreting failure reasons
Faithfulness and groundednessChecking responses against supplied context for unsupported claims
Hallucination metricsAutomated hallucination testing with specialized metric suites
Custom metrics and judge promptsDomain-specific metrics with custom criteria
Multi-turn conversationsContext retention, multi-turn history and dialogue flow
Reports and labExporting results and metric breakdowns; build an automated LLM evaluation suite with PyTest and DeepEval
Part 09 RAG and AI Agent TestingRetrieval-Augmented Generation · Agentic testing

You test the two most common advanced AI architectures: retrieval-augmented generation and multi-step agents.

RAG application and retrieval testing

TopicWhat you learn
RAG test strategyRisk areas in chunking, indexing, retrieval, context injection and generation
Ingestion and chunking testsChunk size strategies, overlap, boundary splits, metadata preservation
Embedding and vector DB checksTop-K search results, similarity scores, metadata filtering accuracy
Precision, recall and relevancyWhether the retriever pulls correct, complete documents and excludes noise
End-to-end RAG suiteFull pipeline tests that validate query-to-answer paths
RAG regression testingDetecting degradation after knowledge base, embedding or prompt changes

AI agent and workflow testing

TopicWhat you learn
Agent testing strategiesAutonomous decision loops, goal decomposition, step planning, memory integrity
Tool calling validationTool selection logic, required and optional arguments, execution handling
Multi-step workflowsMulti-tool dependencies, intermediate step validation, task completion
Memory and context retentionShort-term context, state updates, avoiding hallucinated history
Failure and recovery testingBroken API tools, malformed arguments, timeouts, fallback handling

Hands-on lab: Create an automated test suite for a multi-step AI agent application.

Part 10 AI Security, Safety and RobustnessPrompt injection · Jailbreaks · Leakage

You learn to probe AI systems for the risks that traditional web testing does not cover.

TopicWhat you learn
AI security fundamentalsAI-specific security risks vs traditional web application vulnerabilities
Prompt injectionDirect and indirect injection concepts and basic detection techniques
Basic jailbreak scenariosCommon roleplay and override attack patterns, validating safety guardrails
PII and system prompt leakageTesting for accidental disclosure of internal instructions, system prompts or personal data
Toxicity, harm and biasBasic safety benchmarks that verify refusal of inappropriate requests
Input robustnessSystem stability against long text, non-ASCII characters and formatting noise
Part 11 Chatbot UI Automation, Text and VoicePlaywright · Streaming · Voice

You use Playwright to drive chatbot interfaces, including streaming replies and voice input, and learn to assert on answers that change every time.

Chatbot UI automation

  • Understanding chatbot automation challenges
  • Targeting dynamic chat inputs and automating send buttons
  • Extracting chatbot responses and handling dynamically generated messages
  • Handling streaming responses

Dynamic response handling

  • Waiting for chatbot responses, handling typing indicators, detecting response completion
  • Managing non-deterministic response timing
  • Creating reusable chatbot automation methods

Testing non-deterministic UI responses

  • Manual and automated chatbot test strategies, message input verification, element identification
  • Structural assertions, essential keyword checks, regex matching and response shape checks
  • Simulating multi-turn conversations, context clearing and session resets
  • Handling timeouts, chunked token rendering, long delays and network retries
  • Hybrid testing that couples frontend UI checks with backend API evaluations

Voice chatbot automation

  • Handling browser microphone permissions and suppressing permission popups
  • Working with browser media permissions
  • Injecting mock .wav audio streams and automating voice input
  • Intercepting the Web Speech API and understanding window.speechSynthesis
  • Capturing and validating spoken output

Mini project: Build a reusable ChatbotPage object capable of automating text prompts, streaming mock audio inputs and extracting text and spoken outputs.

Part 12 Performance Testing with JMeterJMeter · Load, stress, spike and soak tests

You load test LLM-powered APIs with Apache JMeter and learn to read the results.

JMeter foundations

TopicWhat you learn
What JMeter isAn open-source Apache tool that simulates many virtual users and reports response times, throughput and errors
Why test LLM apps for performanceModel calls are slow and costly, vector search and APIs add delay, and providers apply rate limits
Main componentsTest 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 timeGradual load increase, and pauses between actions that imitate real user behaviour

Load testing an LLM API

  • An HTTP Request that POSTs a JSON body to the endpoint
  • A Header Manager with content type and authorization
  • A CSV Data Set Config that feeds different prompts
  • Assertions on HTTP status and expected JSON fields or keywords, so fast error pages are not counted as successes
  • A Thread Group with the users and ramp-up

Test types and metrics

TopicWhat you learn
Load testExpected user numbers
Stress testBeyond capacity, to find the breaking point
Spike testA sudden jump in users
Soak testSteady load over a long time, to find leaks and degradation
Metrics that matterResponse time (average, p90, p95, p99), time to first token for streaming apps, throughput, error rate, token usage and cost
Why percentilesAverages hide slow outliers; p95 or p99 shows what the slowest users experience

Running tests and finding bottlenecks

  • Run JMeter in non-GUI mode from the command line, because the GUI uses resources and can distort results
  • Generate an HTML report from the results
  • Look for bottlenecks in model inference, the vector database, embedding calls, network, rate limits, application code or too few workers
  • Handle the challenges: streaming responses, variable response length, rate limits and cost, non-deterministic content
  • Use a local or mocked model for heavy load and keep real-API tests small
jmeter -n -t llm_test.jmx -l results.jtl -e -o report

Lab: Build a JMeter test plan that load tests an LLM API with prompts from a CSV file, response assertions and an HTML report.

Part 13 AI Assertion Pipeline and CI/CDPyTest · Ollama · GitHub Actions · Quality gates

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.

Building the AI testing pipeline

  • PyTest browser context fixtures and media stream configuration
  • Combining Playwright actions with response extraction
  • Sending chatbot responses to Ollama and converting the evaluation into PyTest assertions
  • Text and voice verification
  • Automating ChatGPT or Gemini style interfaces: executing prompts, extracting responses, evaluating them with Ollama and generating PASS/FAIL results

Mini project: Build an end-to-end AI automation suite that follows this flow:

  1. Send a prompt to the chatbot
  2. Capture the chatbot response
  3. Extract the response text
  4. Evaluate it with Ollama
  5. Assert PASS or FAIL in PyTest

CI/CD with GitHub Actions

TopicWhat you learn
Git and GitHub fundamentalsVersion control basics for test projects
GitHub ActionsCreating CI/CD workflows and running Playwright tests automatically
Environment and secretsManaging environment variables, GitHub Secrets for API keys and endpoints
Pull requestsRunning automated tests on pull requests and configuring execution in CI
Reports and artifactsPublishing Playwright reports and test artifacts
AI tests in CIQuality pipelines triggered on code or prompt changes, with PyTest and DeepEval workflow files
Test data managementVersion-controlling datasets, prompt templates and evaluation data with source code
Quality gatesPass/fail criteria from aggregated scores; blocking pull requests or deployments below thresholds
Costs and flakinessSampling strategies, cost-effective evaluation models, retries, score variance tolerance
LimitationsUnderstanding 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.

Final Project AI-Powered Playwright Testing FrameworkCapstone · Everything together

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:

  • Playwright with Python, PyTest and the Page Object Model
  • UI automation, API testing, multi-browser testing, mobile emulation and network mocking
  • Text chatbot automation, voice chatbot automation and streaming response handling
  • Ollama local LLM, LLM-as-a-Judge and AI-based PASS/FAIL evaluation
  • A PyTest assertion pipeline
  • JMeter load tests for the LLM API
  • GitHub Actions CI/CD and automated test reports

Watch our classes

See how we teach before you join. Watch the free demo and the first two classes.

Tools you will use

PythonPlaywrightPyTestOllamaOpenAI APILangChainDeepEvalMCPJMeterGit and GitHub ActionsVS Code

Roles this course prepares you for

Automation Test EngineerSDETAI QA EngineerLLM Test EngineerPerformance Test Engineer

Why learn at Sri QA Academy

Learn | Practice | Grow

🎓

Expert Trainers

Learn from professionals with real industry experience.

💻

Live Projects

Build real project scenarios for your portfolio.

📊

Doubt Support

Get questions answered quickly, even after class.

💼

Placement Help

Resume building, mock interviews and job referrals.

Our students work at Wipro, TCS, Infosys, Cognizant and Rezolve.ai. Read their stories.

Industry-Standard Automation Tools: frequently asked questions

Do I need to know programming before joining?

No. Part 1 covers the Python you need for test automation, including OOP and test data handling, before you start Playwright.

Which tools will I learn?

Python, Playwright, PyTest, Ollama, OpenAI API, LangChain, DeepEval, an MCP server, JMeter and GitHub Actions, all used together in one final project.

When does the batch start and what are the timings?

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.

Will I work on a real project?

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.

Do I need paid AI tools?

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.

Are classes online and are recordings shared?

Yes. The batch is online and recordings are shared for revision.

Related courses

Book your free Industry-Standard Automation Tools demo class

The new batch starts on 1 December. Fill the form and we will reach you on WhatsApp with batch timings and fees.

  • 📞 +91 6281 326 417
  • 📷 Instagram: @sriqa_automation
  • 💼 linkedin.com/in/sriqa-academy-94047b396
Chat