The Recorder allows you to record desktop applications. It enables users to speed up the bot design process. Using the Recorder, actions on the provider application can be recorded, metadata of the screen can be captured and the artifacts can be exported to SAP Build Process Automation. In this tutorial, you will discover two new features of the recorder:
Now the Recorder can read the value of an element though the get mode.
The recording widget is further enhanced to support the editing of input to the Set activity. Once the Set activity is generated, you can change the value of the input.
Step 1Open the application
—
Open the clock application on your desktop.
Clock
Step 2Create your project
+
You will create a new project in SAP Build Process Automation application.
Navigate to SAP Build application and create a project by choosing Create.
Create a project
Select Build an Automated Process.
Build an Automated Process
Select Task Automation.
Task Automation
In the Create a Task Automation project window, please give the project the name: Create Alarms and the description: Automate alarms creation in the desktop clock and choose Create.
Create Task Automation
Once the project is created, a new tab will open. You will need to configure your agent version. Select the version of the agent installed on your machine and choose Confirm.
Select desktop version
A pop-up window asking you to create an automation will appear, please choose Cancel.
Cancel automation
What is going on?
As you will be using the recorder feature, you do not need to create an automation but an application.
The next step would be to create your application within your project.
Step 3Create and capture your application
+
In the Overview tab of your Create Alarms project, choose Create, then choose Application.
Create an application
In the Create Application window, name your application: Create Alarms and choose Create.
Create application
From the list of open applications, under UI Automation, select Clock application and choose Next.
What is going on?
SAP Build Process Automation 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.
Select Clock
You have the option to select either Recorder type or Manual Capture type. This tutorial will show you how to use the Recorder.
Select Recorder as type and choose Record.
Recorder
Please note that the technology that you will be recording is UI Automation.
You will notice 2 pop-ups for recording in progress and SAP Intelligent RPA Recorder.
recording_popup_1recording_popup_2
Step 4Record your application
+
The Recorder records the steps you perform across the screens of an application.
Click the Recordrecordbutton to start recording in the recorder widget. A green border around the Clock screen appears. This means that the screen is being recorded.
Select Alarm.
Click on + to add a new alarm.
Add new alarm
The recorder detects a change of screen and starts recording this new screen. Please wait until the screen is fully captured.
In the Alarm Name field enter: Morning Alarm and hit enter. This will create a Set activity.
Choose Save.
Set alarm name
Now, the recording widget is enhanced to support the editing of input to the Set activity. Once the Set activity is generated, you can change the value of the input if required.
The input can be of three types. You can provide:
hard coded value which is shown inside double quotes.
create and assign new variable which is shown with a prefixed ‘+’ symbol.
select an input from a list of pre-existing variables.
Set alarm name
Create and assign a new variable by choosing the value with the prefixed ‘+’ symbol.
Set new variable
You need to capture this new screen. Choose the New Screen Capturecapturebutton.
Wait until the screen is fully captured.
New screen capture
You will now get the value of the alarm name element. You can read the value of an element during the recording steps only in enabled Get mode.
Click the Get Activity Mode icon.
Get element
This will enable the Get mode. Once the mode is enabled, the icon is highlighted as shown in the following screenshot and a hint message is displayed at the bottom of the recording widget.
Get element
To generate the Get activity, place the cursor at the targeted element (Morning Alarm) and the selection is highlighted with the green bounding rectangle.
If the bounding rectangle targets the correct element, press the keyboard shortcut Alt + Ctrl to generate the activity, otherwise, move the cursor further for the correct selection.
The Get activity is generated with the output variable as shown in the following screenshot. You can further utilize this output variable according to your use case.
Get element
Stop the Get Activity Mode by clicking onGet iconicon.
Now you will create a new alarm. Click on +.
Click on the Alarm Name field to change the name.
The recorder detects a change in screen. Wait until the screen is fully captured.
Change the name to Evening Alarm and hit enter.
Select the picker, set it to PM and hit enter.
Please note that for each element that is set, you may change the input value as you wish.
Choose Save.
Evening alarm
Click on the Alarm Name Set Element. You will assign and create an Evening Alarm variable.
Select the value with a prefixed ‘+’ symbol.
New variable
The new variable eveningAlarm has been created.
New variable
You need to capture this new screen. Choose the New Screen Capturecapturebutton.
Wait until the screen is fully captured.
New screen capture
Now you can create another alarm, click on +.
Select the Alarm Name field.
The recorder detects a change in screen. Wait until the screen is fully captured.
Change the name to My Alarm and hit enter.
Select the hour picker, set it to 09 and hit enter.
Choose Save.
My alarm
Create a myAlarm variable by selecting the value with a prefixed ‘+’ symbol.
My alarm variable
Clear the variable by selecting the x.
Clear variable
Click on the empty Set Element field and you may see the list of variables that you created.
List of variable
Select the alarmName variable.
What is going on?
This will set the name of the alarm to the value of the alarmName element that was generated through the Get mode.
Step 5Export your recording
+
Choosestopbutton to stop the recording.
Select Export to move the recording to SAP Build Process Automation.
recorder export
Reset and close the Clock application.
Step 6Review your automation
+
Once all the artifacts are moved to SAP Build Process Automation, the automation can be executed to replay the recorded steps. It can also be modified and then executed.
You can see that a Create Alarms application was created.
Application
As well as a Create Alarms Automation.
Under Input/Output, you may see that the created variables morningAlarm and eveningAlarm will be displayed.
Automation
You may select the Get Element activity and notice the same output parameter as shown during the time of recording in the recording widget.
Get element
Step 7Test your automation
+
Click Test to test the automation.
Fill in the the input parameters as you wish, such as:
morningAlarm: Prepare team meeting
eveningAlarm: Training session
What is going on?
These are the two variables that got created during the recording stage and are now displayed as input parameters. You now have the choice to set the alarm names to any name of your liking through these input parameters.
Choose Test.
Test
The automation creates three alarms:
Prepare team meeting alarm for 7am
Training session alarm for 7pm and
another Prepare team meeting alarm for 9am (This alarm sets the name to the value retrieved from the alarmName element (from your first alarm))
Share feedback on this tutorial or join the conversation in SAP Community.
Submit detailed feedbackDiscuss in Community
Steps
Step 1 of 7
1. Open the application2. Create your project3. Create and capture your application4. Record your application5. Export your recording6. Review your automation7. Test your automation
Joule
AI Notice
Joule is an AI assistant. Generative AI may produce inaccurate, incomplete, or biased information. Always verify important details before acting on them.
Conversations are sent to SAP-hosted large language models for processing. Do not include personal data, credentials, or confidential information in your messages.
Joule's responses are based on the SAP tutorial catalog and may not reflect the latest product changes. For authoritative guidance, consult the linked tutorials and official SAP documentation.