Implementing automated testing for BlackBerry
Dynamics apps
BlackBerry
Dynamics
appsThe
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 a dynamic framework.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
ATSL is delivered as a framework, you cannot make your own changes to it. If you want to review the implementation and customize it, you can see the source in GitHub
at https://github.com/blackberry/BlackBerry-Dynamics-iOS-Samples/tree/master/AutomatedTestSupportLibrary.The
BlackBerry
Dynamics
ATSL framework is located alongside the BlackBerry
Dynamics
framework in the Frameworks sub-directory in the 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/Frameworks/.