The following limitations are known when testing web applications with
Silk4NET on
Mozilla Firefox:
- Silk4NET does not support
Mozilla Firefox 47, 48, 49, 50, and 51. However,
Silk4NET supports
Mozilla Firefox 47.0.1 and 47.0.2
- Testing on multiple
Mozilla Firefox windows at the same time is only supported if the additional windows are opened from the initial
Mozilla Firefox window by the AUT itself. If the additional
Mozilla Firefox windows are opened manually,
Silk4NET does not recognize the elements on these
Mozilla Firefox windows. For example,
Silk4NET recognizes the elements in a
Mozilla Firefox window that is opened by clicking on a link or a button in the AUT during recording, but
Silk4NET does not recognize the elements in a
Mozilla Firefox window that was opened by pressing
CTRL+N during recording.
- Silk4NET does not support testing modal browser windows, which are windows that can be displayed with the
window.showmodaldialog command. These modal browser windows have been officially deprecated, and are disabled with
Google Chrome 37 or later, while they are planned to no longer be supported in future versions of
Mozilla Firefox. You can workaround this issue by using low-level actions, for example native clicks with coordinates to click on an object
or typekeys to fill out text fields.
- Silk4NET does not support testing
Silverlight with
Mozilla Firefox.
-
Silk4NET does not support testing some browser dialogs, for example the
About dialog, with
Mozilla Firefox.
- Silk4NET does not support testing
about:* pages with
Mozilla Firefox.
- Silk4NET does not support recording a click on the
Print button in
Mozilla Firefox. To click on this button during replay, you can manually add a desktop click with coordinates to your test script. For example:
'VB .NET code
_desktop.Click(printButton.GetRect(true).Center)
// C# code
_desktop.Click(printButton.GetRect(true).Center);
- Silk Test does not provide native support for
Mozilla Firefox. You cannot test internal
Mozilla Firefox functionality. For example, in a test, you cannot change the currently displayed web page by adding text to the navigation
bar through Win32. As a workaround, you can use API calls to navigate between web pages.
Silk Test supports handling alerts and similar dialog boxes through the Alerts API.
- Silk4NET does not support recording locators on JavaScript alert boxes with
Mozilla Firefox. With
Mozilla Firefox version 58 or prior, you can use the following methods to handle Javascript alert boxes:
- AcceptAlert
- DismissAlert
- GetAlertText
- IsAlertPresent
Note: You cannot use these methods with
Mozilla Firefox 59 or later.
- Silk4NET does not support Java applets for
Mozilla Firefox 52 or later.
Silk4NET supports Java applets for
Mozilla Firefox 47.0.1 or prior with the following limitations:
- Silk4NET does not support the locator
//AppletContainer.
- When the applet opens a modal dialog, a locator similar to
//BrowserApplication//BrowserWindow/JDialog[@caption='Information']//JButton[@caption='OK'] might not work. You can use a locator like
//JDialog[@caption='Information']//JButton[@caption='OK'] instead.
- Silk4NET does not support properties in XPath expressions for
Mozilla Firefox. Only attributes are supported in XPath expressions.
-
Silk4NET does not support the
GetFocus method of the
IMoveable class.
- Silk Test does not support testing child technology domains of the xBrowser domain with
Mozilla Firefox. For example
Apache Flex or
Microsoft Silverlight are not supported with
Mozilla Firefox.
- With
Mozilla Firefox 52 or later, the following methods are not supported:
- With
Mozilla Firefox 52 or prior, the
SetViewportSize method of the
BrowserWindow class is not supported.
- With
Mozilla Firefox 52 or later, native playback for the following is not supported:
- Double-click.
- Right and middle mouse button click.
- With
Mozilla Firefox 52 or later, the
DomClick method is not supported on controls that open an alert.
- With
Mozilla Firefox 55, uploading a file does not work. For additional information, see
File upload no longer works with geckodriver 0.18.0 and Firefox 55.