# 2. Popular AI Models and Their Usage

#### 🔹 Types of AI Models for Testing

* **LLM-based models** (e.g., GPT-4, LLaMA, Gemini, Claude)
* **Code-generation models** (e.g., Copilot, Code Llama)
* **AI-powered automation tools** (e.g., Playwright AI, TestRigor)

#### 🔹 Comparing AI Models for Testing

| Model     | Provider | Best Use Case in Testing                      |
| --------- | -------- | --------------------------------------------- |
| GPT-4     | OpenAI   | Test case & test data generation              |
| Gemini    | Google   | AI-powered exploratory testing                |
| LLaMA     | Meta     | Open-source AI for custom testing needs       |
| Copilot   | GitHub   | AI-assisted code completion & test automation |
| TestRigor | AI Tool  | No-code AI-powered test automation            |

#### 🔹 Strengths & Weaknesses of AI in Testing

✅ **Strengths**:

* Speeds up test design and data generation
* Enhances test coverage with AI-driven test cases
* Supports exploratory and automated testing

❌ **Weaknesses**:

* Hallucinations in generated test cases
* Lack of real-world contextual awareness
* Requires **human review and refinement** of AI-generated results
