I have a scenario to book an appointment for patients and need to handle pop-ups that varies from patient to patient.
For example, the first screenshot appears for the patients who missed last 1 apptmnt. If i click on Yes button using the CLICK activity. Next time if i run the same code for a patient who didnt missed any appointments, script fails. Because popup will not appear at all and Uipath will keep looking for the yes button.
I tried try/catch exception handling block, it work just fine. But I need to use 10 try/catch blocks for each such popup, and it takes 30 sec for each try/cathch block if the popup doesn’t appear.
Even i tried the pick/ pick branch and switch , the issue is they handle only one popup among multiple popups for a patient.
I’m sure there must be some other activity that might help me to reduce the time.