Joao Duarte
Joao Duarte

Reputation: 321

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.

Upvotes: 15

Views: 3977

Answers (2)

Flori
Flori

Reputation: 2493

You have to enable Enable UI Automation at Settings / Developer

Enable UI Automation"

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

Upvotes: 24

James Goe
James Goe

Reputation: 522

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

Upvotes: 5

Related Questions