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. The configuration and structure of the library is compatible with the tools offered by 
Apple
 for user interface testing. It makes use of the following components:
  • XCTest framework
  • Accessibility identifiers 
For more information about these components and 
iOS
 user interface testing, see Apple Documentation Archive: User Interface Testing.
You can use the 
BlackBerry Dynamics
 library and the native library components mentioned above 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 AutomatedTestSupport of the 
BlackBerry Dynamics SDK
 home directory. If you use the graphical installer to install the 
BlackBerry Dynamics SDK
, the library is located under the 
BlackBerry Dynamics
 home directory at ~/Library/Application Support/BlackBerry/Good.platform/iOS/AutomatedTestSupport/. The library code is organized into a workspace file that also includes projects from every sample application.