Example of creating a project

This chapter describes the process to create the RPA flow for a web automation project.

Expected result: The RPA flow must open a browser, search for a specific website, download the required file and save the file to a specified destination.

  1. Click New Project on the Home tab. The Create Project window is displayed.
  2. Specify this information:
    Project Name
    Automation example
    Project Location
    C:\ Users\sidawate\AppData\Local\InforRPA
    Description
    Web automation
    Language
    VB
  3. Click Create. The Design tab is displayed with the Project menu open by default.
  4. Select Mainpage.xaml to display the main page for creating the RPA flow for automation.
  5. Click Activities to display the Activities panel.
  6. Drag and drop the Open Browser activity (Web>Open Browser) to the Sequence field at the center of the page.
  7. Select the Open Browser activity and click Properties to view the properties for the activity.
  8. Specify this information:
    Browser
    Chrome
    URL
    https://www.google.com
  9. Click Variable at the bottom panel to add a variable to the Open Browser activity. The variable stores the downloaded file contents from a specific website to the specified location
  10. Click Create Variable and specify this information:
    Name
    Fileoutput
    Variable Type
    String
    Scope
    Sequence
    Default
    Leave blank
    Note: This variable can be used for the entire sequence.
  11. Click Activities to display the Activities panel.
  12. Drag and drop these additional activities in this order.
    • Click
    • Read File
    • Write File
  13. Select the Click activity and click the Properties panel to specify this property:
    Element
    Specify the Xpath for the element. To obtain the Xpath go the element that you want to click. Right-click the element and search for the Copy full Xpath option. Paste the Xpath in the Element field for the activity. You can also use the Using the Infor RPA Recorder and Inspector tool tool for obtaining the XPath of an element.
  14. Select the Read File activity, click the Properties panel to specify these properties:
    Name
    The name of the file to read
    Source
    The path to the file to read.
    Text
    result

    A result variable must be created to store the contents from a file. To create the result variable:

    1. Select the activity and click Variables.
    2. Click Create Variable.
    3. Specify this information:
      Name
      Result
      Variable Type
      String
      Scope
      Sequence. The variable is available for the entire sequence.
      Default
      Leave blank
  15. Select the Write File activity and click the Properties panel to specify these properties:
    Lines
    The list of lines.
    Name
    The name of the text file.
    Source
    The path to the text file.
  16. Click Save.
  17. Click Run to run the automation RPA flow. The output panel displays the execution of an RPA flow.
  18. Click Error List to review errors in the RPA flow, if any.