Skip Navigation

Add automated testing to your 
BlackBerry Dynamics
 
iOS
 app

The following steps assume that the target app is already configured to use the 
BlackBerry Dynamics SDK
.
  1. If necessary, create a target in the project to run user interface tests. The target must have the type “iOS UI Testing Bundle”.
  2. Add the ATSL to the test target.
    To import the 
    BlackBerry Dynamics
     ATSL, add the following folder to the application project: BBD_SDK_HOME_FOLDER/AutomatedTestSupport/Core. Select the option to copy the ATSL folder into the project folder.
  3. Add or write code for your app tests. Use the helper functions in the ATSL in your test code.
You can use the code for the app tests in any of the sample apps as a starting point. The first app test, 
testProvision
, executes 
BlackBerry Dynamics
 activation and unlock as an automated test.