Accelerate Testing towards SAP Fiori Transformation using UFT Artificial Intelligence
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.
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 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 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 the cross platform support, which makes the validation and testing quite complex. The testing team need to make sure, tests are using the different devices an organization plans to support.
Testing team need to spent some effort to execute the tests once the SAP Fiori app is available. This causes based on the complexity delays in delivering SAP Fiori apps. Testautomation 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.
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 in to the Web IDE and the app can be developement. 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 like 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 kind 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 test accordingly. But this is not the only thing AI can help accelerating.
Lets have a look on the following images:
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 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 a image (mockup). With this approach tests can be automated without having the app even one single line of code ever written.
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.
Micro Focus UFT come with an Artificial Intelligence (AI) integrated and allows SAP Fiori apps to be tested using AI. To learn more about it: https://admhelp.microfocus.com/uft/en/15.0-15.0.1/UFT_Help/Content/User_Guide/AI-based-testing-concept.htm
Check out the following demo video, how AI is used to accelerate the testing processes towards SAP Fiori transformation.
Leave a Reply