Guide · Testing

How to automate UAT testing for a Salesforce or ServiceNow implementation

Automate the stable business flows that repeat, keep exploratory and judgement tests manual, and have business users sign off on the evidence. On ServiceNow, build Automated Test Framework (ATF) tests and suites from the approved requirements and run them in sub-production. On Salesforce, gate each production deploy with Apex tests, run UAT in a Full or Partial Copy sandbox, and automate the journeys you re-run after each fix. Lab0, an AI implementation partner for enterprises, drafts the test plan and cases from your locked requirements, writes and runs ATF tests on your ServiceNow instance, and drafts Salesforce Apex tests that a person approves before deploy and run.

Updated 2 December 2026 · Written by Lab0

What to automate and what to keep manual

UAT proves that the configured system supports the business. Automation can repeat the checks, but it cannot decide that the process is right. Split the work this way.

  • Automate the stable flows that repeat. Incident to resolution, catalog request to fulfilment, change approval, lead to opportunity, quote approval and case handling. You re-run these after every fix and every release.
  • Automate the data checks. Field values, assignments, approvals and the records each step creates are faster and more reliable to check by script than by eye.
  • Keep exploratory and judgement tests manual. Usability, wording, edge cases a user spots, and any journey whose design is still changing.
  • Keep sign-off with the business. Process owners review the evidence for each requirement and sign off. Automated runs are the evidence, not the decision.

Write every test from an approved requirement and keep the link. A failed test then points to the requirement it breaks, and the requirements traceability matrix shows which requirements have passed.

Test layers on ServiceNow and Salesforce

Each platform ships its own test tools. Use them for the checks on each platform, and add end-to-end tests for the journeys that cross systems.

Test layerServiceNowSalesforceAutomate or keep manual
Platform test frameworkAutomated Test Framework (ATF). A test is an ordered list of steps, such as open a form, set field values, submit and check the record. Tests group into suites, and a suite can hold other suites. Steps that use a form run in a browser where a client test runner is open.Apex tests. Deploying Apex code to production needs at least 75 percent code coverage, some coverage on every trigger, and every test passing. Coverage only shows that code ran, so each test should also assert the result.Automate. Write the tests from approved requirements and keep the suite.
Deploy gateCommit each update set to a sub-production instance and run the ATF suite there before the update set moves on to production.Validate the deploy against production first. A validation runs the Apex tests without deploying, and a validation that passes can be quick-deployed within 10 days.Automate. A failed run stops the promotion.
Test environmentsDevelopment and test instances cloned from production, with personal data masked. ServiceNow switches ATF test execution off by default and advises against running it on production.Developer and Developer Pro sandboxes copy metadata only and can be refreshed daily. Partial Copy holds a sample of records chosen by a sandbox template and can be refreshed every 5 days. Full holds all data and can be refreshed every 29 days.Set up once. Plan a refresh before each UAT cycle and each release.
End-to-end journeysRequest to fulfilment, incident to resolution and change to close, with their notifications and integrations. ATF covers the steps on the instance. A journey that continues in another system needs a test that spans both.Lead to cash, quote approval and case to resolution, often across Salesforce and the ERP. Lightning pages render dynamically, so browser-level tests need stable locators, and API checks confirm the data.Automate the stable journeys you re-run. Test new or changing ones by hand first.
Exploratory and usabilityNew forms, portals and workspaces, as users see them.Lightning pages, Experience Cloud sites and the mobile app, as users see them.Keep manual.
Business sign-offProcess owners review the evidence for each requirement and sign off.Process owners review the evidence for each requirement and sign off.Keep manual. Automation supplies the evidence; people make the decision.

Test data decides how much of this works. Agree the records each test needs during discovery, load them before UAT, and keep them stable between runs.

Release dates: why the suite outlives go-live

Both platforms upgrade on the vendor's calendar, so UAT automation keeps paying after go-live. Each release can change forms, flows, page layouts and the platform behaviour your tests depend on.

PlatformReleases a yearLatest release (general availability)Where to test it first
ServiceNowTwo family releasesBrazil, 5 November 2026. Australia came before it, on 5 May 2026.A sub-production instance upgraded first, then production in an agreed window
SalesforceThree: Spring, Summer and WinterWinter '27, 12 October 2026A sandbox on a preview instance, which gets each release weeks before production

