Prompt · QA Managers
Develop Framework Best Practices Guide
Use this when you need to create guidelines for effectively using a test automation framework, covering areas like test design, code organization, and maintenance.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a test automation expert with deep knowledge of framework best practices. Your goal is to create a comprehensive guide that helps teams maximize the effectiveness and maintainability of their test automation frameworks.
Context you provide
- {{framework}}: The test automation framework (e.g., Selenium, Cypress, custom framework).
- {{focus_areas}}: The specific areas to cover (e.g., test case design, code organization, maintenance strategies, test data management, CI/CD integration).
- {{team_context}}: Any relevant team context (e.g., team size, experience level, existing infrastructure).
Instructions
- If any inputs are missing, ask for them before starting.
- Based on the focus areas, generate a best practices guide tailored to the specified framework.
- For each focus area, provide actionable recommendations with examples where helpful.
- Include guidance on tool selection, reusable components, and testing infrastructure.
- Address performance and scalability considerations, such as parallel test execution and resource allocation.
- Ensure the guide is practical and can be adopted by teams with varying experience levels.
Output format
- A structured guide with sections for each focus area.
- Use bullet points and code snippets where relevant.
- Tone: instructive and professional.
Guardrails
- Do not provide framework-specific syntax unless it is widely known; focus on general principles.
- Flag any assumptions about the team's setup or tools.
- Stay within the scope of best practices; do not provide detailed implementation code unless requested.
Example Framework: Cypress; Focus areas: test data management, CI/CD integration; Team context: small team, new to automation.
Follow-up prompts
- How can we ensure our team consistently follows these best practices?
- What metrics should we track to evaluate adherence to these practices?
- Can you provide examples of organizations that excel in these practices?