By default, this property is equal to the object’s accessibility description, which can be set in Interface Builder. Therefore, Frank defines a FEX_accessibilityLabel property on NSObject. However, accessibilityLabel does not exist on the Mac. Labeling Viewsįrank identifies UIViews based on their accessibilityLabel property. As Mac apps do not run in a simulator, the -mac flag will prevent Frank from trying to build your app for a simulator. The frank build command normally compiles the app for running in a simulator. The one difference is that you must pass a -mac flag to frank build. The steps to Frankify a Mac app are nearly identical to the steps to Frankify an iOS app. The testing machine must have access for assistive devices turned on, as described in Getting Started. If you need to run tests on 10.9 before the official release, see this thread.
Due to the NDA covering the pre-release builds of 10.9, testing on 10.9 is not currently supported. Requirementsįrank can be used to test 64-bit Mac apps on OS X 10.7 and 10.8.
Writing tests for Mac apps is similar to writing tests for iOS apps, but there are important differences. Frank can be used to write tests for Mac apps as well as iOS apps.