Automatically Capture Applications with the Recorder
This section describes how to use the Recorder for an SAP GUI for HTML (also known as WebGUI), SAP GUI for Windows (also known as WinGUI), SAPUI5 or Generic Web applications.
Before recording the steps of a workflow, ensure that the application and the Cloud Studio are running in a Chrome browser in two separate windows. The Desktop Agent must be configured to use with the target tenant.
Getting Started
To start recording, you must create a project in the Cloud Studio. In the Project Explorer, click and then click Create in the left panel or click Create in the Project Explorer main panel. The artifact menu is displayed.

In the artifact menu click Application. A new tab labeled Untitled opens. Later, this label will change to the name of the captured application. The system starts detecting the applications and their screens currently running on your local machine. When it's done, you'll see a list of screens in the picker panel on the left.
To know more details about capturing an application, refer to the Capture an Application section.
Select the application you want to record from the list of screens. A preview of the screen is displayed in the capture area.

Click Record. After you click the Record button, you will be directed to the application you want to record.
In the SAP WebGUI, SAP WinGUI, SAPUI5 or Web application, by default, the Recorder is enabled.

To initiate the recording, you must click
button. The recorder captures the first screen of an application automatically. You can see it in the Activities list.

The recorder captures the first screen of an application automatically and subsequent screens must be captured manually by clicking the
button after which the actions you perform on that screen will be recorded automatically.
The steps are recorded even if you do not click the
button manually to capture new screens. However, the generated automation will be incorrect. This is applicable across the workflow recording.
For example, refer to the below screenshot. The recorder automatically records all actions performed on the screen.

While recording, if a new screen appears or if there is a change in UI, then you must first click the
button manually and then perform the actions in the application screens. This is applicable across the workflow recording.
A new screen or change in UI may include application screen, modal dialogs, pop-ups, value helps (F4), UI elements (control, table, and hierarchical list) and many more.
For example, refer to the below screenshot.
New Screen

Pop-up Screen


Once you have completed entering the data in the application screens, you can stop recording. Click the
button to stop the recording.
After you stop the recording, by default, the Export button is displayed.

To export the recorded steps to the Cloud Studio, click
. While exporting is in progress, the system displays the following pop-ups.
|
Recorder Widget |
Recorder Widget |
Cloud Studio |
Cloud Studio |
Cloud Studio |
|
|
|
|
|
|
|
Cancel If you do not want to export the steps, then click. The Recorder widget retains the same state as before. |
The Cancel is disabled. |
If you do not want to export the steps, then click Cancel. The Recorder widget will be closed and Recording successfully cancelled message is displayed. |
If you do not want to export the steps, then click Cancel. The Recorder widget will be closed and Recording cancelled message is displayed. |
If you do not want to export the steps, then click Cancel. The Recorder widget will be closed and Recording cancelled message is displayed. |
If you've recorded this application before, you are prompted whether you want to create a new automation or whether you wan to update the existing recording. If you choose Update an existing automation, you are further prompted whether to attach the new part either at the beginning or the end of the existing one.

After successful processing, Recorder widget is closed. You are redirected to the Cloud Studio and the confirmation message, Recording successfully exported is displayed. All the recorded steps are displayed in the automation designer of the Cloud Studio.

You can then edit the automation to update the Step Details. For more details about designing automations in the cloud studio refer to the Create an Automation and Manage Data within an Automation sections.
View Recorded Screens
You can view the recorded screens under Declared Application and the recorded elements under Declared Elements.

If required, you can manually edit the screens to add or remove objects. For more details about editing the screens, refer to the Declare an Application and Declare Elements sections.
Capture Multiple Instances of the Same Application
You can declare multiple different applications that target the same running SAP WebGUI or SAPUI5 application. All these declared applications will be recognized independently at runtime without any interference.
In the following screenshot of the SAP WebGUI application, you can see three captured applications and their respective automations that are same in nature as they have captured same applications and pages. All three applications will be recognized independently at runtime, and their respective automations will be executed successfully.

Prerequisites
The minimum SDK version must be 1.18.38 or above to enable this feature.
Test an Automation
After you export the recorded steps to the Cloud Studio and finalize the automation, screens, and its elements, you can test the execution flow of your automation. For more details about testing an automation, refer to the Test an Automation section.
Generate Package
Once you have designed your project, you can generate a package in the Cloud Factory. To know more about generating packages, refer to the Generate Packages section.




