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.
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 layer | ServiceNow | Salesforce | Automate or keep manual |
|---|---|---|---|
| Platform test framework | Automated 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 gate | Commit 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 environments | Development 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 journeys | Request 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 usability | New 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-off | Process 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.
| Platform | Releases a year | Latest release (general availability) | Where to test it first |
|---|---|---|---|
| ServiceNow | Two family releases | Brazil, 5 November 2026. Australia came before it, on 5 May 2026. | A sub-production instance upgraded first, then production in an agreed window |
| Salesforce | Three: Spring, Summer and Winter | Winter '27, 12 October 2026 | A 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.