Lesson 3 of 7
Why platforms beat home-grown frameworks over time
9 min
Listen to this lesson
This course discusses ACCELQ by name. Matt Angerer, who runs The Sign-Off Table, works at ACCELQ. Disclosure
Many SAP programs start automation by building a framework: open-source browser automation libraries, a scripting layer for SAP GUI, a REST client for APIs, some reporting and CI glue, all written by two talented engineers. In year one it works and costs nothing in licenses. This lesson explains why, for business-process regression across SAP, that choice usually costs more by year three, and when it is still the right one.
Definitions
| Home-grown framework | Commercial platform | |
|---|---|---|
| What you build | The framework itself plus every test | Only the tests |
| Who maintains the plumbing | Your engineers: libraries, drivers, reporting, integrations | The vendor, inside the subscription |
| Authoring | Code | Codeless or low-code statements, with code extensions where needed |
| Cost profile | Low entry cost, high recurring engineering hours | Subscription plus lower recurring hours |
| Main risk | Key-person dependency and framework decay | Vendor dependency and subscription cost |
Six forces that compound over time
- Framework entropy. Libraries, browser drivers, UI5 versions and SAP feature packs all move. Each move is a small repair to the framework, and the repairs never stop.
- Key-person risk. The framework lives in the heads of the people who wrote it. When one leaves, the rest of the team spends months learning code instead of testing.
- The multi-technology tax. SAP regression spans Fiori, WebGUI, SAP GUI for Windows and APIs. A home-grown approach usually means two or three stacks, each with its own upkeep.
- Evidence you must build. Reports, screenshots, run history, links to SAP Cloud ALM and an audit trail of test changes are features a platform ships and a framework team has to write and maintain.
- Readability. Key users cannot review code, so the people who sign off cannot see what was tested. That weakens acceptance evidence.
- Opportunity cost. Every hour on plumbing is an hour not spent automating the next process. CTAL-TM v3.0 asks test managers to count opportunity costs in tool ROI for exactly this reason.
ISTQB's Test Automation Strategy syllabus (CT-TAS v1.0) gives a blunt warning sign for any automation solution: if its maintenance time is greater than the manual testing time it replaces, it is failing. It also asks for the cost of ownership of alternative solutions and the licensing model to be compared before deciding, and for organizations to share infrastructure, guidelines and reusable components across projects. Platforms make that sharing the default; frameworks make it a project of its own.
When home-grown is the right answer
Fairness matters here, because the argument above is not universal. A code-first approach can be the better choice when:
- The scope is narrow and code-shaped, such as API contract tests for BTP services or CAP unit and service tests, which belong in the development pipeline anyway.
- The organization has a strong engineering culture, keeps automation engineers for years, and treats the framework as a product with its own budget.
- The suite is small enough that a subscription costs more than the hours it saves (lesson 6 shows how to find that point).
- Lock-in is unacceptable for regulatory or strategic reasons, and the organization accepts the engineering cost of independence.
Most SAP TCoEs end up with both: developers keep code-level tests in their pipelines (ABAP Unit, CAP tests, UI5 unit tests), and the TCoE runs business-process regression on a platform. The mistake is using one approach for both jobs.
What would you do?
Kenji proposes that his ABAP team build Contoso's regression automation in-house "because we can code it in a month and there is no license." What is Priya's best response?
- Home-grown frameworks are cheap to start; framework entropy, key-person risk, multiple stacks, evidence features and readability make them expensive over time.
- CT-TAS: if maintenance time exceeds the manual testing time replaced, the automation solution is failing.
- Code-first can win for narrow, code-shaped scopes with strong, stable engineering teams.
- Use both well: code-level tests in development pipelines, business-process regression on a platform.
Check your understanding · not graded
Lesson check
1. What does CT-TAS give as a warning sign for an automation solution?
2. Which situation favors a code-first, home-grown approach?
3. Why is readability a long-term force?
4. In most SAP TCoEs, where do ABAP Unit, CAP and UI5 unit tests belong?