Articles → AUTOMATION ANYWHERE → Create Your First Metabot

Create Your First Metabot






Scenario




  1. Navigate to https://www.unitconverters.net/length/cm-to-inches.htm.
  2. Picture showing the sample website to be used for metabot
    Click to Enlarge

  3. Enter ‘12’ in ‘From’ textbox.
  4. Get the value from ‘To’ textbox.
  5. Display it in message box.

Create A Bot




  1. Asset
  2. Logic

Create Asset




  1. Open internet explorer browser and open https://www.unitconverters.net/length/cm-to-inches.htm(Please make sure that zoom is 100%).
  2. Click on ‘New MetaBot’ button.
  3. Picture showing the New Metabot button for adding the new metabot
    Click to Enlarge

  4. Following window will appear
  5. Picture showing a window for entering the metabot name and other details
    Click to Enlarge

  6. Enter ‘MetaBot Name’, select ‘Internet Explorer’ and click on ‘Create’ button.
  7. Metabot Designer’ window will come. In the window, click on ‘Add Screen’.
  8. Picture showing the Add Screen button for adding the screen inside the metabot
    Click to Enlarge

  9. A window will appear to select the screen. Click on the required window
  10. Picture showing a window to capture the screen
    Click to Enlarge

  11. A screen gets added into ‘Assets’ tab.
  12. Picture showing the screen added in the Assets tab
    Click to Enlarge



Create A Logic




  1. Click on the ‘Logic’ tab.
  2. Click on ‘Add Logic’
  3. Picture showing the Add Logic button for adding the logic in metabot
    Click to Enlarge

  4. A window will open to add logic
  5. Picture showing the add logic window
    Click to Enlarge



  6. Go to the screen and click on ‘From’ textbox.
  7. Picture showing selecting the From textbox from the screen
    Click to Enlarge



  8. Once you click on it, a pop-up window will appear to select the action.
  9. Picture showing a popup window for entering the value in the From textbox
    Click to Enlarge



    1. Select action as ‘SetText’
    2. Enter ‘12’
    3. Click on ‘Add’
  10. Similarly, select ‘To’ and add following action
  11. Picture showing a popup window for entering the value in the To textbox
    Click to Enlarge



  12. Click on ‘Add’
  13. Finally display the value of clipboard in message box
  14. Picture showing the message box command for displaying the value of text stored in clipboard
    Click to Enlarge



    Picture showing the code of all the actions done in metabot
    Click to Enlarge

  15. Finally save the logic using the ‘Save’ button
  16. Picture showing the save button for saving the metabot
    Click to Enlarge



Running The Metabot




  1. Open a task bot.
  2. Drag and drop a metabot from the metabot tab.
  3. Picture showing the code of the metabot when dragged and dropped on the designer
    Click to Enlarge

  4. Run the task bot. You will get following output.
  5. Picture showing the output of the metabot
    Click to Enlarge



Posted By  -  Karan Gupta
 
Posted On  -  Monday, January 7, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250