Recording a customer search
3 Tasks
30 mins
Pega Robotic Automation 22.1
Beginner
Pega Robotic Automation 22.1
Robotic Process Automation
English
Scenario
You are a customer service representative working for RoboBanks, Inc. Your typical workflow begins with you logging in to the BankerInsight application and searching for a customer's information. You have met with the development team about automating the more routine aspects of your job, and, as a first step, you have been tasked with creating a simple automation for this task using Intelligent Recording.
Complete the following tasks:
- Record the BankerInsight log-in automation called BI_Login.
- Record a search for a customer's information using their customer number.
The following table provides the required credentials you need to log in to BankerInsight:
Field | Value |
---|---|
Username | pega |
Password | pega |
Detailed Tasks
1 Record the Banker Insight login
- In Pega Robot Studio, click Let's go to launch the Quick start wizard.
- In the Quick start dialog box, in the Project name field, enter RoboBanksCSR, then click Next to proceed.
- In the Desktop application name field, enter BankerInsight.
- In the Path field, click the More icon to open the Select file dialog box. Navigate to
C:\Program Files (x86)\Pegasystems\Pega Robot Studio v22\Extra Resources\Sample applications\BankerInsight
and select BankerInsight.exe. Click Open.Note: If you did not previously extract BankerInsight.zip, extract the zip file then complete this step. - In the Quick start dialog box, click Next to proceed to the next screen.
- In the Automation name field, enter CustomerSearch, then click Launch recorder.
- In BankerInsight, click the User Name input field. The Gear icon is displayed with a green background to indicate that automatic step creation is active.
- In the User Name field, enter pega.
Note: You edit this step later to use an input parameter.
- Repeat steps 7-8 for the Password input field.
- Click Login to log in to the application.
- In the Recording assistant, on the txtUserName step, click the More icon, and then select Edit to open the step editor.
- In the Value source list, select Input parameter.
- In the Value list, click Create new to open the Create input parameter dialog box.
- In the Create input parameter dialog box, in the Name field, enter username.
- Click Submit to configure the step to use an input parameter in the automation.
- Click Save to save the changes you made to the step.
- Repeat steps 11-15 for the txtPassword step by naming the input parameter password and setting the parameter type to Sensitive Data.
- On the Recording assistant, in the Actions menu, click Move to new automation.
- On the Add new automation dialog box, in the Automation name field, enter Login.
- Click Add to move the steps to the new automation.
2 Search for and retrive the customer's name.
- In the Banker Insight application, in the Customer Number field, enter 1234500078963456.
- Click Search to retrieve the customer details.
- Click in the Last Name field, then click the green Gear icon to open the step editor.
- In the step editor, in the Action list, select Get Text.
- In the Value list, click Create new to open the Create output parameter dialog box.
- In the Create output parameter dialog box, in the Name field, enter lastName..
- Click Submit to configure the step to use an input parameter in the automation.
- Click Save to save the changes you made to the step.
- Repeat steps 3-6 for the First Name field. Name the output parameter firstName.
3 Retrieve information using manual steps
- In the Account Types pane, locate the Transaction History table.
- Right-click on the Recording assistant and click Add manual step.
- In the step editor, in the Action list, select Show Input Box.
- In the Message field, enter the text Enter the first Txn ID in the Transaction History table.
- In the Title field, enter the text Txn ID.
- In the Value list, click Create new to open the Create output parameter dialog box.
- In the Create output parameter dialog box, in the Name field, enter txnID.
- Click Submit to configure the step to use an input parameter in the automation.
- Click Save to save the changes you made to the step.
- Repeat steps 2-7, entering the following values for the Manual step:
Field Value Action Show Input Box Message Enter the first Amount in the Transaction History table Title Amount Value amount - On the Recording assistant, click Finish Recording.
- On the Automation designer, right-click on the automation surface, then select Arrange blocks > Extend lines. Your automation should look like the following figure:
Confirm your work
- In the Automation Designer, in the upper right, click Test to display the Testing automation dialog box.
- In the Testing automation dialog box, in the username and password fields, enter pega.
- Click Test to test the automation. The application opens and logs into the Banker Insight desktop application.
- In the Txn ID input box, enter 3255, and then click OK.
- In the Amount input box, enter 100, and then click OK.
- The Test results dialog box appears. Confirm the Outputs match the expected result.
- Click Done to exit the testing mode.
This Challenge is to practice what you learned in the following Module:
Available in the following mission:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?