best practices: automated testing for sap s/4 hana and fiori

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

Upload: worksoft

Post on 24-Jan-2018

297 views

Category:

Software


4 download

TRANSCRIPT

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

1

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

Page 2: Best Practices: Automated Testing for SAP S/4 HANA 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.

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

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

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

4

Fiori is a Design Concept/Principle, Not a Technology

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

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

5

Fiori Not One Technology, but Multiple…

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

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

6

…All Applying the Same Design Theme

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

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

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

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

8

Chrome plugin

UI5 Inspector – Your New Best Friend

Shift Command Alt P or S

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

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!

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

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!

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

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

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

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?

Page 13: Best Practices: Automated Testing for SAP S/4 HANA and 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

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

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

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

15