Complete AI Training

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.

All 18 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 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

  1. Ask for missing inputs before starting.
  2. Analyze the migration from the current to the target framework, identifying key differences and potential challenges.
  3. Provide a step-by-step migration plan, including preparation, execution, and post-migration validation.
  4. Highlight specific areas of caution, such as test data handling, locator strategies, and parallel execution.
  5. 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?