Figuring unlimited popups in SAP

Hi,
I have a scenario in SAP where after saving the record i may get few popups in any order or I may not get any. If I dont get any popups my record is saved and i get document ID in the bar at the bottom (this part is already working). I could get same popup multiple times of may get different popups. Its totally random. Is there any way to loop through these popups? @Pablito @Palaniyappan

1 Like

in case i get a popup i just need to press enter to close it until all popups are finished and record is saved.

1 Like

Hi @rameezimtiaz,
In cases where you know that particular thing can happen you need to programm each possible case. For example in C# there is CASE function for such think. In UiPath Studio the similar way gives you Switch (eventually Try Catch) activity. Based on expression (i don’t know… popup window text or something what can be easily extracted from popups) you can precise the behavior of your automation.

1 Like

Hi
Yah either try catch or switch or Pick Branch activity or Parallel activity can be used to handle this
We got many options to get this exception
Cheers @rameezimtiaz