Creating reusable scenarios
Before proceeding with creating multiple scenarios to reuse certain scenarios, let's first look at the business process that we discussed in the Starting with your first automation project section of Chapter 12, Capturing and Declaring Applications, Pages, and Items, to automate. We will enhance the same business process, aiming to cover reusability, looping, and conditional flows.
The vendor invoice posting business process will be split into three subprocesses, and each subprocess will be automated as a separate workflow to perform certain steps, as explained in the following sections.
SAP Login subprocess
This subprocess is used to log in to the SAP server after starting the application. We will be creating the SAPLogin
workflow that will perform the following steps:
- Start the SAP Logon application.
- Select an existing connection to the SAP server from the SAP Logon page. The SAP page to enter the credentials to the SAP server...