Key takeaways
- AI can move test script creation from hundreds of scripts a week to hundreds a day, but human review is still essential.
- Output quality depends on your context: clear user stories, defined end-to-end processes and your own customisations.
- Defect triage and dependency management are often the next bottleneck, so apply AI there too.
- Define your own process catalogue early, and own its language.
- Unit testing checks individual components on their own.
- String testing links two or three components together to confirm they work as a group.
- Integration testing checks complete business processes across applications. The technology team is making sure the solution hangs together.
- User acceptance testing (UAT), also called business testing, hands the solution to the business.
- Triage. Send a defect to the wrong resolver group and it can lose two or three days as it's passed between teams. Getting it to the right person quickly matters.
- Dependencies. Some defects block the next round of testing. Knowing which defects affect which scenarios lets testing carry on wherever it safely can.
- Define your process catalogue in your own language during the early phase of the programme.
Testing is one of the most demanding phases of an SAP S/4HANA programme, and it's where timelines often slip. On a large project, writing test scripts by hand can take months and hundreds of person days. AI can cut that down dramatically, but only if the business has the right foundations in place. In recent epidsode of Token Gesture, Gustav Botha, our Chief Delivery Officer joined Stuart Browne to discuss what's changing and what still matters.
What does testing involve on an SAP ERP project?
Testing happens in stages, and each one has a different job:
Systems integrators typically don't run UAT, and that keeps a clear segregation of duties. The purpose is different too; the business needs to know the solution, as designed, will support operations and meet compliance requirements without disrupting or slowing down live processes.
Why is UAT so demanding for the business?
Business users aren't testers - their job is running the business, not checking software. For many of them, UAT is the first time they see the new system. Testing doubles as training and adoption, so they're learning how the system works while they check that it does.
Skills are often split too. Some people know the business inside out but have never used SAP. Others know SAP well but don't understand the processes in depth. Before UAT can begin, the business also has to get its requirements, deliverables and content in order.
Why does test script creation take so long?
Requirements and user stories captured earlier need to be rewritten as step-by-step test scripts. Those scripts are then assembled into end-to-end business processes. The same step often recurs across scenarios, such as different invoice types or different deliveries, so you end up with a many-to-many mapping between requirements and scripts. Each script also needs data that will run reliably through the scenario.
Integration adds more work. A manufacturing scenario, for example, may need far more tests to cover tax reporting than manufacturing or invoicing alone would.
Scale is the real issue. A standard manufacturing business may need thousands of test scripts. Varied processes, a wide product range or several geographies can push that to 3,000 to 5,000. An efficient consultant completes four or five scripts a day, so for a programme of 1,000 scripts, you're looking at roughly 250 person days. Larger programmes are even bigger. At 3,000 to 5,000 scripts, the effort is at least 250 to 300 person days, and the work typically takes around three months.
How is AI changing test script creation?
The biggest gains are in the repetitive work: pulling information from process maps, requirements and business process lists into scripts. Gustav has seen output move from hundreds of scripts a week to hundreds a day. On recent projects, his teams have reached around 150 scripts a day using Resulting IT's AI solution, S4SensAI, compared with four or five manually.
|
Measure (1,000 scripts) |
Traditional approach |
AI-assisted approach |
|
Scripts per person per day |
4 to 5 |
Up to 150 in recent projects |
|
Effort |
Around 250 person days |
Conservatively around 10 person days |
The real benefit is what happens to experienced people. Work that used to tie up skilled consultants can be handled by an AI workflow, freeing them for training, cutover preparation and other work that adds more value.
It's also not a single prompt and reply. It's a workflow. User stories and business context go to an agent that already knows enough about SAP to work like a consultant, and the output is a batch of scripts, not one answer at a time.
Does AI-generated test content still need human review?
Yes. AI gets the first 80% done quickly, and people check and polish the rest. Generic output can look convincing and still fail when someone runs the first script, so the review isn't optional.
What makes AI test scripts accurate?
Context. If user stories are weak or end-to-end processes haven't been properly defined, the output will be mediocre. The more S4SensAI knows about your customisations, modifications and functional specifications, the more precise the scripts will be. Generic content doesn't reflect how your business actually runs.
Can AI help with defect management?
Yes, and this is where delays often sit. Testing runs in a cycle of failure, fix and retest, and a programme can go through two, three or four UAT cycles before it can exit. Two areas make the biggest difference:
Agentic techniques can help assess a defect's root cause, whether it can be fixed, and where it should go. The people who fix defects are usually very busy, so making sure they work on the right issues pays off in its own right.
Which tasks should you target with AI?
Start with two types of task: those that are repetitive but done by expensive experts, and those that hold everyone else up. Tackling both reduces cost and duration at the same time.
Speeding up one task can also create a new bottleneck. If scripts are produced quickly but defects take forever to resolve, the logjam has simply moved downstream. Programme managers need to look ahead, identify what will get blocked next, and accept that the critical path keeps moving as work progresses.
What should a business do before starting an SAP programme?
Build the foundations first. Our strongest recommendation from this discussion is to define your own process catalogue at the start of the programme.
Historically, SAP provided a Business Process Master List (BPML), a large spreadsheet inventory of processes. Businesses used it to design test scenarios, plan training and check security profiles. Since the move to S/4HANA, the focus has shifted to process maps, often created in SAP Signavio, and the definitive inventory has been partly lost. Process maps are useful, but a central, categorised catalogue in your own language is what everything else hangs from: requirements, training, build, testing and security.
The practical approach:
If the process language comes from the integrator, business users may not recognise it, and adoption and business testing suffer as a result.
Conclusion
If your S/4HANA programme is heading into testing, or you're still defining your processes, talk to our team about how AI can shorten your timeline without weakening your results.
This article is based on an episode of Token Gestures, Resulting's practical AI series, in which Stuart Browne speaks with Gustav Botha about testing on SAP and S/4HANA projects.
Watch the full episode on YouTube
Stuart Browne
Founder and CEO
Stuart has worked in the SAP industry since 1997 for consultancies and service providers before founding Resulting in 2004. He is a thought leader on the shift to S/4HANA and delivering value with SAP.
Gustav Botha
Chief Delivery Officer
Gustav has 20+ years of experience in shaping and delivering complex, global business solutions, overseeing delivery and solution architecture for global projects across Oil & Gas, Mining, Consumer Goods and Pharma.
Frequently asked questions
What is user acceptance testing (UAT) in SAP?
UAT, also called business testing, is when the business checks that the solution, as designed, supports its operations and compliance needs. It's run by business users rather than the systems integrator, which keeps a clear segregation of duties. It's also where many users first see the new system.
How many test scripts does an S/4HANA programme need?
A standard manufacturing business may need thousands. Varied processes, a wide product range or several geographies can push a programme to 3,000 to 5,000 scripts. The number depends on how many processes and integrations are in scope.
Can AI write SAP test scripts?
Yes. AI can turn user stories, process maps and requirements into test scripts far faster than manual writing. Output still needs human review, and quality depends on how well the business context is defined.
Does AI replace testers on an SAP project?
No. AI handles the repetitive script work, but people review and polish the output, and business users still run UAT. It frees experienced consultants for training, cutover preparation and other higher-value work.
What should we define before testing starts?
Define your own process catalogue early, in your own language, and agree it with the business. Clear user stories and end-to-end processes are also needed, because weak inputs produce weak test scripts.
