Skip to main content

Interrogating applications for robotic automations

2 Tasks

30 mins

Pega Robotic Automation 22.1
Visible to: All users
Beginner Pega Robotic Automation 22.1 Robotic Process Automation English

Scenario

Your team is creating a project with the Banker Insight application to verify account payments and debits. You interrogated the login form when using the recording process, but you realize the recording does not account for invalid credentials. Before building an automation for this process, you first need to account for any error text and interrogate the rest of the Banker Insight application to add more application components to your project. Complete the tasks below to interrogate your projects' application components.

  • Interrogate the form to capture the text displayed when entering incorrect credentials as a control
  • Interrogate Banker Insight application for the following Banker Insight sections:
    • Client details
    • Account types tab
    • Account transaction tab
    • Dispute tab
Note: This is a continuation of the previous challenge, Recording robotic automations. If you did not complete this challenge, click the following link to save the file to your desktop and unzip the folder to extract the files.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Interrogate the login form error text for Banker Insight

  1. Start Robot Studio to display the Welcome page.
  2. Click Open to open the Robotic Banking Project.
    open project in Robot Studio
  3. In the File Explorer, enter project directory where you downloaded the project file on your local machine, and then click Open.
  4. On the Robotic Banking project screen, click BankerInsight to open the application.
    Pega Robot Studio project explorer with BankerInsight application selected.
  5. In the upper-left corner, click Interrogate start the application and open the Interrogation Form.
    clicking interrogate button
  6. In the User Name field, enter pega.
  7. In the Password field, enter notpega, and then click Login to receive an error message.
  8. Click and drag the Target icon over the error text, and then release the pointer to add error message as a control to the application.
    invalid credential text
  9. In the Interrogation Form window, in the Control name field, enter errorNotification 

    change error label control name on interrogation form
  10. In the User Name field, enter pega.
  11. In the Password field, enter pega, and then click Login to open the Banker Insight application.

2 Interrogate objects in the Banker Insight application

  1. In the Banker Insight application, in the Customer Number field, enter 1234500078963456.
  2. Click Search to retrieve the customer details.
    combined customer search image
  3. Interrogate the customer details to build the object hierarchy:
    1. Click and drag the Target icon to the Customer Number field.
    2. Click and drag the Target icon to the Search button.
    3. Click and drag the Target icon to the Clear button.
    4. Click and drag the Target icon to the First Name field.
    5. Click and drag the Target icon to the Last Name field.
    6. Click and drag the Target icon to the SSN field.
  4. On the Account types tab, interrogate the following controls:
    1. Click and drag the Target icon to the Checking radio button.
    2. Click and drag the Target icon to the Savings radio button.
    3. Click and drag the Target icon to the Credit card radio button.
    4. Click and drag the Target icon to the Transactions table.  
  5. Click the Account Transactions tab, and then interrogate the following tab contents:
    1. Click and drag the Target icon to the Amount field.
    2. Click and drag the Target icon to the Description field.
      acct transactions tab
  6. Interrogate the following tab contents:
    1. Click the Dispute tab.
    2. Click and drag the Target icon to the Clear button.
    3. Click and drag the Target icon to the Search button.
    4. Click and drag the Target icon to the Txn ID field.
    5. Click and drag the Target icon to the Amount field. 
    6. Click and drag the Target icon to the Submit button.
    7. Click the Search button.
    8. Click and drag the Target icon to the Dispute result field.
      BankerInsight application with the interrogation target higlighting the Dispute Result text.
  7. Close the interrogation form.
  8. Click Save all to save the changes.

Confirm your work

In Pega Robot Studio, in the BankerInsight application designer, confirm that the control hierarchy on the Palette matches the following figure:

The Palette from the BankerInsight application designer showing the completed control hierarchy post-interrogation.

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.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice