My bot has Outlook launching and checking for emails but there could be instances when Outlook fails to start which would interfere with my bot.
Any suggestions on how to have the bot activate the 'No' option?
My code as follows, but it didn't work:
Any other suggestions appreciated.
As I could not reproduce the same dialog box at will; I simulated it by pressing CTRL key to generate a similar dialog box and tested the same logic, which works fine on my local machine, but that part of code did not work in production.