Header
Configure Internet Explorer for Test Case Execution
In order to execute your test cases using Internet Explorer browser, you need to configure some settings accordingly.
- Download the IEDriverServer executable and place it in the designated path (%localappdata%\QualitiaWDClient\Selenium).
- Disable Enhanced Protected Mode for IE 10 and higher. (This option is found in the Security tab of the Internet Options dialog).
- Set the Security level to Medium for Internet, Local Intranet, Trusted Sites, and Restricted Sites sections. (This option is found in the Security tab of the Internet Options dialog)
- Set the Change the size of text, apps, and other items to 100% in Display settings for Windows 10 and later.
- Set the browser zoom level to 100%. This helps to set the correct coordinates for the native mouse events.
- Set Document Mode to Edge (Default), 10, or 11. Go to Settings > F12 Developer Tools > Emulation > Mode > Document Mode.
- For IE 11, set the registry entry on the target computer so that the driver can maintain the connection to the instance of the IE it creates.
- For 32-bit Windows installations, the key you must examine in the registry editor is
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE
. Inside this key, create a DWORD value namediexplore.exe
with the value of 0. For 64-bit Windows installations, the key is
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE
. Inside this key, create a DWORD value namediexplore.exe
with the value of 0.The
FEATURE_BFCACHE
subkey may or may not be present and should be created if it is not present.
- For 32-bit Windows installations, the key you must examine in the registry editor is
For more information about other related settings, please refer to the SeleniumHQ GitHub wiki documentation here.
Footer