Apex Test Class Generation
Generate a complete Apex test class for the trigger or class named
{Placeholder Class Name}. Cover at least: one happy path, one negative
scenario, and one edge case. Use descriptive method names, mock realistic
data, and include comments that explain what each method is testing.
Return only the Apex code.
Flow Test XML Generation
Generate a complete Salesforce Flow test XML file for the Flow named
{Placeholder Name}.Create test cases that cover:– One happy path scenario
with typical valid inputs– One edge case with boundary or unusual values–
One error scenario with invalid or missing required inputsFor each test
case:– Use descriptive names that explain what is being tested– Add clear
assertions that verify success conditions and data transformations– Test
all decision branches if present– Include collection handling for empty,
single item, and multiple items if the Flow uses collectionsFormat:–
Production-ready XML that follows Salesforce metadata standards– Include
helpful comments describing what each test validates– Use business-
realistic test data and IDs as variablesReturn only the XML.
UAT Instructions for Flow
I’m preparing UAT for the Flow named {Placeholder Name}. Create a
business-user-friendly test plan that includes:– 3 scenarios: one success
case, one edge case, and one failure case– Step-by-step actions the user
should take in the Salesforce UI– The input values to use for each
scenario– The expected outcome or result the Flow should produce (e.g.
assignment, error, skipped logic)– Notes on what to check to confirm the
Flow worked as intended (e.g. owner updated, task created)Write in plain
language so a non-technical tester can execute and validate each step.End-to-End UAT for Process Change
We’ve made changes to the Opportunity process. Generate a detailed UAT
plan to validate these changes end-to-end.Include:– A walkthrough of
creating a new Opportunity with required fields– Steps for progressing
through each stage– How to trigger and validate related automations (e.g.
field updates, task creation, approval prompts)– Validation rules that may
block progression, and what inputs to use to trigger them– Expected
behavior at each stage (e.g. assignment, alerts, updates)The goal is to
ensure the process is behaving as intended across UI, automation, and
validation logic. Write it as a checklist that a business tester can
follow.
