Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 3 of 7

Why platforms beat home-grown frameworks over time

9 min

Listen to this lesson

0:00 / 5:26

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 frameworkCommercial platform
What you buildThe framework itself plus every testOnly the tests
Who maintains the plumbingYour engineers: libraries, drivers, reporting, integrationsThe vendor, inside the subscription
AuthoringCodeCodeless or low-code statements, with code extensions where needed
Cost profileLow entry cost, high recurring engineering hoursSubscription plus lower recurring hours
Main riskKey-person dependency and framework decayVendor dependency and subscription cost
Two ways to automate business-process regression. CTAL-TM calls the first a custom tool and the second a commercial tool.
The Sign-Off Table · thesignofftable.com/academy/sap-tcoe-404

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.
The pattern behind most home-grown SAP frameworks: cheap to start, then upkeep and key-person risk compound.
The Sign-Off Table · thesignofftable.com/academy/sap-tcoe-404

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.
Code-first can winNarrow, code-shaped scope with a strong, stable engineering team
Platform, with code where it fitsBroad scope; engineers extend the platform and own pipeline tests
Either; keep it smallNarrow scope, thin team: automate little, choose the cheapest to maintain
PlatformBroad SAP scope with mostly test analysts and key users: the classic TCoE case
Where each approach fits. Contoso, with Fiori, WebGUI, SAP GUI and APIs and a core of five, sits on the right.
The Sign-Off Table · thesignofftable.com/academy/sap-tcoe-404

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?

Key points
  • 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. 1. What does CT-TAS give as a warning sign for an automation solution?

  2. 2. Which situation favors a code-first, home-grown approach?

  3. 3. Why is readability a long-term force?

  4. 4. In most SAP TCoEs, where do ABAP Unit, CAP and UI5 unit tests belong?