Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

run UI Tests xcode 7 on a device

Can I execute UI Tests on a physical device? I have tried a few approaches/combinations with target/scheme but I am not able to run it on a device and I am getting no errors either.

like image 867
Joao Duarte Avatar asked Dec 14 '15 16:12

Joao Duarte


2 Answers

You have to enable Enable UI Automation at Settings / Developer

Enable UI Automation"

(maybe a restart is needed, as usual) :-)

like image 126
Flori Avatar answered Oct 20 '22 23:10

Flori


Yes you can. What is the real issue and what have you tried so far?

You should be able to run the test simply by selecting your device from the device menu enter image description here

then running your test by clicking the arrow by your test

enter image description here

Also, make sure your UI Target is pointing to your app:

enter image description here

like image 32
James Goe Avatar answered Oct 21 '22 01:10

James Goe