4
Start building the flow with User login and Password
First add the Open Browser activity. You can find the list of activities by clicking Activities in the left-hand side bar or from the View menu in the top bar. Use search to find the activity you want.
We will define the following values for its properties:
URL property is the URL of the application the bot is navigating to. Let’s create an argument for it:
Name: URL, of type string with default value “<tenant URL>”
Next Add Maximize Window to show the browser window in a full screen.
Then you need to provide the user credentials. For that we will add Web/Set Text activity and configure it as follows:
Create an argument called UserLogin, of type String with default value of your tenant login. Then add this to the Input argument called Text on the right side of the screen.
For XPath or CSS Selector you need to provide the XPath of the element you want set the text to “//input[@id=’username’]”
You can also change the DisplayName of the Set Text element to ‘Enter username’. This is not necessary, but it makes the flow clearer.
Next you need to add the same activity Web/Set Text activity to provide your password.
For Input/Text we will create an argument called Password of type String and default value of your tenant password.
For XPath or CSS Selector you need to provide the XPath of the element you want set the text to “//input[@id=’pass’]”
You can also rename the Set Text box to ‘Enter pass’ for clarity.