FIORI_SAPUI5advanced
Automated Testing for Fiori Apps
Unit, integration and end-to-end testing of UI5 and Fiori elements apps.
Overview
Unit, integration and end-to-end testing of UI5 and Fiori elements apps.
Lessons in this topic
- Fiori Testing Part 1: QUnit Unit Tests and OPA5 Integration JourneysTest UI5 apps at the right levels: QUnit for formatters and logic, OPA5 journeys that drive the UI with page objects against mock data, and running them in the pipeline on every change.
- Fiori Testing Part 2: End-to-End Tests and Upgrade RegressionComplement 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.
Interview questions covered
- How do you set up automated testing for a UI5 app?
- How do you prepare custom Fiori apps for an SAP upgrade?
How to study Automated Testing for Fiori Apps
Automated Testing for Fiori Apps has 2 lessons (2 advanced) with about 12 minutes of reading in total. Start with the lesson that matches your level, then read the real project scenario and common mistakes in each one before moving on. After the lessons, say the 2 interview questions out loud in your own words, then check yourself against the model answer in each question (shown once you open it). Use the 6 mock questions to check recall.
Mock test questions covered
Try answering each one before you open the mock test; the answer options and scoring are in the Mock Questions tab.
- What is QUnit typically used for in UI5 projects?
- What do OPA5 page objects do?
- Why run integration tests against mock data?
- What can end-to-end tests reveal that mock-based tests cannot?
- Why use UI5-aware selectors such as in wdi5?
- What makes e2e tests flaky most often?