
Install python, verify the version, and install dependencies from requirements.txt to prepare the environment for building an ai powered test automation framework for automated qa test case generation and execution.
Explore Jira and api testing foundations, using the Jira rest api to define test coverage from descriptions and acceptance criteria. See how ai converts stories into api tests and reports.
Understand the end-to-end workflow of an AI-powered QA test generator: pull Jira story details, generate API test cases with Gemini, convert to CSV, execute tests, and produce an HTML report.
Connect to Jira programmatically in Python, fetch issue metadata and custom fields such as acceptance criteria, and build a framework-style integration with a config-driven Jira client that avoids hard-coded credentials.
This lecture demonstrates automating test case generation with AI using LangChain and Google Gemini, building a test case generator to replace slow, subjective manual qa workflows.
Learn to craft prompts that generate structured API test cases from Jira story details, producing clean JSON ready for CSV conversion and import into test management tools.
Automate saving generated test cases to csv using a save test cases to csv method, deriving headers from json keys and writing rows via a csv dictionary writer.
Parameterize tests with pytest to run the same function for each test case loaded from test_case.csv, using a context dictionary to reuse IDs from post requests in pet store API.
Configure the system path for the test case generator, then run the test runner to generate and execute API test cases. Verify four test cases are collected, executed, and ready for reporting.
Invoke Python run.py with a story id to fetch the story, generate test cases, and run api tests; the report shows one failed due to an invalid status bug.
Explore chrome dev tool ai features for QA, automatically generate functional and non-functional test cases, and create automation code in Java or Python for API and UI workflows.
Mindset shift from demo → production-grade architecture.
Implement abstraction layer to support Gemini & Groq using factory pattern.
Address LLM output instability with strict schema prompting and robust JSON extraction to ensure reliable test case generation and execution in AI agent automated QA test case generator and executer.
Convert AI from runtime dependency to test author. Introduce deterministic regression model.
Scale test execution speed using parallel execution across multiple workers.
Upgrade test reporting with API request, response, and structured debug visibility.
Welcome to "Automated QA Test Case Generator and Executer using AI" — a hands-on course that combines the power of GenAI, Langchain, and Python to fully automate the generation and execution of API test cases.
In today’s fast-paced development cycles, writing manual test cases is time-consuming and error-prone. This course introduces a modern solution: using Google Gemini via Langchain to auto-generate structured API test cases from JIRA stories, execute them dynamically with pytest, and produce rich HTML test reports.
This course is designed for QA Engineers, SDETs, and Automation Engineers who want to build a production-style, AI-assisted API testing workflow that automatically generates and executes test cases from real project requirements.
You’ll start by learning how to connect to JIRA and fetch story details, then see how those details are transformed into executable test cases using AI-powered prompt engineering. You'll also build a powerful pytest-based framework that supports dynamic test execution, custom validation, and professional-grade reporting.
Whether you're a QA engineer, SDET, or developer interested in practical AI integration, this course gives you a real-world project framework you can adapt and scale. From CI/CD-ready automation workflows to prompt tuning and error handling, everything is covered.
By the end of this course, you’ll have a fully working AI-integrated API testing framework — and the skills to extend it for any API-first project.
Skills you will learn:
1) JIRA Integration with Python
2) GenAI Integration with Pytest and Langchain
3) AI-powered prompt engineering
4) Pytest-HTML Reporting
We’ve added a brand-new Phase-2 module to take this AI-powered API automation framework to the next level.
In this update, you’ll learn how to:
Support multiple AI models (Gemini & Groq)
Enforce strict structured output from LLMs
Separate AI generation from regression execution
Execute tests in parallel using pytest-xdist
Enhance HTML reports with API request/response logging
These enhancements make the framework production-ready and aligned with enterprise QA architecture practices.
If you’ve completed Phase-1, I strongly recommend continuing with Phase-2 to understand how to scale AI automation in real-world environments.