Accelerate Testing towards SAP Fiori Transformation using UFT Artificial Intelligence

Micro Focus Expert
Micro Focus Expert
1 0 2,413

SAP Fiori is known as a platform which has revolutionized the user experience for SAP users. It supports multiple browser and devices and come up with a new, modern and fresh UI supporting the bring your own device approach. 

sapfioir1.png

SAP customers who have transformed their SAP GUI processes to Fiori are amazed by the simplicity and great UX it provides improving the SAP transactions. SAP Fiori can deliver high value such as:

  •  It works on any browser-compatible device (phone, pad, laptop, desktop), it is responsive and based on HTML 5.
  • If necessary, data can be accessed within an APP, or applications can be run on “on-premise” or “cloud” systems.
  • It is role-based, like a mini-portal, but much easier to use.
  • It's quick because SAP UI5, the technical base, is a low-resource technology that requires minimal hardware.
  • It is a simple, robust platform because SAP UI5 is based on HTML5 and JavaScript, 2 proven technologies
  • It runs on HANA, which means that even complex HANA evaluations can be seen on your smartphone or tablet in a split second.

One of the biggest challenges SAP Fiori apps have is cross-platform support, which makes the validation and testing quite complex. The testing team needs to make sure, tests are using the different devices an organization plans to support. 

concept-electronic-devices-digital-labyrinth_98292-4400.jpg

The testing team needs to spend some effort to execute the tests once the SAP Fiori app is available. This is because of the complexity of delivering SAP Fiori apps. Test automation on the other hand may be promising, but in reality, it is performed at a very late stage (once the SAP Fiori apps are available) and it can not cover the platform changes and complexity in a way a human would do it. 

fioriapps.png

Here is a simplified Fiori app lifecycle with 3 phases: Design, Develop, and Deliver. During the design phase, the quality assurance/testing teams are not directly involved. It is more the UX and development teams who work on the Fiori mockups. Once this is completed, the mockups can be imported into the Web IDE and the app can be developed. At the development stage, the quality assurance teams receive the requirements and create manual tests. Only once the app is delivered on a test instance, the quality assurance teams can validate and run the tests manually and identify which of the tests need to be automated. And test automation has to cover all the different platforms. This task can not be performed earlier and results in a high effort manual testing phase. 

Exactly this problem can be solved using Artificial Intelligence (AI), which is able to execute tests in the same manner as a human would do. It adapts to UI changes and can recognize context-specific objects. For instance, a "Login" button is renamed to "Sign-In", test automation tools may fail on these kinds of changes and the test cases need to be maintained. A human would still be able to run the test manually as he understands the context of the change (Login VS Sign-In). Similarly, AI is able to recognize UI changes and can adopt the execution of tests accordingly. But this is not the only thing AI can help accelerate. 

Let's have a look at the following images:

fioriapp1s.png

What would a test automation tool with object property recognition see here?

  • 3 different screens.

What would a human see here?

  • 3 different screens with the exact same context, which is Login screens.

What would AI see here?

  • 3 different screens with the same objects, which can be used to login.

If we refer back to the "Challenges for a testing team" picture above, we can probably identify, that AI can also be used to already create automated tests during the design phase. Using the interactive or non-interactive mockups, AI can understand the context and recognize the objects on even an image (mockup). With this approach, tests can be automated without having the app even one single line of code ever written. 

sapfioir12.png

While shifting the test automation design activities to left, will allow quality assurance teams to save time towards Go-Live. Tests are being automated using AI on mockups and can be fully utilized during the (manual) testing phase. This would reduce the time to production and allow testers to focus on more important tasks while AI is handling the automation. 

sapfioir122.png

Micro Focus UFT comes with an Artificial Intelligence (AI) integrated and allows SAP Fiori apps to be tested using AI. To learn more about it check out this guide

Check out the following demo video, how AI is used to accelerate the testing processes towards SAP Fiori transformation.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.