Cross-Validation Rules User acceptance testing (UAT)
Overview
User acceptance testing (UAT) is the last step before you move Cross-Validation Rules from sandbox to production. During UAT, you build your rules in sandbox, save transactions that pass and fail each rule, and confirm the right people can build rules and review exceptions. Netgain recommends finishing UAT before you transfer rules to production.
The Cross-Validation Rules UAT Test Cases workbook walks you through the process. Cases are grouped by section and marked Required or Optional. Each one lists the steps, the expected result, and the Knowledge Center article that covers it.
What's in the workbook
| Tab | Use it to |
|---|---|
| Start here | Read how to use the file and what each status means |
| Test cases | Work through 20 test cases (16 required, 4 optional) and record the results |
| Rule test log | Track each rule you build: its owner, action, test results, and approval |
| Go-live sign-off | Check progress, record the settings to apply in production, and capture approvals |
Required and optional test cases
- Required cases apply to every implementation. Mark one N/A only when its steps tell you to skip it, for example when you don't import transactions by CSV.
- Optional cases apply when you use that feature, such as bulk rule import or journal approvals.
Prerequisites
- Shared Transactions by Netgain is installed and up to date in your sandbox account. Cross-Validation Rules ships inside this SuiteApp. See Cross-Validation Rules Install the SuiteApp and Cross-Validation Rules Updating Your SuiteApp.
- Sandbox has the accounts, segments, custom fields, and roles your rules will use. It also has at least one transaction of each type you plan to cover, because a transaction type can't be selected on a rule until one exists in the account.
- You have a list of the accounting policies you want to enforce and who owns each one.
Step-by-step process
- Download the workbook and save a copy for your team.
- Setup and access: confirm the SuiteApp version, assign permissions and check each role's access, review system settings, and set up sourcing for any custom fields your rules use.
- Plan and build: list each policy on the Rule test log tab, choose Prevent or Detect, and create your rules in sandbox, by hand or by CSV import. For common rules to start from, see Cross-Validation Rules Examples.
- Test each rule: save one transaction that passes and one that violates each rule, signed in as the roles that enter transactions.
- Other ways transactions are created: test CSV imports, integrations, and scripts that create transactions your rules cover.
- Exception reports: review the Reported Exceptions and Outstanding Exceptions reports.
- Rule maintenance: change a rule, then deactivate it, and confirm the result.
- Prepare for production: get each rule approved, export the rule files, match internal IDs to production, and confirm production is on the version you tested. Complete the Go-live sign-off tab.
- Transfer your rules using Cross-Validation Rules Importing rules, then run the Production check case.
Testing tips
- Test both sides of every rule. Until you save a violating transaction, a rule that never fires looks the same as one that works.
- Test as the people who will see the rule. Sign in with the roles that enter transactions, and check that the error message tells them what to fix.
- Blocked saves are logged too. When a Prevent rule blocks a save, the Reported Exceptions report records it with status Prevented. It has no transaction link, because the transaction was never saved.
- If a rule doesn't fire: confirm the rule is Active, the transaction type is selected, and every requirement has an Enforcement Direction. On a rule with no filters, also confirm Apply to Filtered Lines Only is turned off. See Cross-Validation Rules Tips and Troubleshooting.
Some transactions aren't checked at save
Transactions created by User Event scripts aren't evaluated when they save. CSV imports are only evaluated when Run Server SuiteScript and Trigger Workflows is checked. Use the Outstanding Exceptions report to find violations from these sources.
Questions during UAT
Reach out to your Netgain implementation lead, or email Netgain support at support@netgain.tech.