Run the suite on the upgraded sub-production instance or the preview sandbox, fix what fails, and run it again before the production upgrade. See how to prepare for a ServiceNow family release upgrade and how to regression test Salesforce releases.

Third-party test tools, by type

The platforms' own frameworks cover the checks on each platform. For journeys that cross systems, or for one suite across several platforms, there are four kinds of third-party tool.

  • Salesforce-specific test tools that read the org's metadata, so tests survive changes to Lightning pages.
  • Codeless cross-platform tools that cover ServiceNow, Salesforce and ERPs in one suite, often with ready-made tests for standard processes.
  • Open-source browser automation frameworks, which give full control but need engineers to write the tests and maintain their locators.
  • Cloud browser and device grids that run the same UI tests across browsers and devices.

Whichever you choose, write the tests from the approved requirements, run them on sub-production or a sandbox, and keep the evidence for each requirement. A UAT test script template with entry and exit criteria gives the manual tests the same structure.

What you receive from Lab0

Lab0 is an AI implementation partner for enterprises. On ServiceNow and Salesforce projects, its consultants and engineers lead the work, and its agents draft and run tests under them. For UAT, you receive:

  • A test plan and test cases drafted from your locked requirements.
  • ServiceNow ATF tests written and run on your instance's own test runner. The tests stay on your instance for the next family release.
  • Salesforce Apex tests drafted for your org. A person reviews each test, approves the deploy and then approves the run, and results come back for each test method.
  • Each test case mapped to its requirement in the traceability matrix, so sign-off is a review of evidence.

Agents start read-only, and a person grants write access per chat. Changes go to a test environment first, and a consultant approves every output before your team sees it. Your process owners keep the sign-off. On one Adobe AEM customer-journey engagement for a large bank, Lab0 cut journey UAT from three months to two weeks. See how to cut UAT time on other platforms.

FAQ

Common questions

Can you automate UAT on ServiceNow with the Automated Test Framework?
Partly. The Automated Test Framework (ATF) automates repeatable checks on the instance: forms, catalog items, approvals and server-side logic. Write the tests from approved requirements, group them into suites and run them on a sub-production instance. ServiceNow switches test execution off by default and advises against running ATF on production. ATF checks only what happens on the instance, so a journey that continues in another system needs a separate end-to-end test, and business users still sign off.
How do Apex tests and deploy validation fit into Salesforce UAT?
Apex tests are developer tests, not UAT, but they gate every production deploy that includes Apex code. Salesforce requires at least 75 percent Apex code coverage, some coverage on every trigger, and every test passing. Validate the deploy against production before the release window: a validation that passes can be quick-deployed within 10 days without running the tests again. UAT then checks the business journeys in a sandbox with realistic data.
Which Salesforce sandbox should we use for UAT?
Use a Full sandbox when UAT needs all production data and volumes, or a Partial Copy sandbox when a sample of records chosen by a sandbox template is enough. Developer and Developer Pro sandboxes copy metadata only, so they suit build and unit testing. Plan refreshes around Salesforce's limits: a Full sandbox can be refreshed every 29 days, a Partial Copy every 5 days, and Developer sandboxes once a day.
What should stay manual in UAT?
Keep exploratory testing, usability checks and judgement calls manual, along with any journey whose design is still changing. Sign-off stays manual too: automation produces the evidence, and the process owner decides whether it proves the requirement. Automate the stable flows that repeat after every fix and every release, such as incident to resolution, catalog request to fulfilment, lead to opportunity and case handling.
What does Lab0 deliver for UAT on ServiceNow and Salesforce?
Lab0 drafts the test plan and test cases from your locked requirements and maps each test case to its requirement in the traceability matrix. On ServiceNow, it writes Automated Test Framework tests and runs them on your instance's own test runner, where they stay for the next family release. On Salesforce, it drafts Apex tests, and a person approves the deploy and the run. A consultant approves every output before your team sees it.

We’d love to hear what you’re working on.

Planning a rollout, or already deep into one? Tell us where things stand. We’ll reply by email and find a time that suits you.