vendredi 27 janvier 2017

iOS UITesting How to Dismiss Popover

I have a pretty complicated app with a lot of views and popovers for fast picking entries.

I'm not able to dismiss a popover. I tried a lot like:

  • Hitting coordinates in the window
  • app.otherElements["PopoverDismissRegion"] Hitting elements behind the
  • popover (which are not hittable at all)

When I record the it in XCode I get: app.otherElements["PopoverDismissRegion"]

Which makes no sense to me.

Hope someone can help.

Thx

Infos: iOS 10.2,Xcode 8.2.1, iPad Air 2 (Device and Simulator, same results)

Aucun commentaire:

Enregistrer un commentaire