2

I have a problem when I want to include automation tests to my Xcode bot.

  • First, I have created in Instruments a template in order to execute UI Automation tests. In this template, there is a simple script that tests button's position in my iPad application.

  • I have successfully added this in my Xcode project, in the shared scheme. (Edited scheme, then went to profile section, added instrument from my template folder.)

  • From Xcode, I launch a Product › Profile command, and everything is OK.

Then after committing this scheme, I supposed, I could see something on my server through the Xcode service web interface. But I can't see anything related to profiling and my automation tests. My unit test runs fine but not my automation test, I've got no log for it.

Lebyrt
  • 1,376
  • 1
  • 9
  • 18
Jérôme
  • 149
  • 7
  • Apple doesn't support UI Automation very well... Even calling it from command line is hard. Not speaking about parsing the result plist, which is undocumented. – Sulthan May 14 '14 at 16:42
  • Thanks for your answer, have you got some documentations, even if it's not easy to use ? – Jérôme May 15 '14 at 07:48
  • see http://stackoverflow.com/questions/4191945/can-the-ui-automation-instrument-be-run-from-the-command-line – Sulthan May 15 '14 at 08:44
  • You might also look at the Bwoken project on github: https://github.com/bendyworks/bwoken – RyanJM Dec 10 '14 at 18:51
  • ok thank you. I wanted to mark it as answered but not enough reputation – Jérôme Feb 11 '16 at 13:39

0 Answers0