sweetfa
sweetfa

Reputation: 5853

How to get XCode to record test

I am trying to get XCode to record for a UITest, however I select the test method to use, and XCode consistently tells me I need to select a test method.

From the below screenshot you can see the error as I hover over the record button.

Is there something I am missing here, or is it fundamentally broken and not used anymore?

Screenshot of issue

If I place the cursor within the test method, no record button is visible.

enter image description here

I am using XCode version enter image description here

Upvotes: 2

Views: 2224

Answers (1)

JasonJotted
JasonJotted

Reputation: 666

You have to place the cursor inside of the test method by clicking inside of the function's body. Then click the record button and Xcode will record the test.

(Xcode needs to be running the app.)

Upvotes: 1

Related Questions