Was this page helpful?

Best Practice of browser settings for RIA

    Table of contents
    1. 1. Internet Explorer
      1. 1.1. Windows Workstation OS
        1. 1.1.1. 1. Internet Options
          1. 1.1.1.1. 1.1 Security Level
            1. 1.1.1.1.1. A. Disable Protected mode
            2. 1.1.1.1.2. B. Remove IE Banner Warning
          2. 1.1.1.2. 1.2 Enhanced Protected Mode
          3. 1.1.1.3. 1.3 OCSP (Online Certificate Status Protocol)
          4. 1.1.1.4. 1.4 General Settings
        2. 1.1.2. 2. Update
          1. 1.1.2.1. Options for blocking automatic delivery
        3. 1.1.3. 3. Check Add-ons
        4. 1.1.4. 4. Other best practices
          1. 1.1.4.1. 4.1 Browser preferred language
          2. 1.1.4.2. 4.2 Disable “preferred browser” checks
          3. 1.1.4.3.
          4. 1.1.4.4. 4.3 Disable crash recovery
          5. 1.1.4.5. 4.4 Do not block popup windows
          6. 1.1.4.6. 4.5 Use system proxy settings
      2. 1.2. Windows Server OS
        1. 1.2.1. 1. Internet Options
          1. 1.2.1.1. 1.1 Security Level
            1. 1.2.1.1.1. A. Disable Protected mode
            2. 1.2.1.1.2. B. Remove IE Banner Warning
          2. 1.2.1.2. 1.2 Enhanced Protected Mode
          3. 1.2.1.3. 1.3 OCSP (Online Certificate Status Protocol)
          4. 1.2.1.4. 1.4 Proxy Settings
        2. 1.2.2. 2. Update
          1. 1.2.2.1. Options for blocking automatic delivery
        3. 1.2.3. 3. Check Add-ons
        4. 1.2.4. 4. Other best practices
          1. 1.2.4.1. 4.1 Browser preferred language
          2. 1.2.4.2. 4.2 Disable “preferred browser” checks
          3. 1.2.4.3.
          4. 1.2.4.4. 4.3 Disable crash recovery
          5. 1.2.4.5. 4.4 Do not block popup windows
    2. 2. Chrome
      1. 2.1. 1. Basic settings
        1. 2.1.1. 1.1 RIA plugin activation
        2. 2.1.2. 1.2 Default start page
      2. 2.2. 2. Activation in REGEDIT
        1. 2.2.1. 2.1 Activate options
        2. 2.2.2. 2.2 Unblock extensions
      3. 2.3. 3. Advanced Options
        1. 2.3.1. 3.1 Disable preload, sign-in and payment option
        2. 2.3.2. 3.2 Site settings
        3. 2.3.3. 3.3 Disable auto-fil of passwords
        4. 2.3.4. 3.4 Disable all Google services
        5. 2.3.5. 3.5 Disable Translation and Spell check
        6. 2.3.6. 3.6 Disable background apps and activate hardware acceleration
    3. 3. Firefox
      1. 3.1. 1. Disable Auto-Update
      2. 3.2. 2. Disable OCSP (Online Certificate Status Protocol)
      3. 3.3. 3. Clear cache
        1. 3.3.1. 3.1 Clear history when Firefox closes
        2. 3.3.2. 3.2 Disable "backend" cache
    4. 4. See also

    Internet Explorer

    Please note that Microsoft Edge is not an equivalent of Internet Explorer as it does not support external Add-ons. RIA environment could not interact with Microsoft Edge through Javascript injection.

    Windows Workstation OS

    1. Internet Options

    1.1 Security Level
    A. Disable Protected mode
    Internet Explorer's protected mode could forbidden or slow down interactions between web pages and RIA plugin. It is highly recommended to disable protected mode in Internet Explorer. If necessary, add/remove Admin rights to make the change.
    The protected mode can be disabled as a scenario option (see SetOption / NewtRIA documentation in NTBR help doc)
    B. Remove IE Banner Warning

    It is possible to remove the Banner warning popup with the following registry key:

    Microsoft.Win32.Registry.CurrentUser.CreateSubKey(r"Software\Microsoft\Internet
    Explorer\Main",Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree).SetValue("NoProtectedModeBanner",1)
    1.2 Enhanced Protected Mode

    On Windows 10, Internet Explorer's "Enhanced Protected Mode" will prevent web pages from communicating with RIA plugin. It is mandatory to disable it through Internet Options.

     

    1.3 OCSP (Online Certificate Status Protocol)

    Uncheck the option "Check for server certificate revocation*".

    This option performs an online certificate checking each time an Internet Explorer window/tab is launched with RIA plugin activated. This could cause a long plugin loading time before continuing to the next step in scenarios.

    1.4 General Settings

    It is recommended to set your Internet Explorer's home page as "about:blank". This could help avoid extra page loading time during execution of your scenarios.

    Check the option "Delete browsing history on exit". This option helps to keep Internet Explorer in identical status for each execution of a scenario.

    2. Update

    It is highly recommended to disable auto-update of your browser. It will be easier and more controllable to perform browser updates manually for all Newtest robot machines at the same time.

    Options for blocking automatic delivery

    If you use Automatic Updates in your company, but want to stop your users from automatically getting Internet Explorer 11, do one of the following:

    • Download and use the Internet Explorer 11 Blocker Toolkit. Includes a Group Policy template and a script that permanently blocks Internet Explorer 11 from being offered by Windows Update or Microsoft Update as a high-priority update. You can download this kit from the Microsoft Download Center.

      Note: The toolkit won't stop users with local administrator accounts from manually installing Internet Explorer 11. Using this toolkit also prevents your users from receiving automatic upgrades from Internet Explorer 8, Internet Explorer 9, or Internet Explorer 10 to Internet Explorer 11. For more information, see the Internet Explorer 11 Blocker Toolkit frequently asked questions.
    • Use an update management solution to control update deployment. If you already use an update management solution, like Windows Server Update Services (WSUS) or the more advanced System Center 2012 Configuration Manager, you should use that instead of the Internet Explorer Blocker Toolkit.

      Note: If you use WSUS to manage updates, and Update Rollups are configured for automatic installation, Internet Explorer will automatically install throughout your company. This scenario is discussed in detail in the Knowledge Base article here.

    3. Check Add-ons

    Newtest RIA plugin shows as "BHO_IPLN.BHO" in Internet Explorer's Add-on list. This plugin is mandatory for Newtest RIA scenarios.

    When your Internet Explorer is manually launched, you will see it appears in the list of Add-ons but disabled.

     

    When your Internet Explorer is launched by a Newtest RIA scenario, however, this add-on should be on state "Enabled". Otherwise, RIA scenario could not work.

    You may force the plugin activated by launching IE with the following commend line :
    C:\Program Files (x86)\IP-LABEL\NEWTEST\ROBOT\EXE>WEBRUNNER.EXE -no_httpwatch -url newtest:blank
    Activate in add-ons list BHO_IPLN.BHO.

     

    4. Other best practices

    4.1 Browser preferred language

    Your preferred language of browser could be checked by a lot of web applications to adapt their content with this language.

    e.g. Google proposes local search results according to your chosen language and its location.


    4.2 Disable “preferred browser” checks

    4.3 Disable crash recovery
    See figure above.
    4.4 Do not block popup windows

    4.5 Use system proxy settings

    Indeed, Newtest script proposes SetOption() function in RIA environment to setup temporarily proxy settings for a scenario. It is always recommended to use a single system proxy for all your scenarios on the same machine. This could help avoid potential user rights problem by changing proxy settings on your machine.

    Windows Server OS

    1. Internet Options

    1.1 Security Level
    A. Disable Protected mode
    Internet Explorer's protected mode could forbidden or slow down interactions between web pages and RIA plugin. It is highly recommended to disable protected mode in Internet Explorer. If necessary, add/remove Admin rights to make the change.
    The protected mode can be disabled as a scenario option (see SetOption / NewtRIA documentation in NTBR help doc)
    B. Remove IE Banner Warning

    It is possible to remove the Banner warning popup with the following registry key:

    Microsoft.Win32.Registry.CurrentUser.CreateSubKey(r"Software\Microsoft\Internet
    Explorer\Main",Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree).SetValue("NoProtectedModeBanner",1)
    1.2 Enhanced Protected Mode

    Internet Explorer's "Enhanced Protected Mode" will prevent web pages from communicating with RIA plugin. It is mandatory to disable it through Internet Options.

    Internet Explorer on Windows Server could have issue propagating this option change to all available sessions. To workaround this issue, you only need to click on "Reset" bouton as shown below to propagate your modification.

    On Windows Server 2016/2019, an additional parameter is editable through the 'Server Manager' Window (by the menu 'Local Server') and must be disabled: 

     
    1.3 OCSP (Online Certificate Status Protocol)

    Uncheck the option "Check for server certificate revocation*".

    This option performs an online certificate checking each time an Internet Explorer window/tab is launched with RIA plugin activated. This could cause a long plugin loading time before continuing to the next step in scenarios.

    1.4 Proxy Settings

    While using several sessions in a Windows Server OS, Newtest function SetOption("HTTP_PROXY"...) could not make changes to Internet Explorer's proxy settings due to a Microsoft bug. You will need to configure directly proxy settings through Internet Explorer and it could not be different between different sessions.

    2. Update

    It is highly recommended to disable auto-update of your browser. It will be easier and more controllable to perform browser updates manually for all Newtest robot machines at the same time.

    Options for blocking automatic delivery

    If you use Automatic Updates in your company, but want to stop your users from automatically getting Internet Explorer 11, do one of the following:

    • Download and use the Internet Explorer 11 Blocker Toolkit. Includes a Group Policy template and a script that permanently blocks Internet Explorer 11 from being offered by Windows Update or Microsoft Update as a high-priority update. You can download this kit from the Microsoft Download Center.

      Note: The toolkit won't stop users with local administrator accounts from manually installing Internet Explorer 11. Using this toolkit also prevents your users from receiving automatic upgrades from Internet Explorer 8, Internet Explorer 9, or Internet Explorer 10 to Internet Explorer 11. For more information, see the Internet Explorer 11 Blocker Toolkit frequently asked questions.
    • Use an update management solution to control update deployment. If you already use an update management solution, like Windows Server Update Services (WSUS) or the more advanced System Center 2012 Configuration Manager, you should use that instead of the Internet Explorer Blocker Toolkit.

      Note: If you use WSUS to manage updates, and Update Rollups are configured for automatic installation, Internet Explorer will automatically install throughout your company. This scenario is discussed in detail in the Knowledge Base article here.

    3. Check Add-ons

    Newtest RIA plugin shows as "BHO_IPLN.BHO" in Internet Explorer's Add-on list. This plugin is mandatory for Newtest RIA scenarios.

    When your Internet Explorer is manually launched, you will see it appears in the list of Add-ons but disabled.

     

    When your Internet Explorer is launched by a Newtest RIA scenario, however, this add-on should be on state "Enabled". Otherwise, RIA scenario could not work.

    You may force the plugin activated by launching IE with the following commend line :

    C:\Program Files (x86)\IP-LABEL\NEWTEST\ROBOT\EXE>WEBRUNNER.EXE -no_httpwatch -url newtest:blank

    Activate in add-ons list BHO_IPLN.BHO.

    4. Other best practices

    4.1 Browser preferred language

    Your preferred language of browser could be checked by a lot of web applications to adapt their content with this language.

    e.g. Google proposes local search results according to your chosen language and its location.


    4.2 Disable “preferred browser” checks

    4.3 Disable crash recovery
    See figure above.
    4.4 Do not block popup windows
     

    Chrome

    Attention! With Chrome v58+, activation of flag #allow-insecure-localhost is madatory for RIA scenarios. For more details, please check NewtRia browser compatibility page in Chapter "See also".

    1. Basic settings

    Note: All settings should be changed with a webrunner launched Chrome instance. To launch a such instance, you will need the following command in a cmd console.

    C:\Program Files (x86)\IP-LABEL\NEWTEST\ROBOT\EXE\WEBRUNNER.EXE -no_httpwatch -url about:blank -navigator chrome

    1.1 RIA plugin activation

    Generally, when a Chrome instance is launched by Webrunner, the plugin should be on state "Activated"

    If you are using the mode "Incognito" you will need to check in "Details" if the extension is enabled by "Allow in incognito"

    Other ways to verify if the plugin is correctly loaded:

    Launch within an RIA scenario "newtest:blank" and see "Addon loaded" and ip-label icon.

     

    1.2 Default start page

    To avoid extra loading time and to make sure the communication between web page and RIA plugin, we highly recommend you to set "about:blank" or "newtest:blank" as default start page.