Configuring Internet Explorer for Test Studio Automation
To configure Microsoft Internet Explorer for web automation with Test Studio, there are certain settings required. Complete the following steps to adjust the browser for test recording and execution.
Automatic Calibration
To ensure flawless and consistent automation process there are some settings to apply to the browser. We call this browser calibration and have implemented a feature to automatically calibrate the browser out of the box and no manual interaction is required.
Note: If you receive a certificate-related warning when the Test Studio recorder is attached to the browser, or when executing a Performance run, follow the instructions here.
Tip
You can check all settings applied from the calibration in the Manual Configuration section below (click the + sign to expand it).
Zoom Level Set to 100%
1. Go to the higher right of the browser.2. Click Tools button -> Zoom.
3. Select 100% (or use the keyboard shortcut: Ctrl + 0).
Disable Protected Mode
1. Click Tools > Internet Options.2. Click the Security tab.
3. Uncheck the Enable Protected Mode checkbox.
4. Repeat step 3 for:
- Internet
- Local intranet
- Trusted sites
Disable Pop-up Blocker
1. Click Tools > Internet Options2. Click the Privacy tab.
3. Uncheck the Turn on Pop-up Blocker checkbox.
Pop-ups Open in a New Window
1. Click Tools > Internet Options.2. On the General tab, click the Settings button for Change how webpages are displayed in tabs.
3. Select Always open pop-ups in a new window.
Add the Websites to List of Trusted Sites
1. Click Tools > Internet Options.2. Click the Security tab.
3. Click on Trusted sites.
4. Click the Sites button.
5. If your site is not secure (uses HTTPS protocol), then uncheck the Require server verification... checkbox.
6. Enter the URL of your website in Add this website to the zone text box. This text box will accept both DNS names and IP addresses.
7. Click Add.
8. Repeat steps 6-7 for each website you'll be testing.
Disable Trusted Sites Message
1. Click Tools > Internet Options.2. Click the Security tab.
3. Click Trusted sites and then Custom level.
4. Scroll down until you find the Websites in less privileged web content zone can navigate into this zone under the Miscellaneous heading.
5. Check Enable.
Ensure JavaScript Is Enabled
1. Click Tools > Internet Options.2. Click the Security tab.
3. Click Trusted sites and then Custom level.
4. Scroll down until you find the Active scripting setting under the Scripting heading.
5. Check Enable.
Disable Mixed Content Message
1. Click Tools > Internet Options.2. Click the Security tab.
3. Click Trusted sites and then Custom level.
4. Scroll down until you find the Display mixed content setting under the Micellaneous heading.
5. Check Enable.
Enable File Downloads
1. Click Tools > Internet Options.2. Click the Security tab.
3. Click Trusted sites and then Custom level.
4. Scroll down until you find the File download setting under the Downloads heading.
5. Check Enable.
6. Repeat steps 3 - 5 for the Local intranet and the Internet zones.
For IE7 and IE8 file downloads, uncheck Close this dialog box when download completes. The only way to do this is to actually start downloading something and uncheck this checkbox while the download is running.
For IE9 downloads, check Notify me when my downloads are complete:
1. Click Tools > View downloads.
2. Click the Options link in the lower left.
3. Check Notify me when my downloads are complete.
4. Click OK
Allow Local Files to Run Unhindered
1. Click Tools > Internet Options.2. Click the Advanced tab.
3. Check Allow active content to run in files on My Computer under the Security heading.
Turn Off AutoComplete
1. Click Tools > Internet Options.2. Click the Content tab.
3. Click the Settings button under the AutoComplete section.
4. In AutoComplete Settings, uncheck Forms and User names and passwords on forms.
Windows updates
The latest Internet Explorer updates should be installed.Note: Installing KB2987107 security update for Internet Explorer 11 helps some customers with recording issues.
Add http://www.w3.org to Trusted Sites
1. Click Tools > Internet Options.2. Click the Security tab.
3. Click Trusted sites.
4. Add http://www.w3.org to the trusted sites.