Xcode 7 UI Tests, Recording button is greyed out

rustylepord picture rustylepord · Aug 7, 2015 · Viewed 11.8k times · Source

I am trying to add UI tests to my existing project using Xcode 7. However the UI test recording button is always greyed out. What I am missing here?

I tried restarting Xcode, cleaning and rebuilding the project and adding a new UI test target. Does anyone else experience the same behaviour?

Answer

pableiros picture pableiros · Nov 20, 2017

To enable the red button, you have to have the cursor on the test method:

enter image description here