Question

Best Practice for Bot Login Error

  • 1 November 2023
  • 1 reply
  • 16 views

Badge

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


1 reply

Userlevel 3
Badge +12

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