Skip to main content

Hi!

I’m working with a bot that must login on an application to fetch data.

I would like to know if there’s a way to throw an error when the login fails

 

I though about trying to open a window inside the application and using this as criteria for success or failure, but wonder if there’s a broader or more adequate solution.

 

Thank you very much

Rafael

You’re on the right track. I usually perform my login in a try/catch block, and then perform a Wait>>Wait for Condition action with the Recorder>>Object Exists condition.


Reply