XBrowser Engine 3.0
Tosca XBrowser Engine 3.0 can be used to test web applications.
To ensure that web applications are properly scanned and tested with XBrowser Engine 3.0, perform the following actions:
|
Installation
The Tosca XBrowser Engine 3.0 is part of the Tricentis Tosca standard installation.
For detailed information regarding software versions and hardware requirements for the engine, please refer to the System Requirements.
Specifying the browser
During test execution, the system searches automatically all open browsers for the control to be steered.
You can also specify the browser to be steered by using test configuration parameters
Creating a test configuration parameter
The test configuration parameter must be named Browser. The following values are possible:
-
InternetExplorer
-
Firefox
-
Chrome
-
Edge
Test configuration parameter for running tests in Internet Explorer
You can use all supported browsers to scan online websites. We recommend using either Chrome, Firefox or Internet Explorer to scan local websites. |
Quirks mode
If the HTML document does not begin with the DOCTYPE definition (<!DOCTYPE html ...>), the document is executed in Quirks mode. This allows the DOM tree to be generated differently in the various browsers.
Please make sure that the quirks mode is disabled to be able to scan and test such screens accordingly. Press F12 to select one of the provided standard modes.
Disabling the quirks mode
Activating terminal server support
In order to test your web applications on browsers that are running on a terminal server, you must first activate the terminal server support for the XBrowser Engine 3.0. To activate terminal server support for the XBrowser Engine 3.0 on your Terminal Server, you have to edit the file Tricentis.Automation.RelayService.exe.config.
Files and paths to be configured |
---|
Tricentis.Automation.RelayService.exe.config |
Path to your directory Default path: C:\Program Files (x86)\TRICENTIS\Tosca Testsuite\TBox |
Follow these steps to activate the terminal server support:
-
Stop the service TOSCAAutomationService in the Windows Task Manager.
-
Open the file Tricentis.Automation.RelayService.exe.config in any text editor.
-
Change the value of the setting EnableTerminalServerSupport to True.
-
Save and close the file.
-
Restart the service TOSCAAutomationService in the Windows Task Manager.
The example below shows the activation of the terminal server support:
<applicationSettings>
<Tricentis.Automation.RelayServiceSettings>
...
<setting name="EnableTerminalServerSupport" serializeAs="String">
<value>True</value>
</setting>
</Tricentis.Automation.RelayServiceSettings>
</applicationSettings>