ERPClimb logoERPClimb
Automated Testing for Fiori Apps
Fiori & SAPUI5advanced 6 min read

Fiori Testing Part 2: End-to-End Tests and Upgrade Regression

Preview · a free account unlocks the full lesson

Key takeaway

Complement unit and OPA tests with end-to-end tests against real systems — using tools such as wdi5 for UI5-aware automation — and build a regression strategy for SAP upgrades and UI5 version changes.

Visual overview

Fiori Testing Part 2: End-to-End Tests and Upgrade Regression — learning sheetFlow: Critical flows → UI5-aware e2e tool → Prepared test data and users → Run on QA after deploy → Upgrade regression plan. Key ideas: WHY END-TO-END; UI5-AWARE AUTOMATION; TEST DATA; UPGRADE REGRESSION. Watch out: Long e2e suites against shared test data become flaky and slow releases.ERPClimb.com / FIORI / LESSON 10/16 / LEARNING SHEETFiori Testing Part 2: End-to-End Tests and UpgradeRegression1 · HOW IT FLOWS1Criticalflows2UI5-awaree2e tool3Preparedtest dataand users4Run on QAafterdeploy5Upgraderegressionplan2 · KEY IDEAS EXPLAINEDWhy End-To-EndMocks cannot reveal authorization issues, back-endperformance or integration problems. A fewend-to-end tests against a QA system show that the…UI5-AWARE AutomationGeneric browser automation with CSS selectorsbreaks easily because UI5 generates DOMstructures. Tools like wdi5, built on WebdriverIO…Test DataE2E tests need predictable data. Create test datathrough APIs before tests, use dedicated testusers with defined roles, and clean up afterwards…Upgrade RegressionBefore SAP upgrades or UI5 version changes, runall automated suites against the upgraded system,plus targeted manual tests for custom apps…3 · REMEMBER · WATCH OUTRememberEnd-to-end tests run the deployed app against a real back end,covering integration and authorizations.UI5-aware tools such as wdi5 locate controls by UI5 properties insteadof brittle CSS selectors.Keep e2e tests few and focused on business-critical flows.!Watch outLong e2e suites against shared testdata become flaky and slow releases.4 · IN A REAL PROJECTE2E tests written with CSS selectors failed after every UI5 update and were eventually disabled. Rewritingthem with wdi5 UI5 selectors and preparing test data per run made them stable, and they caught anauthorization problem in QA before an upgrade went live.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 1 covered fast tests; Part 2 covers testing the whole chain, end to end, along with upgrade regression.

Mocks can't reveal authorization issues, back-end performance, or integration problems, so a few end-to-end tests run against a real QA system, covering the deployed app, launchpad, service and data working together for real roles.

Generic browser automation using CSS selectors breaks easily, because UI5 generates its own DOM structures that shift between versions. Tools like wdi5, built on WebdriverIO, find controls through UI5-aware selectors instead — control type, binding path, or i18n text — which is far more stable than relying on raw CSS.

E2E tests need predictable data to be reliable: creating test data through APIs before tests run, using dedicated test users with defined roles, and cleaning up afterward are all part of this. Shared manual test data that changes over time makes tests flaky, and long e2e suites run against such shared data end up slow and unreliable, which in turn slows down releases.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.