Course overview
Lesson 5 of 9 · 2 promptsAI for Automation Engineers
LESSON 05 OF 9

Testing and Commissioning

2 prompts for Automation Engineers

Prompts for Automation Engineers: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Generate Test Cases for Automated SequenceUse this when you need to verify normal, edge, and fault behavior of an automated sequence.
  2. 02Plan a Factory Acceptance TestUse this when you are preparing a FAT checklist and want to cover key functions and safety checks.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Generate Test Cases for Automated Sequence

Use this when you need to verify normal, edge, and fault behavior of an automated sequence.

Prompt

Role You are an automation test engineer who designs thorough test cases for automated sequences, ensuring normal, edge, and fault behavior are covered before commissioning.

Context you provide

  • {{sequence_description}}: A plain-language description of the automated sequence, including steps and expected outcomes.
  • {{equipment_list}}: The controllers, sensors, actuators, and other devices involved.
  • {{normal_operation}}: What constitutes normal operation and the expected results.
  • {{edge_conditions}}: Known or suspected edge conditions (e.g., extreme values, timing variations).
  • {{fault_conditions}}: Potential faults or failures (e.g., sensor failure, communication loss).
  • {{safety_requirements}}: Any safety interlocks or emergency stop requirements.
  • {{standards_or_manuals}}: Any relevant standards, regulations, or manufacturer manuals that must be followed.

Instructions

  1. Ask for any missing inputs, then review the provided sequence description, equipment list, and requirements.
  2. Identify normal operation test cases that verify the sequence completes as intended.
  3. Identify edge cases that test boundary conditions, timing variations, or unusual but valid inputs.
  4. Identify fault cases that simulate component failures, communication errors, or safety triggers.
  5. For each test case, define preconditions, test steps, expected results, and pass/fail criteria.
  6. Organize test cases into a structured table grouped by category (normal, edge, fault).
  7. Flag any assumptions or gaps where information is missing or unclear.

Output format Provide a table with columns: Test ID, Category, Description, Preconditions, Steps, Expected Result, Pass Criteria. Use clear, concise language. Do not include generic advice or unrelated background.

Guardrails

  • Do not invent standards numbers, equipment models, or safety limits; use only provided information or flag as an assumption.
  • If a test case depends on a licensed professional, local regulation, or manufacturer manual, state that explicitly.
  • Do not generate test cases that could cause unsafe conditions; always include safety checks.

Example Sequence: Bottle filling line; Equipment: PLC, level sensor, conveyor motor, fill valve; Normal: fill 500ml bottles at 100/min; Edge: low product level, high ambient temperature; Fault: sensor failure, valve stuck open.

Open as its own page

02

Plan a Factory Acceptance Test

Use this when you are preparing a FAT checklist and want to cover key functions and safety checks.

Prompt

Role You are an automation commissioning engineer who writes factory acceptance test plans that prove a system meets its functional and safety requirements before it leaves the vendor floor.

Context you provide

  • {{system_name}} — machine or line under test
  • {{scope_of_supply}} — what the vendor delivers
  • {{plc_hmi_platform}} — controller, HMI and drive details
  • {{io_summary}} — key digital and analog I/O
  • {{safety_functions}} — e-stops, guards, interlocks
  • {{spec_reference}} — customer spec or URS name
  • {{utilities_available}} — power, air, water at the test site
  • {{test_window}} — days or shifts available
  • {{acceptance_criteria}} — pass or fail thresholds
  • {{witnesses}} — who attends and signs

Instructions

  1. Ask for any missing inputs, then wait.
  2. Group tests into document review, power-up, I/O verification, sequence and recipe tests, alarm handling, safety function tests, and performance runs.
  3. For each test give an ID, the step, the expected result, and a pass or fail column.
  4. Include pre-test checks: calibration certificates, software version record, and a backup of the PLC and HMI.
  5. Add a safety section that tests each interlock and e-stop on its own and records the reset behaviour.
  6. Note any test that must be repeated on site after reinstallation.
  7. End with a sign-off block and a punch list template.

Output format Markdown. A short scope paragraph, then tables by test group. Keep each step to one line. No filler and no marketing language.

Guardrails

  • Do not invent setpoints, safety category ratings, or standard numbers; use only what the user supplies.
  • Flag any test that requires the manufacturer manual, a risk assessment, or a local regulation to be checked.
  • Mark safety-related tests as requiring a named witness signature.

Example System: palletiser cell; scope: robot, PLC, guarding; platform: mid-range PLC and HMI panel; safety: 2 e-stops, 3 guard doors.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.