but not found, how to handle exception?

In a web site, I have a drop down to select account. I use to select the correct account.
. Noted, the str_AccountNumberForURL is a variable since user entry 1231234 and the str_Acc will be “1231234*”

it works well when user provides a correct account number ( e.g. 1231234 ). However, what if user entry an invalid account ( mean the account number does not existed in the drop down from the web site )… will the robot stuck?

How to handle this error ? set a timeout? do some sort of checking?? how

Hello @fleong ,

If it’s a dropdown, there is an activity called Select Item.
Did you tried that or not working in your scenario?


This is what Try/Catch is for.