I am working on a RPA Automation with a web application and desktop application in which we get some error or update popup messages. Those popup messages are unexpected and it may appears in any of the process steps (unexpected). We just need to close or avoid when appears and proceed further activities as per the process. Please help us on this.
While you are working use a parallel activity on one side perform your tasks on the other side locate the unknown popups by element exist and take appropriate action like clicking ok etc on that pop ups, this will not break your functionality.
I use Parallel activity in this case - see attached
In branch1 I execute the main process.
In branch2 I “lurk” for the unexpected message, e.g. using On Element Appear activity.
It has indeed a limitation - the unexpected message should have some known selector