D365Forge

Templates › Test strategy and UAT script pack

Test strategy and UAT script pack

Format
Word (docx)
Owning skill
testing-quality:test-strategy
Tailored from
organisation, goals, estate, modules_in_scope, roles, generated_on
Status
draft

How to use this template

The test manager ({{roles.test-manager}}) writes the strategy in Initiate and agrees it with the solution architect and the process owners before the first sprint, so that testing is planned into the build rather than bolted on at the end. Process owners ({{roles.process-owner}}) and super users write the UAT scripts during Implement from the signed-off process maps and user stories, and execute them in Prepare. Update the strategy when scope, environments or the release plan change, and keep the UAT script pack as the regression baseline for future release waves.

Guidance: Test what the business depends on, not every setting. Prioritise end-to-end processes, security roles, integrations and migrated data; Microsoft already tests the standard platform.

SMB: Combine SIT and UAT into one business-led cycle if the solution is mostly standard configuration, but keep separate exit criteria and a written UAT sign-off.

Enterprise only: Run distinct SIT and UAT cycles across modules, add performance testing, automated regression and a test tool with traceability from requirement to test to defect.

Document control

VersionDateAuthorSummary of changeApproved by
0.1{{generated_on}}{{roles.test-manager}}First draft generated from organisation profile

1. Scope and objectives

Scope covers {{modules_in_scope}} for {{organisation.name}}, including integrations with {{estate.integrations}} and data migrated from {{estate.current_crm}}.

Guidance: State the objectives in business terms, linked to the success measures ({{goals.success_measures}}). List explicitly what will not be tested (for example, standard platform features used without change).

2. Test levels

LevelPurposePerformed byEnvironmentEntry criteriaExit criteria
Unit and componentEach configuration item or extension works as designed{{roles.developer}}, consultantsDevelopmentStory builtAcceptance criteria met
System integration testing (SIT)End-to-end processes across modules and integrations{{roles.test-manager}}Test or SITBuild complete, interfaces deployedNo open critical or high defects
Data migration validationMigrated data is complete and usable{{roles.data-migration-lead}} with independent checkerTest or SITMock migration loadedReconciliation signed off
Security and role testingEach persona sees and does only what it should{{roles.security-lead}}Test or SITSecurity roles builtAll persona tests passed
PerformanceKey forms, views and integrations meet agreed expectations{{roles.test-manager}}Pre-production or UATRepresentative data volumesAgreed expectations met
User acceptance testing (UAT)The business confirms it can run its processes{{roles.process-owner}}UATSIT exit, UAT scripts approved, testers trainedSigned UAT sign-off per process
RegressionChanges and release waves do not break working processes{{roles.test-manager}}Sandbox on early accessRegression pack currentPack passed or issues accepted

3. Environments and test data

Guidance: Describe the test data set for each level. Do not copy production personal data into test or UAT without masking or an approval agreed with the DPO or legal adviser ({{roles.data-protection-officer}}). Test users must hold the same security roles as the real personas; testing as a system administrator hides most security defects.

4. Defect management

SeverityDefinitionExpected response
CriticalA core process cannot be completed and there is no workaroundFix before the cycle continues
HighA core process is impaired; a workaround exists but is not acceptable for go-liveFix before exit
MediumA secondary function is impaired; acceptable workaround existsFix or defer by agreement
LowCosmetic or minor inconvenienceDefer to backlog

Guidance: Agree who triages defects, how often, and who may defer a defect. A process owner, not the delivery team, decides whether a workaround is acceptable for go-live.

5. Roles

RoleResponsibility
{{roles.test-manager}}Strategy, planning, defect triage, exit reports
{{roles.process-owner}}UAT scope, script approval, sign-off
Super users and testersExecute UAT scripts and record evidence
{{roles.developer}} and consultantsFix defects, unit test

Guidance: The person who built a change should not be the one who signs off its testing.

6. Release wave regression

Guidance: Describe how the UAT pack is reduced to a regression pack, which sandbox is used for early access testing, and who decides whether a release wave issue blocks the update. Check current Microsoft Learn documentation for release wave dates. Consider automating the most-used processes.

7. UAT approach

UAT runs in Prepare, before the go/no-go decision and ahead of the target go-live of {{goals.target_go_live}}.

Guidance: Plan UAT as scenarios that follow a real piece of work from start to finish across teams (for example, an enquiry becoming an opportunity, a quote and an order). Give testers short training first, run UAT in a room or channel with the consultants available, and hold a daily triage. Allow time for a retest cycle.

8. UAT script format

Each script follows a process from start to finish under one persona. Record evidence (screenshots or record references) for every step marked as a checkpoint.

Script IDModuleProcessScenarioPersona and security rolePreconditionsStepActionTest dataExpected resultActual resultPass or failDefect referenceTesterDate
UAT-SAL-01SalesLead to opportunityQualify an inbound web leadSalespersonLead exists, assigned to tester1Open the lead and complete qualification fieldsTest lead ABusiness process flow advances to the next stage
UAT-SAL-01SalesLead to opportunityQualify an inbound web leadSalesperson2Qualify the leadAccount, contact and opportunity created and linked; no duplicate account
UAT-CS-01Customer ServiceCase to resolutionCustomer emails the support addressService agentMailbox and email-to-case configured1Send an email from a test customer addressTest contact BCase created, linked to the contact and routed to the correct queue
UAT-CS-01Customer ServiceCase to resolutionCustomer emails the support addressService agent2Pick the case, reply and resolve itReply on timeline; SLA timer stops; case resolved
UAT-FS-01Field ServiceWork order to completionReactive repair visitDispatcher, then technicianCustomer asset and incident type exist1Create a work order and schedule it on the schedule boardTest asset CBooking created for an available technician
UAT-FS-01Field ServiceWork order to completionReactive repair visitTechnicianField Service Mobile signed in2Complete tasks, record parts used and close the bookingWork order status updated; product usage recorded
UAT-MKT-01MarketingCampaign to leadProspect submits a marketing formMarketing userForm published on test page1Submit the form with consent tickedTest prospect DContact or lead created with consent recorded and journey started

Guidance: Delete rows for modules not in scope and write one script per process variant that matters to the business. Each expected result must be checkable by a business tester without technical knowledge.

9. UAT sign-off

ProcessScripts executedPassedOpen defects (by severity)Workarounds acceptedDecision (accept, accept with conditions, reject)Process ownerDate
{{roles.process-owner}}

10. Approval of this strategy

NameRoleDecisionDate
{{roles.test-manager}}Test manager
{{roles.solution-architect}}Solution architect
{{roles.process-owner}}Process owner

Credit: Template from D365Forge by Simon Foote and Robert Peledie (https://github.com/SimonFoote-greensparx/D365Forge), licensed under CC BY 4.0. Keep this credit when you share or adapt the template; in your own completed document you may keep it as a footer or remove it.