0

I'm writing an UI Automation script where it needs to dismiss a MPMoviePlayerViewController view. I tried logging it using logElementTree() but only the navigation bar, tool bar, buttons are getting logged. Any pointer???

-MANN

MANN
  • 3,360
  • 1
  • 17
  • 18
  • How do you want to dismiss that video playback screen? Isn't the "done" button something you would want to use for that purpose? – Till Oct 03 '12 at 19:19
  • Yes, But after some time (say in 5-10 seconds) done button disappears. – MANN Oct 03 '12 at 19:54
  • It appears again if you touch the screen again - so use the tap in conjunction with a coordinate as supported by UIAutomation. – Till Oct 03 '12 at 19:55
  • I tried that but don't know why automation script consume some time after tapping. Navbar with 'Done' button appears but it again disappear till the time script tries to tap that'NavBar.leftButton().tap();' – MANN Oct 03 '12 at 20:10
  • no worries... using an alternative path now. – MANN Oct 10 '12 at 14:53
  • So what was your solution? – Jasper Oct 08 '15 at 12:49

0 Answers0