AI Prompt to Generate Test Cases

Generate Multi Test Cases using AI Prompt

This feature in QA Touch enables teams to:

Enter a simple prompt (like “Login module” or “Shopping cart edge cases”). Choose the number of test cases to generate (e.g., 5, 10, 15). Free user can select 5 limit Instantly receive structured, detailed test cases with clear steps and validations. Save them directly into your QA Touch project.

How It Works (Step-by-Step)

  1. Login to QA Touch
  2. Go to the Test Cases section in QA Touch.
  3. Click Generate Multi Test Cases using AI Prompt.
  4. Choose between two modes: Exploratory Session: AI suggests exploratory scenarios for rapid coverage. Test Case (Steps): AI generates structured step-by-step test cases.
  5. Enter your feature/module prompt in natural language. Example: “Shopping cart: Test add, update, remove, checkout, validation, discounts, and edge cases carefully.”
  6. Set the Test Case Limit (e.g., 5,10,20).
  7. Click Generate within seconds based on limit, QA Touch will create detailed test cases.
  8. Review, refine, and save them directly into your project.
prompt gif Generate-Multi-Test-Cases-using-AI-Prompt-1.webp image

AI Feature

Generate-Multi-Test-Cases-using-AI-Prompt-2.webp image

AI Prompt Test Case

Generate-Multi-Test-Cases-using-AI-Prompt-3.webp image

Shopping Cart Prompt

Generate-Multi-Test-Cases-using-AI-Prompt-4.webp image

Test Case Limit (e.g., 5, 10, 20) Generate

Generate-Multi-Test-Cases-using-AI-Prompt-5.webp image Generate-Multi-Test-Cases-using-AI-Prompt-6.webp image Generate-Multi-Test-Cases-using-AI-Prompt-7.webp image

Final Step : Click Save button

Generate-Multi-Test-Cases-using-AI-Prompt-8.webp image

Example Action : Login Module

Prompt:

“Login module: Test valid login, invalid login, password reset, session handling, and security checks.”

AI-Generated Test Cases Might Include:

  1. Valid login with correct username and password.
  2. Invalid login with incorrect password.
  3. Login with unregistered email.
  4. Password reset with valid email.
  5. Password reset with invalid email.
  6. Session timeout handling.
  7. Multiple failed login attempts leading to account lock.
  8. Login with special characters in username.
  9. Successful login with “Remember Me” checked.
  10. Logout functionality after login.