Help with `Record UI Test` disabled (greyed out)

Hi,


I have a project created with Xcode 7 that seems to have broken `Record UI Test` functionality.

The tests themselves run fine, and I can stop in the debugger.


For tests in the project the editor gutter test marks are invisible and for the UITests the `Record UI Test` button is disabled.


Is there a way to track this failure in the console?

Would it be possible for you to use Quicktime's screen capture feature to record a video of this behavior?

Hi our_guest,


I have tried to attach both images and a QuickTime screen capture movie to this forum post - however both attempts have failed. The screenshots show when editing but not when viewing the post. Drag and drop fails for QuickTime video files.


The 'Insert Video' button is 'greyed out' too. Hmmm.


Researching this forum issue (broken 'Insert Video' button) I have found this:


Post pics or video to forum?


So Apple does not allow for this possibility on the forum.


Please let me know if there is an alternative way to share these with you.


Cheers,


Daniel



I'm seeing the same issue (both on Xcode 7.2 and the Xcode 7.3 beta 7D111g). The record button is almost always greyed out.

I found that "Record UI Test" button turned enable when delete both the apps which is named "<AppName>" and "<AppName>UITests" on the simulator.
Hope this helps someone 🙂

I had same issue , xCode 7.3 | osXElcaptain. all setup was correct.

For me recorder button become active when indexing was completed. But indexing took for a while (1-2 h), this is another issue i guess.


Not sure will help you or not, anyway i reported my case to apple as well.

I found that adding a class to the UI Tests group broke the record functionality (SnapshotHelper.swift from fastlane).


Deleting that file from the group restored record and play buttons in the main Tests class.

In case it helps anyone else, I've tried every suggesion here but none of them worked for me. However, the suggestion to wait for indexing to complete triggered an idea which did work. Once you have your UI Test Target set up, go into Window->Projects and delete the Derived Data for your project. Then wait for reindexing to complete. The record button should now appear on your UI test methods.

I had the same issue sometimes.

And for this time, I just found out that I am in Version Editor, and when I change back to Standard Editor, the recording button comes back...

Help with &#96;Record UI Test&#96; disabled (greyed out)
 
 
Q