This video tutorial shows how to open a browser and login into a website with UiPath. First, a simple step-by-step example is created. We first log in using a hardcoded password and then use some best-practice credential handling (Windows Credential Manager and Assets in Orchestrator).
– Join my network with +1200 RPA Developers, where we solve RPA problems, network, and help each other upgrade our careers. It’s free!
Email Newsletter: https://andersjensen.org/email-newsletter
Logitech Backlit Keyboard = https://geni.us/aT0ltB
We create a simple solution, where we open a Microsoft Edge Browser and login to a website (Instagram) using UiPath. Later we’ll add some best practice credential handling with Windows Credential Manager and Assets in Orchestrator. But, first, install the Microsoft Edge extension.
2:28 Use Application/Browser
We use the Use Application/Browser activity to specify the scope of our automation (here, a Microsoft Edge Browser). We change to not close the browser after the robot has run by setting it in the properties.
4:07 Fill in Username and Password
We use a Type Into activity to type in the Instagram username and password. Remember to rename the activities to quickly identify what’s going on later. Next, we create a variable for the username. The password is hardcoded in (NOT RECOMMENDED), but we’ll take it step-by-step, and in a couple of minutes, we are best practice handling the credential. Finally, use a Click activity to click on the login button.
9:22 Windows Credential Manager
An excellent way to handle credentials is the Windows Credential Manager. Especially if it’s for attended automation (the user sits in front of the computer). Install the UiPath.Credentials.Activities to use the Get Secure Credentials activity. The Get Secure Credentials activity produces two variables (a username and a password variable). Change the Standard setting to Secure in the Type Into activity.
13:42 Assets in UiPath Orchestrator
We use UiPath Orchestrator to store our credentials as an Asset. We can then call it from UiPath with a Get Credential activity.