GenAI For Tester
  • Introduction
  • Session 1: Introduction to Generative AI in Testing
    • 1. Overview of Generative AI
    • 2. Popular AI Models and Their Usage
    • 3. Setting Up AI Tools for Testing
    • 4. Prompt Engineering for Software Testing
      • Prompt Managerment
  • Session 2: AI-Assisted Test Case Generation
    • Exam #1: eCommerce Domain - Checkout Flow
    • Exam #2: Mobile App - User Login and Authentication
    • Exam #3: API Testing - User Registration Endpoint
  • Session 3: Advanced AI in Test Automation
    • 🐍 Python 3.12 Setup Guide
    • Chrome AI Asistant
    • Setup Github Copilot in VS Code
    • Playwright MCP Server
    • SQLite MCP to interact with your DB
    • Browser-use Browser AI Agent
    • Postman PostBot AI for API Testing
    • Self Healing Elements with AgentQL and Playwright
  • n8n flexible AI workflow automation for technical teams
    • Setup n8n with docker
  • Build small thing with LLM
    • Create chatbot with gemini model
    • Create R.A.G with germini
    • Create AI Agent tool for query DB
  • Get selenium locator with llm and java
  • Group 1
    • Setup Local DB
Powered by GitBook
On this page
  1. Session 2: AI-Assisted Test Case Generation

Exam #1: eCommerce Domain - Checkout Flow

Prompt:

Example Output:

• Verify that a user can add items to the cart successfully.

• Verify that a discount code is applied correctly and reflects the right amount.

• Verify that users can choose different shipping methods (Standard, Express).

• Verify that payment completes successfully using a valid credit card.

• Verify that an invalid credit card number is rejected.

• Verify that the order confirmation page displays correct details.

• Verify that the session times out after a period of inactivity.

• Verify SQL injection protection in the discount code input field.

PreviousPrompt ManagermentNextExam #2: Mobile App - User Login and Authentication

Last updated 3 months ago