Welcome to the Automation Desktop Blueprint by 2x repository! This project serves as a comprehensive guide to understanding and integrating Artificial Intelligence (AI) and Large Language Models (LLMs) into modern software testing and Quality Assurance (QA) workflows.
The repository is structured systematically into chapters, covering theoretical concepts, practical exercises, and real-world projects to take you from fundamentals to advanced AI-assisted test automation.
To get the most out of this repository, we recommend following this progressive workflow for each chapter:
graph TD
A[🧠 Core Concepts] -->|Learn the Theory| B[📜 Templates & Rules]
B -->|Understand Constraints| C[🛠️ Practical Guides & Techniques]
C -->|See it in Action| D[✍️ Learning Process & Exercises]
D -->|Test Yourself| E[🚀 Real-World Projects]
style A fill:#e1f5fe,stroke:#01579b,stroke-width:2px
style B fill:#fff9c4,stroke:#fbc02d,stroke-width:2px
style C fill:#e8f5e9,stroke:#1b5e20,stroke-width:2px
style D fill:#ffe0b2,stroke:#e65100,stroke-width:2px
style E fill:#f3e5f5,stroke:#4a148c,stroke-width:2px
core_concepts/: Start here. Read these markdown files to build your foundational knowledge and terminology.rules_checklists/&templates/: Utilize reusable templates and strict rules (e.g., Anti-Hallucination guidelines, B.L.A.S.T.) to enforce consistency in your AI interactions.practical_guides/&techniques/: Explore these folders for step-by-step tutorials and prompt strategies (like RICE-POT).learning_practice/: Engage in hands-on, self-directed exercises (and refer to the solutions) to reinforce your learning.Project_.../: Synthesize and apply everything you have learned to comprehensive testing challenges and enterprise frameworks.
Directory: Chapter_01_LLM_BASICS/
In this foundational chapter, we explore the basics of Large Language Models (LLMs) and how to leverage them (both local and cloud-based APIs) for generating reliable test automation scripts. We establish critical guardrails like the Anti-Hallucination rules and the B.L.A.S.T. master system prompt to prevent AI drift or fabricated outputs.
flowchart LR
L1(Foundation Models & LLMs) --> L2(Local & API Setup)
L2 --> L3(B.L.A.S.T Rules & Anti-Hallucination)
L3 --> P1{Project 1: Local Test Generators}
style L1 fill:#e3f2fd,stroke:#1565c0
style L2 fill:#e3f2fd,stroke:#1565c0
style L3 fill:#e3f2fd,stroke:#1565c0
style P1 fill:#ede7f6,stroke:#4527a0,stroke-width:2px
| Type | Folder / Module | Description |
|---|---|---|
| 📚 Learning | core_concepts/ |
Architectural fundamentals of Foundation Models and LLM definitions. |
| 📚 Learning | practical_guides/ |
Practical guidance on setting up and interacting with LLMs locally and via APIs (such as Groq API). |
| 📚 Learning | rules_checklists/ |
Critical guardrails including the Anti-Hallucination rule-sets and the B.L.A.S.T. framework. |
| 📚 Learning | learning_practice/ |
Foundational exercises to practice basic LLM interaction skills and test prompt behavior. |
| 🚀 Project | Project_01_LocalLLMTestGenerator |
Standalone App: Building a standard, self-contained local application for generating tests using local models. |
| 🚀 Project | Project_01_LocalLLMTestGenerator_Antigravity |
Agentic Architecture: A specialized test generator built using an advanced agentic system (Antigravity). |
| 🚀 Project | LocalLLMTestGenBuddy |
Submodule Component: A reusable codebase component utilized for assisting local test generation contexts. |
Directory: Chapter_02_PROMPT_ENGINEERING/
This chapter dives deep into the art and science of Prompt Engineering tailored specifically for automation engineers. We introduce vital prompt frameworks—like RICE-POT (Role, Instructions, Context, Example, Parameters, Output, Tone)—and use advanced techniques to generate enterprise-grade automation frameworks, ensuring strict compliance with production-level standards.
flowchart LR
P1(Anatomy of a Prompt) --> P2(Frameworks: STAR, CLEAR)
P2 --> P3(RICE-POT Mastery)
P3 --> P4(Zero-Shot, Few-Shot, CoT)
P4 --> P5{Project 2: Enterprise Framework Generation}
style P1 fill:#e8f5e9,stroke:#2e7d32
style P2 fill:#e8f5e9,stroke:#2e7d32
style P3 fill:#e8f5e9,stroke:#2e7d32
style P4 fill:#e8f5e9,stroke:#2e7d32
style P5 fill:#ede7f6,stroke:#4527a0,stroke-width:2px
| Type | Folder / Module | Description |
|---|---|---|
| 📚 Learning | core_concepts/ |
The core anatomy of prompts and overviews of standard frameworks like STAR, CLEAR, and CRISP. |
| 📚 Learning | techniques/ |
Deep-dives into advanced QA techniques: Few-Shot, Chain-of-Thought, Zero-Shot, and Role-playing. |
| 📚 Learning | practical_guides/ |
Step-by-step practical guides to writing effective QA and automation instructions from scratch. |
| 📚 Learning | learning_practice/ |
Hands-on prompt engineering exercises with detailed, documented solutions for practical mastery. |
| 🚀 Project | Project_02_Prompt_Templates |
Template Engine: A repository containing reusable, high-quality prompt templates specifically designed for QA Tasks (e.g., API testing, Bug Reports). |
| 🚀 Project | Project_02_REAL_PROJECT_PE |
Test Planning via LLMs: Applying prompt engineering to ingest a real-world product context (VWO Platform) to auto-generate thorough Test Plans. |
| 🚀 Project | Project_02_RICE_POT_Selenium_FW |
Framework Generation: Using the RICE-POT framework to completely architect and generate an enterprise-grade Selenium TestNG Page Object Model. |
| 🚀 Project | Project_03_RICE_POT_Playwright_Advance_FQ |
Advanced UI Testing: Extending prompt engineering capabilities to architect and build robust end-to-end modern testing solutions using Playwright. |
Continue following this repository for future chapters exploring deeper AI integrations!