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
Silk4NET 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.
Silk4NET does not support properties in XPath expressions.
If you are testing a mobile web application on
Android,
Silk4NET 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.
Silk4NET 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.