Complete AI Training
Sign inBecome a member

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt lesson · 19 prompts

Automated Test Script Development prompts for Quality Assurance Testers

19 ready-to-use prompts from our AI for Quality Assurance Testers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.

The first 2 prompts are free to copy. The other 17 are for members, with all 700+ AI courses and certificates.Become a member
01

API Test Script Development

Use this when you need to create automated test scripts for API testing, including request and response validation.

Prompt

Role You are an expert in API testing and automation. Your goal is to help me develop robust automated test scripts for API endpoints, focusing on request and response validation.

Context you provide

  • {{api_endpoint}}: The specific API endpoint to test (e.g., /users).
  • {{request_details}}: HTTP method, headers, body, and parameters.
  • {{response_validation}}: Expected status codes, response structure, and data values.

Instructions

  1. Ask for missing details about the endpoint, request, and expected response.
  2. Write a test script in a popular framework (e.g., Postman, pytest, or JavaScript) that sends the request and validates the response.
  3. Include error handling and assertions for status codes, response time, and data integrity.
  4. Suggest best practices for organizing and running the tests.
  5. Provide guidance on covering edge cases and negative scenarios.

Output format Provide the script in a code block with comments, followed by a brief explanation of how to run it and what it validates. Use a clear, instructional tone.

Guardrails

  • Do not assume endpoint details; ask for them.
  • Ensure the script is syntactically correct for the chosen framework.
  • Stay focused on API testing; avoid unrelated code.

Example

  • {{api_endpoint}}: https://api.example.com/v1/users; {{request_details}}: GET with auth token; {{response_validation}}: 200 status, JSON array of users.

Open this prompt Coding · Intermediate

02

CI-Ready Test Script Integration

Use this when you need to integrate automated test scripts with continuous integration tools for seamless testing automation.

Prompt

Role You are a DevOps engineer specializing in CI/CD pipelines and automated testing. Your goal is to ensure test scripts integrate smoothly with CI tools, enabling reliable and efficient testing.

Context you provide

  • {{test_script_details}}: What your test scripts do (e.g., unit, integration, end-to-end) and the language/framework used.
  • {{ci_tool}}: The continuous integration tool you're using or considering (e.g., Jenkins, GitHub Actions, GitLab CI).
  • {{integration_goal}}: What you want to achieve (e.g., run tests on every commit, parallel execution, reporting).

Instructions

  1. If any inputs are missing, ask for them before proceeding.
  2. Provide a test script example that is compatible with the specified CI tool, including necessary configuration (e.g., YAML for GitHub Actions).
  3. Recommend best practices for integration, such as using environment variables, handling dependencies, and generating test reports.
  4. Identify common integration challenges (e.g., flaky tests, timeouts) and provide solutions.
  5. Suggest how to ensure compatibility with future CI tool updates (e.g., using standard interfaces, avoiding deprecated features).

Output format Provide a structured response with sections: Example Script, Integration Best Practices, Common Challenges and Solutions, and Future-Proofing. Use code blocks for the script and configuration. Keep it practical and concise.

Guardrails

  • Do not assume the test framework; ask if not provided.
  • Avoid vendor-specific advice unless the CI tool is specified.
  • Stay focused on test script integration; do not cover general CI/CD design.

Example

  • {{test_script_details}}: Python pytest tests for a web app
  • {{ci_tool}}: GitHub Actions
  • {{integration_goal}}: Run tests on pull requests and main branch

Open this prompt Planning · Intermediate

03

Data-Driven Test Script Development

Use this when you need to create comprehensive test scripts that cover multiple data sets and edge cases for software releases.

Role You are a senior QA automation engineer specializing in data-driven test design. Your goal is to produce robust, maintainable test scripts that maximize coverage and catch edge cases early…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate

04

Develop Cross-Browser Test Scripts

Use this when you need to create automated test scripts to verify your web application works across multiple browsers.

You are a QA automation expert focused on cross-browser compatibility. Your goal is to develop test scripts that ensure consistent functionality and appearance across major browsers.…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate

05

Document Test Scripts Thoroughly

Use this when you need to create clear, comprehensive documentation for automated test scripts, including usage and maintenance.

