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:

  • Set the zoom factor of your browser to 100%.

  • Set the zoom factor of the Windows display settings to one of the standard values such as 100% or 125%.

Installation

The XBrowser Engine 3.0 is part of the Tricentis Tosca standard installation.

For detailed information on software versions and hardware requirements, see 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 (see chapter "About test configuration parameters").

Creating a test configuration parameter

The test configuration parameter must be named Browser. Enter one of the following values:

  • 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:

  1. Stop the service TOSCAAutomationService in the Windows Task Manager.

  2. Open the file Tricentis.Automation.RelayService.exe.config in any text editor.

  3. Change the value of the setting EnableTerminalServerSupport to True.

  4. Save and close the file.

  5. 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>