Best Practices: Automated Testing for SAP S/4 HANA and Fiori

Preview:

Citation preview

1

Best Practices: Automated Testing for SAP S/4HANA and Fiori

2

Best Practices: Automated Testing for SAP S/4HANA and FioriWhen implementing SAP S/4HANA and Fiori you need them up and running smoothly, as soon as possible. Automated end-to-end business process testing can play a critical role.

Learn how to simplify and accelerate the delivery of S/4HANA with fast, iterative testing of Fiori. Users must prepare for continuous change to the application and the UI. Automated testing ensures business processes are working, as designed, every day. Manual testing simply isn’t an option.

3

What is Fiori?

“SAP Fiori is the design language for all products. It applies modern

concepts and principles, enabling users to get the job done easily and

have a delightful experience. The SAP Fiori design language can be

implemented through various UI technologies and platforms.”*

*Source: SAP Product Road Map: SAP Fiori, Road Map Revision 2017.05.12

4

Fiori is a Design Concept/Principle, Not a Technology

Source: SAP Product Road Map: SAP Fiori, Road Map Revision 2017.05.12

5

Fiori Not One Technology, but Multiple…

Source: SAP UI Technology Guide for SAP S/4HANA 1610, Feature Pack Stack 02

6

…All Applying the Same Design Theme

Source: SAP Product Road Map: SAP Fiori, Road Map Revision 2017.05.12

7

What’s Your UI? Fiori. Ok. But Which One?

SAP Fiori Cloud DemoSAPUI5

v 1.26 – 1.28

Image source:

https://demo-

fioritrial.dispatcher.hana.ondemand.com/sites

S/4HANA 1511 SAPUI5 v 1.30.x or higher

(Fiori 1.0)

Image source:

https://experience.sap.com/fiori-design-

web/sap-fiori/#sap-fiori-10

S/4HANA 1610 SAPUI5 v 1.40.x or higher

(Fiori 2.0)

Image source:

https://experience.sap.com/fiori-design-

web/sap-fiori/#sap-fiori-20

8

Chrome plugin

UI5 Inspector – Your New Best Friend

Shift Command Alt P or S

9

• Beautiful interface

• Tailored to users’ roles and the business functions they perform

• Simplified processes and screens

• SAP placed user needs first with user centered design (UX)

The Good News!

10

From a QA standpoint, it’s a difficult interface to test

• Not standard HTML controls

• You have to be able to identify objects

• Need to be able to handle lazy-loading of lists

• Massive – up to 20k <DIV> tags on a single page

• Customizable by the user, which means things can move on the page

The Bad News!

11

How Does it Look to a Traditional Testing Tool?

Download Selenium

Image source:

http://www.swtestacademy.com/selenium-webdriver-csharp-nunit/

http://www.swtestacademy.com/python-selenium-tutorial/#post/0

Open IDE & Write Code

12

• Build a library of reusable components to understand Fiori UI controls:

• Identify any Fiori Launchpad tile for any execution

• Handle specialized text boxes

• Enable drop menus to act as a single action rather than several automation steps

• Table handling given they are not HTML tags

• Decouple HTML from actions that adjust to any changes as new versions of SAPUI5 and Fiori are released

• Identify objects using attributes that are independent of the position or layout of the object on the page

What Has to be Overcome to Test Fiori?

13

What’s the Best Solution?

Worksoft Certify is uniquely qualified to automate complex Fiori applications through the use of

• Predefined optimizations to interact with 300+ different controls

• Patented object-action framework

• Automation engine with built-in logic to handle lazy-loading of lists

• Optimizations to handle massive, complex, customizable web pages

14

Benefits, Challenges & Implications for Testing SAP Fiori

• User experience has changed for the positive, but it’s more challenging for QA teams

• Consistent UX, but differences in underlying technologies make automation difficult

• SAP is introducing Fiori changes rapidly; automation approach has to be robust and adapt to changes easily

• Traditional testing approaches/tools aren’t sufficient and won’t be able to keep pace

• Worksoft Certify, with its patented object-action framework and optimizations, is designed to handle the complexities of automating Fiori tests

15

Recommended