can’t accept popup/alert on IOS native mobile app

we are trying to automate a test case on a native app on IOS, the test case flow requires a popup to be accepted and we could not find the keyword to accept this popup.

 

“close notifications” keyword works, but it doesn’t accept it

 

the popup has to options “OK” and “Cancel”, we need to click on “OK”

 

we tried identifying the “OK” but Mobile spy only identifies objects behind the popup

 

please advise

Hi,

You can find “OK” and “Cancel” button in the “All Objects” tree (https://prnt.sc/fxyefh).