Known Issues - Internet Explorer

This topic lists known issues when using UFT One to test applications running in Internet Explorer.

General limitations

Disabling add-ins to speed up browsing

If Internet Explorer 9 displays the message: Speeding up browsing by disabling add-ons, choose Don't disable or select a bigger threshold value.

InPrivate Browsing

Creating and running steps that start an InPrivate Browsing session is supported only by using Tools > InPrivate Browsing.

Using toolbars or extensions for this operation may cause Microsoft Internet Explorer to behave unexpectedly.

Tab steps

Creating and running steps that are related to tabs, such as selecting a tab or creating a new tab is not supported when Microsoft Internet Explorer is in Full Screen mode.

Workaround: Add a <Browser>.FullScreen step before and after the desired step to toggle Full Screen mode.

Back to top

Test objects, methods, and properties

AutoXPath

Recognition of test objects when using AutoXPath is very slow for web pages in Quirks Mode and Almost Standards Mode.

Workaround:

Convert the web page into Standards Mode by doing one of the following:

  • Add or change the DOCTYPE of the page.

    Add or change it into one of the following:

    <!DOCTYPE.htlm>

    <!DOCTYPE.HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"

  • Disable AutoXPath capabilities in UFT One.

    Clear the Learn and run using automatic XPath identifiers option in the Web > Advanced pane

    (Tools > Options > GUI Testing tab > Web > Advanced node).

RunScript / RunScriptFromFile methods

When using the RunScript or RunScriptFromFile methods, Alert, Confirm, or Prompt dialogs are not displayed.

Workaround: When writing a RunScript method, use the following method syntax:

Set wnd=Browser("<browser name>").Page("<page name>").RunScript("window") wnd.alert()

or

Browser("<browser name>").Page("<page name>").RunScript "setTimeout(function () {alert(); }, 0)"

WebXML test object

The WebXML test object is not supported on Internet Explorer 9 or later running in standard mode.

Accordingly, features related to WebXML test objects, such as XML checkpoints and output value steps, are not supported on such browsers.

about:blank tabs

In some cases, UFT One does not support or recognize about:blank tabs in Internet Explorer 11.

Type property for WebButton test objects

The Type property of the WebButton test object that uses the HTML <button> tag has a different default value in Microsoft Internet Explorer and Chrome/Chromium Edge/Mozilla Firefox.

In Microsoft Internet Explorer the default value is Button, but in Chrome/Chromium Edge/Mozilla Firefox the default value is Submit.

Workaround: Do not use the Type property in the description of a WebButton test object.

Early versions of Internet Explorer

When using Internet Explorer 9, the innertext, outertext, innerhtml and outerhtml property values may differ from earlier versions of Internet Explorer.

Therefore, using these values in parameters or running checkpoints that use these property values may cause the steps to fail.

Browser.Back method

Sometimes, the Browser.Back step may not be performed if its previous step causes a page redirection.

Workaround: Add a Wait statement between the two steps.

Example:

Browser("Advantage Shopping").Page("Advantage Shopping").WebElement("SpeakersCategoryTxt").Click

Wait 2
Browser("Advantage Shopping").Back
Shadow DOM Testing apps developed with Shadow DOM is not supported in Internet Explorer.

Back to top

Recording

Performance

Active Screen

When recording a test on Internet Explorer 8 or earlier with the Active Screen enabled, performance on the site may become very slow.

This is due to a performance issue in the JavaScript engine used in these browsers.

Workaround: Record the test using Internet Explorer 9, or disable the Active Screen.

For details, see the UFT One User Guide.

Drop-down boxes in a web page

UFT One may respond slowly during a recording session if the drop-down boxes in a Web page contain a lot of data.

Workaround: Learn the objects on a Web page that contains a lot of data (instead of recording).

Oracle ADF

Recording on an Oracle ADF object in Internet Explorer may result in performance issues.
If this occurs, use a different browser to record, or create the script manually.

Items not recorded

Switching between internet and intranet sites

UFT One does not record steps when switching between an Internet site and an Intranet site, if you are using Internet Explorer with:

  • UAC enabled

  • Protected mode enabled for either the Internet zone or the Intranet zone (Internet Options > Security tab)

  • Protected mode disabled for the other zone (the Internet or Intranet zone)

Workaround: Set the integrity level (Protected mode enabled or not enabled) to be the same for the Internet and Intranet zones.

Customized toolbar buttons

UFT One records only on the toolbar buttons displayed by default in Internet Explorer, and does not record on customized toolbar buttons.

Find window

UFT One does not record on the Find window of the Microsoft Internet Explorer browser.

Auto-complete operations

In Internet Explorer, the AutoComplete operation on edit fields is not recorded.

Workaround: You can disable the AutoComplete feature in Microsoft Internet Explorer by selecting Tools > Internet Options > Advanced and deselecting the Use inline AutoComplete under the Browsing options in Microsoft Internet Explorer.

Specific SAP objects and methods

Recording the following methods in Internet Explorer may have unexpected results:

  • SAPUIDateTimeInput.SetDateTime (Fiori 1.52)
  • SAPWebExtTable.SetCellData

Workaround: If your script is not recorded correctly, do one of the following:

  • During recording, click elsewhere to clear the selection on the object, and then click the object again to select it. Then perform the operation again to record it.
  • Edit the script manually.
  • Record using a different browser.
Image maps

If you record a click on an area of an image map that is not mapped to a URL in Microsoft Internet Explorer, UFT One will perform a click on the first mapped area of that map during the run session.

Combo boxes

When recording on an combo box object in which the role property is "listbox" (and is recorded as a WebList object), UFT One adds additional WebEdit.Set steps to the test when you select a value from the object with the .Select method.

Workaround: Delete the unneeded WebEdit.Set steps.

Angular

Recording on web pages built in Angular is not supported in Internet Explorer.

Recording and running tests on Windows 11

UFT One versions 2021 R1 and earlier

If in the Recording & Run Settings dialog, you selected to record or run a test on your application on Internet Explorer, Chromium Edge is launched instead as Windows 11 does not support Internet Explorer.

Workaround: Select Chromium Edge in the Recording & Run Settings dialog, and then record or run your test in IE mode in Chromium Edge.

Back to top

Active Screen

When using Internet Explorer versions 10 or 11, if you use the Active Screen to view objects or add steps to a test or component, the Active Screen does not capture the updated state of the Web page.

Workaround: Open the Developer Tools for the Web page and change the Document Mode to 8 or lower.

Back to top

See also: