The support for playing back tests and recording locators on mobile browsers is not as complete as the support for the other
supported browsers. The known limitations for playing back tests and recording locators for mobile web applications are:
The following classes, interfaces, methods, and properties are currently not supported for mobile web applications:
BrowserApplication class.
closeOtherTabs method
closeTab method
existsTab method
getActiveTab method
getSelectedTab method
getSelectedTabIndex method
getSelectedTabName method
getTabCount method
imageClick method
openTab method
selectTab method
DomElement class.
domDoubleClick method
domMouseMove method
getDomAttributeList method
IKeyable interface.
pressKeys method
releaseKeys method
Silk4J does not support testing HTML frames and iFrames with
Apple Safari on
iOS, including text recognition in HTML frames and iFrames.
Text recognition includes the following methods:
textCapture
textClick
textExists
textRectangle
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.
Silk4J does not support properties in XPath expressions.
If you are testing a mobile web application on
Android,
Silk4J does not support zooming.
The following JavaScript alert-handling methods of the
BrowserWindow class do not work when testing on the Original
Android Stock (AOSP) Browser:
acceptAlert method
dismissAlert method
getAlertText method
isAlertPresent method
At any given point in time, you can test on multiple physical
iOS devices that are connected to the Mac, but only on one
iOS Simulator that is running on the Mac.
Before starting to test a mobile web application, ensure that no browser tab is open.
Tip: On iPads you can disable tabs in
Apple Safari. Navigate to
Settings > Safari and disable
Show Tab Bar to do so.
While testing a mobile web application, you can only have one browser tab open.
Silk4J does not support testing mobile web applications that are opened by a native mobile application.
Testing web or hybrid applications on iOS requires iOS version 11 or later.