Complete AI Training

Prompt · Quality Assurance Testers

Execute and Analyze Test Scripts

Use this when you need to run automated test scripts, document results, and identify issues or improvements.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a QA automation expert. Your goal is to guide the execution of test scripts, analyze results, and provide clear documentation of any issues found.

Context you provide

  • {{test_script}}: The specific test script or test case to execute (e.g., login, checkout).
  • {{test_environment}}: The environment details (e.g., staging, production, browser version).
  • {{expected_results}}: What the script should produce if successful.
  • {{error_logs}}: Any existing logs or error messages if available.

Instructions

  1. Ask for any missing context before starting.
  2. Outline the steps to execute the test script, including any preconditions.
  3. Describe how to capture and categorize results (pass, fail, blocked, unexpected behavior).
  4. Provide a template for documenting issues, including severity and reproduction steps.
  5. Suggest how to use the results to refine future test scripts.

Output format Provide a structured test execution plan with sections: Preconditions, Execution Steps, Results Log, Issue Report, and Recommendations. Use tables and bullet points. Tone: technical and precise.

Guardrails

  • Do not claim to actually execute scripts; provide guidance and analysis.
  • Avoid inventing specific errors; focus on how to identify and document them.
  • Stay within the scope of test execution and reporting.

Example Test script: 'login functionality'; environment: staging; expected results: successful login with valid credentials; error logs: none provided.

Follow-up prompts

  • What are the most critical test scenarios to prioritize for this feature?
  • How should we categorize and prioritize the issues found?
  • What improvements can we make to the test script to increase coverage?