Background and challenges
Background
Business systems built in-house for the client were about to enter user acceptance testing. Acceptance testing is where users confirm that a system fits their own work. The starting point was that we did not want them spending that time on basic defects.
The other issue was the test environment. Verification had previously used the production database, with the risk of deleting users' data. Before running tests exhaustively, there first had to be a place where it was safe to try things.
Scope of our support
Scope
We had AI run every case in the acceptance test scripts before the users did, and we fixed the defects that were found. We also built a test environment separated from production and set up checks to confirm that nothing in it connects to production.
How we worked
Approach
- 1
Build a test environment separated from production
We built a test environment made up of several services, separated from production. Its connection targets are checked mechanically from six angles to confirm that it cannot connect to production by mistake.
- 2
Have AI operate the system as the scripts say
AI operated the browser exactly as the acceptance test scripts describe and ran every case first. Because it follows the same steps as the users, it finds the defects the users would otherwise have run into. The result of each case was recorded as passed, fixed or requiring a decision.
- 3
Write a reproduction test before fixing
For each defect, a reproduction test was written first and confirmed to fail before the fix was made. This prevents a defect from being treated as fixed when it is not. The fix is confirmed when the same test then passes.
- 4
Bring the test scripts into line with the implementation
As the AI followed the scripts, mismatches between the wording of the scripts and the implementation also came to light. The scripts were corrected in many places.
How AI agents were used
AI agents
In this engagement, AI agents carried out the testing work itself. The AI operated the browser automatically, ran every case and went on to fix the defects. People were responsible for designing the procedure and the environment, and for confirming points that required a business judgement.
Deliverables
Deliverables
Results
Results
The defects found were fixed before acceptance testing. Users can begin acceptance testing by checking whether the system fits their work, not by reporting basic defects.
The wording of the acceptance test scripts was also corrected in many places to match the implementation. With a test environment separated from production, verification can now be done without the risk of deleting users' data.




