Click button ok?

After I click Load data. image

Normally alert popup as below.
(Normal Alert)
image

But Sometimes it alert popup as below before normal alert. (Special Alert)

image

I want to click OK if appear popup alert (Special Alert).

Remark : After click Load Data , sometime run about 5-10 minute → popup alert.

Please guide me about it.

@Maria99

Use Element Exists activity and check Normal alert. If it exists then click Copy and continue next steps. If it is not exists then look for special pop using Elements Exists. If it is exists then click ok and go back and check Normal alert. If both Pop-ups are not showing then give some delay to wait for sometime and repeat same steps again.

@lakshman How to set element exist activity for check special pop.
Because after click Load Data ----> system upload data about 5-10 minute → popup popup alert.

Please guild me for solve it.

Hi @Maria99

Please refer to the thread below Similar to yours with solution!

Regards

@Maria99

Use Element Exists activity and indicate that special pop up and it will give Boolean value as output. If it is true then check for Normal Pop up else give some delay to wait for sometime and link it back to check the normal pop-up.

@lakshman I use element exist for check special pop.
But special pop It show delay (UIPath check special pop = false)
So, It not click in special pop.

Please guide me about it.

Hello,

You can try with Delay activity (as per your popup approximately waiting time) before Element exist activity use.