If condition for a popup in UiPath

0 votes

Hello everybody!

In a process of mine I want to open the SAP application and sometimes I get asked to put in my password in a popup window. Before that I also get a popup window where I have to click on something and press enter. Both don’t always happen, therefore I want to use the If activity. The problem is that you need to type in a VB expression within the if activity. Now I don’t know how the expression has to look like.
I just want the simple process:
“If popup appears --> click and press enter/type in password --> if not, do the rest”
Hopefully you can understand my problem and are able to help me
For more details about Robotic Process using UiPath, You can get a better understanding with the RPA Course.
Best regards and stay healthy :)

Nov 3, 2020 in RPA by RandomDude
• 260 points
6,798 views
Use Element Exists Activity and indicate that Pop up and will give result as Boolean value. If yes then click on Ok button.
So what shall I put into the Output? And does the activity need to be in the If Activity?

I want to post a screenshot, but a maximum length of 50.000 characters is allowed only (don't know why an image has so much characters lol).

I put there the Element Exists activity and indicated on the symbol/popup which appears
Hey @RandomDude, For an example of the usage of the Element Exists Activity, have  a look at