Skip Navigation

Implementing automated testing for 
BlackBerry Dynamics
 apps

The 
BlackBerry Dynamics SDK
 includes the 
BlackBerry Dynamics
 Automated Test Support Library (ATSL) to support automated testing for your 
BlackBerry Dynamics
 apps. The library is delivered as source code.
The library includes helper functions for testing common user interactions in 
BlackBerry Dynamics
 apps, such as activation and authorization. There are separate helper functions for handheld and wearable apps. The configuration and structure of the library is compatible with the native 
Android
 Testing Support Library. It makes use of the following components:
  • com.android.support.test:rules
  • com.android.support.test.uiautomator:uiautomator-v18
For more information about these components and the 
Android
 Testing Support Library, see Android Studio: Test your app.
You can use the 
BlackBerry Dynamics
 library, the native library components mentioned above, and 
Gradle
 and JUnit tools to automate the building, execution, and reporting of your application tests.
Since the 
BlackBerry Dynamics
 Automated Test Support Library is delivered as source code, you can make your own changes to it. It is recommended that you make a copy of the source code before you make your own changes. Later releases of the SDK may include changes that you want to merge with your own.
The 
BlackBerry Dynamics
 ATSL is located in the sub-directory dynamics_sdk/libs/common/gd_automated_test_support/. If you use the 
Android SDK
 Manager to install the 
BlackBerry Dynamics SDK
, the library is located under the 
Android
 home directory at ANDROID_HOME/extras/good/dynamics_sdk/libs/common/gd_automated_test_support/. The library code is in a single package, com.good.automated_test_support.