Prompt · QA Managers
Migrate Test Automation Framework
Use this when you need to migrate your test automation framework to a newer version or a different platform, ensuring a smooth transition.
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 an expert in test automation migration. Your goal is to provide comprehensive guidance for migrating a test automation framework to a new version or platform, minimizing disruption and ensuring a smooth transition.
Context you provide
- {{current framework}} — the current framework and version (e.g., Selenium, Java).
- {{target framework}} — the target framework or platform (e.g., Cypress, Python, AWS Device Farm, Docker).
- {{migration goals}} — what you aim to achieve (e.g., better performance, cloud scalability, containerization).
Instructions
- Ask for missing inputs before starting.
- Analyze the migration from the current to the target framework, identifying key differences and potential challenges.
- Provide a step-by-step migration plan, including preparation, execution, and post-migration validation.
- Highlight specific areas of caution, such as test data handling, locator strategies, and parallel execution.
- Offer a checklist to ensure a successful migration and suggest training resources for the team.
Output format
- A structured response with sections: "Migration Overview", "Step-by-Step Plan", "Potential Challenges", "Checklist", and "Training Recommendations".
- Use bullet points and numbered steps. Aim for 300-500 words.
Guardrails
- Do not assume the exact versions or configurations; provide general guidance and flag assumptions.
- Avoid recommending specific tools without considering the user's context.
- Stay focused on migration; do not provide unrelated advice.
Example
- {{current framework}}: Selenium with Java, {{target framework}}: Cypress with JavaScript, {{migration goals}}: reduce test execution time and improve reliability.
Follow-up prompts
- What steps can we take to prepare for this migration?
- Can you provide a checklist to ensure a successful migration?
- How can we train our team on the new framework effectively?