Automating SAP with Leapwork

Praveen Kumar

Automation Architect, Test manager, and CI/CD expert.

Leapwork includes dedicated SAP capabilities to provide a robust yet simple way to automate SAP that delivers lightning-fast execution.

For organizations worldwide, SAP drives business-critical processes across a complex blend of front and back end applications and services that rely on multiple technologies. Testing is therefore essential. But in this context, it is also resource-intensive, time-consuming and costly. 

Leapwork has sought to cut through much of this complexity by offering a new, easier way to automate SAP that delivers maximum impact at speed.

In this first of four SAP tutorial videos, we will introduce you to the features that make up the Leapwork SAP offering:

  1. The new SAP building blocks
  2. How to prepare and configure SAP for automation
  3. The SAP smart recorder
  4. How to build a simple flow using the recorder

The SAP smart recorder

Leapwork's dedicated SAP recorder makes it easier than ever before to automate SAP. Simply turn on the recorder, perform any steps in the SAP GUI, validate values and items as you go along, then Leapwork will automatically generate the entire automation flow for you.

When it comes to running your flow, execution is lightning-fast, so you can get results at speed. In addition, you can now work on other business tasks and let SAP automation take place in the background.

Dedicated SAP building blocks

SAP GUI is a complex application with hundreds of different user interface controls and actions that can be performed. Leapwork removes complexity by automatically and seamlessly detecting your work and generating flows using four new dedicated SAP GUI building blocks:

  • The “Start SAP” block is used to open SAP GUI, connect to any named environment or connection string, and perform a login, either with a username and password combination or using a single sign-on (Active Directory).

  • The “Close SAP” block is used to close any open SAP GUI window, regardless of whether it was opened with the “Start SAP” block or by other means.

  • The “Validate SAP” block is used to validate that an expected value, such as a number or text, is found in a user interface field or component. This block can be added directly from within the SAP recorder.

  • The “SAP Action” block is used to perform any necessary action on any user interface element or component. You of course get full control over all locators, actions, values and parameters inside the blocks.

 

Please be aware the Leapwork's dedicated SAP features are only available in the Enterprise Edition. If you already use Leapwork for SAP and haven't yet upgraded to release 2020.2, please get in touch with your Customer Success Manager who will support you to get the most out of the features.

 

Go to Learning Center.