ios - Xcode 7 record ui button doesn't appear -


i created ui test class:

import foundation import xctest @testable import testproject  @available(ios 9.0, *) class changewishlistuitests: xctestcase {      func testexample() {         // use recording started writing ui tests.         // use xctassert , related functions verify tests produce correct results.       }  } 

run app on iphone 6 simulator ios 9.3: enter image description here

but, record button, in tutorial: https://developer.apple.com/library/ios/documentation/toolslanguages/conceptual/xcode_overview/recordinguitests.html#//apple_ref/doc/uid/tp40010215-ch75-sw1

didn't appear.

enter image description here

  1. your cursor has inside method want implement (because xcode generates code cursor position)

if doesn't help:

  1. sometimes xcode appears instable when add ui test existing project. following sequence helped me in cases:

    • clean project
    • restart xcode
    • rebuild project
    • click inside test method set cursor

sometimes had 2 times.

  1. your simulator has run @ least ios 9.0

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -