I have an iPad app for which I’m writing an UIAutomation script. There’s an UIButton that shows an UIPopoverController when tapped. How can my script select (tap on) an item inside that popover?
Edit:
The UIAPopover is not a child of the UIButton it appears on but of mainWindow. So mainWindow.popover() gave it to me.
The logElementTree() function is good for debugging and finding elements.
1 Answer