Automate SAP Fiori applications
Automate SAP Fiori applications
Introduction
SAP Fiori is a user experience (UX) for SAP software. SAP customers can use this UX for various solutions, such as SAP S/4HANA, SAP SuccessFactors, Employee Central, SAP Ariba, SAP Cloud for Customer, etc.
This article details SAP Fiori workarounds for:
- Perform actions on dropdown using Leapwork Set web dropdown block in SAP Fiori application.
- Capture a dropdown using Leapwork Get web dropdown block in SAP Fiori application.
- Scroll vertical and horizontal to find the required element in SAP Fiori application.
- Test end to end use cases for SAP Fiori application.
Note: This flow is applicable to S/4HANA 2022 version.
Vertical Scrolling Workaround
Login to SAP Fiori App.
Search Create Purchase Order and select the Create Purchase Order Advanced application.
Select the standard PO option on the dropdown and enter the:
- Header details supplier code
- Purchase org
- Purchase group
- Company code under Org.Data tab
Enter the item level details:
- Material
- PO Quantity
- Plant
Press enter key to fetch the material information.
Click Save to create the purchase order. Transaction completed.
Click Document Overview On. It will display all the created purchase order list.
In Document Overview > Change Breakdown, select value to add scroll.
Dynamic Vertical Scrolling Workaround
The data is dynamically loaded and passed in find element. The scroll function finds building block properties and source element in click web element block.
- Login to SAP Fiori App.
- Search the Manage Product.
- Select the Manage Product Master Data application.
- Click Create button and fill the basic data.
- Click double squares box icon in Product Group.
- Scroll down vertically to select value.