The known limitations for playing back tests and recording locators on native mobile applications (apps) are:
- The following classes, interfaces, methods, and properties are currently not supported for native mobile applications:
- IKeyable interface.
- PressKeys method
- ReleaseKeys method
- MobileDevice class.
- When testing a native mobile application on
iOS, the
SetLocation method is only supported for
iOS simulators, not for physical
iOS devices.
- When testing a native mobile application on an
Android version prior to
Android 6.0, you have to enable
Allow mock locations to use the
SetLocation method. To do so, open the settings of the
Android device or emulator and tap
Developer Options.
- When testing a native mobile application on
Android 6.0 or later, you have to set the app to
Appium Settings to use the
SetLocation method. To do so, open the settings of the
Android device or emulator and tap
. Then choose
Appium Settings.
Note: The
Appium Settings entry is only available if you have already executed a test with Appium on the
Android device or emulator.
- Recording in landscape mode is not supported for emulators that include virtual buttons in the system bar. Such emulators do not correctly detect rotation and render the system bar in landscape mode to the right of the screen, instead of the lower part of the screen. However, you can record against such an emulator in portrait mode.
- Only HTML attributes in the HTML DOM are supported in XPath expressions for mobile applications.
Silk Test Workbench does not support properties in XPath expressions.
- At any given point in time, each user on a Mac can only test on one
iOS device that is connected to the Mac or on one
iOS Simulator that is running on the Mac. To test on multiple
iOS devices or
iOS Simulators on the same Mac, a user session on the Mac is required for each device and Simulator. For additional information, see
Testing Multiple iOS Simulators on the Same Mac
.
- Silk Test Workbench does not support text recognition when testing native mobile applications on both
Android and
iOS.
Text recognition includes the following methods:
- TextCapture
- TextClick
- TextExists
- TextRectangle
- Silk Test Workbench does not support testing native mobile applications with multiple web views.