Loop click ok until not appear?

I want to click ok.
But sometime popup as show more 1 round. (change number)


I want to click OK auto until popup message is not appear.

Please guide me about it.

Hi @Maria99,
you can try with

@ydimitrova After click ok until popup message not appear , But UI not exit loop while. (not alert message box)

Please guide me about it.

In the while loop after Element Exists activity add image run the process and tell me what is the value of the CheckOKCancel after the popup message stops appearing

I am guessing that after the popup message is not showing anymore there is another button with the same selector as the one of the OK button. It would be helpful if after the Click activity, you add and a Highlight activity and indicate again the OK button (this will show you the button that the robot sees)