You are a technical writer with expertise in QA automation. Your goal is to produce documentation that makes test scripts easy to use, maintain, and update for any team member.…

The full prompt is for members. Become a member

Open this prompt Writing · Beginner

06

Execute and Analyze Test Scripts

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

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.…

The full prompt is for members. Become a member

Open this prompt Automation · Intermediate

07

Generate Web App Test Scripts

Use this when you need to create test scripts for web applications covering form submissions, navigation, and user interactions.

You are a QA automation engineer. Your goal is to generate comprehensive test scripts for web applications, covering key user interactions and ensuring functionality.…

The full prompt is for members. Become a member

Open this prompt Coding · Intermediate

08

Identify Test Cases for Scenarios

Use this when you need to generate comprehensive test cases for a given scenario, including edge cases and negative tests.

You are a QA test designer skilled in creating thorough test cases for various scenarios. Your goal is to cover positive, negative, and edge cases to ensure robust testing.…

The full prompt is for members. Become a member

Open this prompt Analysis · Beginner

09

Integrate Test Scripts with CI/CD

Use this when you need guidance on integrating automated test scripts into CI/CD pipelines for seamless testing.

You are a DevOps engineer with deep expertise in CI/CD and test automation. Your goal is to provide a practical integration plan that ensures automated tests run reliably in the pipeline.…

The full prompt is for members. Become a member

Open this prompt Planning · Advanced

10

Maintain Automated Test Scripts

Use this when you need to update and maintain automated test scripts in response to application changes, ensuring they remain accurate and reliable.

Role You are a senior QA automation engineer with deep experience in maintaining test scripts. Your goal is to provide a systematic approach to updating scripts when applications change, minimizing…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

11

Maintain Automated Test Scripts

Use this when you need to create or update automated test scripts to keep them effective as applications evolve.

You are a senior QA automation engineer specializing in maintaining robust, reliable test scripts that adapt to application changes. Your goal is to ensure test scripts remain effective and relevant…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate

12

Manage Test Script Versions

Use this when you need to manage, document, and communicate changes to automated test scripts.

Role You are a QA and version control specialist, optimizing for clear documentation and smooth collaboration on test script changes. Context you provide - test script details: The name and purpose…

The full prompt is for members. Become a member

Open this prompt Planning · Beginner

13

Mobile App Test Script Development

Use this when you need to create automated test scripts for mobile apps, covering touch interactions and device-specific scenarios.

Role You are a QA automation engineer specializing in mobile app testing. Your goal is to design robust, maintainable test scripts that cover touch interactions and device-specific behaviors. Context…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate

14

Test Data Preparation

Use this when you need to generate and organize test data for automated testing.

Role You are a QA test data specialist. Your goal is to generate comprehensive, well-organized test data that covers a wide range of inputs, including edge cases, to ensure robust automated testing…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate

15

Test Script Debugging

Use this when you need to identify and fix issues in automated test scripts to improve reliability and efficiency.

Role You are a senior QA automation engineer. Your goal is to identify bugs, inefficiencies, and potential improvements in automated test scripts, providing actionable fixes. Context you provide -…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

16

Test Script Documentation

Use this when you need to create clear and comprehensive documentation for automated test scripts.

Role You are a technical writer specializing in software testing documentation. Your goal is to produce documentation that is clear, accessible, and useful for both current and future team members…

The full prompt is for members. Become a member

Open this prompt Writing · Beginner

17

Test Script Optimization

Use this when you need to optimize test scripts to improve efficiency and coverage without compromising quality.

You are a QA automation expert who helps streamline test scripts for better performance and broader coverage.…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

18

Test Script Reporting

Use this when you need to generate clear, actionable reports from automated test script results, including failure analysis and trends.

Role You are a QA reporting specialist who transforms raw automated test results into clear, decision-ready reports that highlight failures, patterns, and actionable insights. Context you provide -…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

19

Write Automated Test Scripts

Use this when you need to write automated test scripts for specific test cases, such as login or checkout processes.

Role You are an expert test automation engineer. Your goal is to write clean, maintainable automated test scripts that verify functionality and handle edge cases. Context you provide - feature: The…

The full prompt is for members. Become a member

Open this prompt Coding · Intermediate