I am using an web application as we login within 10-15 seconds session gets expired. I want, as soon as ‘Session timeout appears’ BOT should pause and let User login again then resume process from where it has paused. How to handle this ? What are different ways ??
Use a global exception handler and use delay or check app state inside it and wait for the element on page after logged in so the bot would want till its logged in. You can as well display a message to user to login
and use retry option in global exception handler