Read and Review Automation Anywhere Documentation

Automation Anywhere Version 11.3

Close Contents

Contents

Open Contents

Build your first bot using Object Cloning command

  • Updated: 10/11/2021
    • 11.3.x
    • Build
    • Enterprise

Build your first bot using Object Cloning command

You can use the Object Cloning command to enter user credentials and sign in to a web page using Google Chrome.

Prerequisites

Ensure that you are familiar with the Build your first bot using Web Recorder task. You must understand how to use the Web Recorder to follow the process in this procedure.

Procedure

  1. Log in to the Enterprise Client.
  2. Click New.
  3. In the Automate window, click Workbench.
  4. From the Commands tab, select and drag the Open Program/File command to the Actions List.
  5. In the Open Program/File window, perform these steps:
    1. Step 1: Program/File Path: Browse and select the Google Chrome executable file. Find the file location on your machine, which can be: C:\Program Files (x86)\Google\Chrome\Application. In the Application folder, select chrome.exe and click Open.
    2. Step 2: 'Start in Path': You can skip this step.
    3. Step 3: Parameters: Enter the URL for the Automation Anywhere Getting Started Tutorials - Login page: https://www.automationanywhere.com/automationanywherelabs/login.html
    4. Click Save to close the command.
    The first command appears in the Actions List.
  6. Save your bot as MyFirstBot_Chrome.atmx.
    By default, the bot is saved in the My Tasks directory.
  7. Click Run to test it.
  8. From the Commands tab, select and drag the Object Cloning command to the Actions List.
  9. In the Object Cloning window, select Automation Anywhere Labs - Login - Google Chrome. Verify that the target browser session is open in its own window.
  10. With the Object Cloning window open, click and hold the Capture button. While still holding the left mouse button, highlight the Email Address field until a red border blinks around it. Now release the button.
  11. In the Select Action to Perform drop-down list, select Text to Set and enter the email address user@automationanywhere.com.
  12. Click Save.
  13. Repeat steps 8 through 10 for the password field. In the Text to Set field, enter Automation123.
    The password field is case sensitive.
  14. Repeat steps 8 though 10 for the Sign In page. On the Sign In page, place the cursor over the Sign In button until the red border starts blinking around it. Release the mouse button.
  15. In the Select Action to Perform field, select the Left Click.
  16. Click Save.
  17. Click Run.
Send Feedback