Known Issues - Google Chrome, Microsoft Chromium-based Edge, and Apple Safari

Functionality and Settings

The following known issues are relevant for Google Chrome, Microsoft Chromium Edge, and Apple Safari:

JavaScript on your page

Web pages that modify the browser's JavaScript functionality may cause UFT One to behave unexpectedly.

For example, this would include a Web page that replaces the JSON object.

Link fonts and colors

The font and color properties for link objects contain different values in different browsers.

Therefore, if you create standard checkpoints in Microsoft Internet Explorer and select the font and color properties, running these checkpoints in Chrome, Chromium Edge, or Safari may cause the checkpoints to fail.

Chrome / Safari users

If you have multiple Chrome, Chromium Edge, or Safari users defined, you must delete all users.

Back to top

Test Objects, Methods and Properties

The following known issues are relevant for Google Chrome, Microsoft Chromium Edge, and Apple Safari:

Property values

When using Chrome, Chromium Edge, or Safari, the innertext, outertext, innerhtml and outerhtml property values may differ from other browsers.

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

Unsupported functionality

The following test objects, methods, and other Web-specific functionalities are not supported in Chrome, Chromium Edge, or Safari:

  • ViewLink test object

  • chrome://* pages

  • edge://* pages (in Chromium Edge browsers)

  • about://* pages

  • blob:* frames (in Chrome and Chromium Edge browsers)

  • Browser.Home method

  • Browser.Object method

  • Browser.Stop

  • Developer Tools pane. (Running steps on Chrome, Chromium Edge, or Safari while the Developer Tools pane is open is supported.)

  • WebXML test object (and, accordingly, XML checkpoints and output value steps).

  • Web-based environments, such as Siebel, Java, .NET Web Forms, and so on.

    Testing Web-based SAP applications is not supported on Safari. On Chrome and Chromium Edge it is supported, except for the following test objects: SAPiView, SAPMenu, SAPOKCode, SAPStatusBar, and SAPWorkCenter.

    See also: Web-based SAP support.

Dialog boxes

Recording on and running scripts on dialog boxes opened by the browser, such as Alert, Confirmation, or Prompt messages are supported.

Use the DialogExists, GetDialogText, and HandleDialog methods to automate behavior of dialog boxes.

Back to top

Google Chrome and Microsoft Chromium Edge

Checkpoints
  • Text checkpoints fail when running on Chrome or Chromium Edge.
  • When creating or running checkpoints on AgGrid objects in Chrome or Chromium Edge, maximize your browser to avoid unexpected behavior.
Alerts or dialog boxes

If you have a browser alert or warning dialog open, UFT One cannot run or record tests or components on the browser.

Workaround: Close the alert or warning dialog before trying to run or record a test or component.

Internal Chrome pages

Internal Chrome pages, such as the about:blank page, Chrome sign-in page, Chrome Web Store, and Chrome's default tabs homepage are not recognized as Web pages but WinObjects.

Manually enable the extension

You must manually enable the Micro Focus UFT Agent extension in the following cases:

Google Chrome

  • You have no Internet connection.

  • You have not enabled the automatic updates for Google Chrome.

  • You are using Google Chrome versions 31 or earlier.

For more details, see Enable the Micro Focus UFT Agent Chrome extension.

Microsoft Chromium Edge

  • You have no Internet connection.

  • You have not enabled the automatic updates for Chromium Edge.

For more details, see Enable the Micro Focus UFT Agent extension on Chromium Edge.

Enable extension installation in your browser policy

If the extension fails to install due to your browser policy or if you didn't select the Set Chrome, Chromium Edge, Firefox options option during installation, manually allow the installation by performing the following changes: 

Caution: Make sure that your company's security policies permit you to make this change.

Chromium Edge

Chrome

Manually removing the extension

If you manually uninstall the UFT Agent extension from Chrome or Chromium Edge, you must manually reinstall it if you reinstall UFT One.

Running operations on objects that load after the web page loaded

Sometimes, when you open a browser using SystemUtil.Run or Webutil.LaunchBrowser, the page loads, but operations on the page fail. For example a WebTable.SelectCell method may fail to select the cell.

Possible cause: The site continues to load data after the page is loaded, and the operation performed requires an object that is not ready.

Workaround: Open the browser using the Record and Run Settings, or using SystemUtil.Run with a URL to the specific object on the page.

For example: 

systemutil.run "chrome", "https://sapui5.hana.ondemand.com/1.52.17/#/sample/sap.ui.comp.sample.smarttable/preview"

Recording on Google Chrome
  • Recording on Google Chrome is supported only from versions 31 and higher.
  • The Page/Frame options (Tools > Options > GUI Testing tab > Web > Page/Frame Options node) are not supported for recording in Google Chrome.
  • When accessing FTP servers using Google Chrome, UFT One does not record actions on the server authentication dialogs.

  • When recording a test on a Web page coded in languages other than HTML5, drag and drop methods can be recorded in Internet Explorer only.

  • When recording on Google Chrome, UFT One does not use the location to learn the object.
  • Chrome versions 63 and higher: Recording a step to close the last tab in your Chrome window using the CloseAllTabs method is not supported.

  • If the Record Coordinates option is selected in the Web > Advanced pane of the Options dialog box (Tools > Options > GUI Testing tab > Web > AdvancedRecord Settings section), UFT One does not record correct coordinates on images in Google Chrome browsers.

    Workaround: Manually add the correct coordinates for the image after recording.

Spying
  • If you have the Chrome or Chromium Edge developer tools currently open, UFT One cannot spy on Web objects.
  • When spying on a Web file in Chrome or Chromium Edge, you get a fakepath for a Webfile value property.
  • Using the Object Spy on Alert or Confirm dialogs in Chrome or Chromium Edge causes unexpected behavior in UFT One.

IE Mode on Chromium Edge
  • When running tests on web applications on IE Mode in Chromium Edge:

    • The browser's number of tabs property is incorrect.

    • Any Browser.OpenNewTab step is listed twice in the run results.

  • Spying and recording on web applications on IE mode in Chromium Edge is not supported.

Unsupported functionality
  • The Active Screen captures still images only when recording in Chrome or Chromium Edge.

    To use Active Screen right-click options, such as adding steps or checkpoints, record your tests in Internet Explorer instead.

  • Frameset objects are not supported on Chrome or Chromium Edge.

  • The WebAudio.Play method is not supported for replay on Chrome or Chromium Edge.

    Workaround: In Chrome, browse to chrome://flags and set the Autoplay policy to No user gesture is required.

    In Chromium Edge, browse to edge://flags and set the Autoplay policy to No user gesture is required.

  • Local system monitoring is not supported in Chrome and Chromium Edge.
  • Google Chrome versions 36 or earlier, UFT One does not support Web test objects located inside iFrame controls with a blank or about:blank SRC description property value.

Web Extensibility

If you have a custom toolkit designed using Web Extensibility, UFT One cannot handle some events on Chrome or Chromium Edge browsers.

Windows 10

When testing applications on Google Chrome or Chromium Edge in Windows 10, UFT One does not record many user actions.

Workaround: In Chrome, do the following:

  1. Navigate to the chrome://flags/ page.

  2. In the flags page, disable the Enable touch events option.

Workaround: In Chromium Edge, do the following:

  1. Navigate to the edge://flags/ page.

  2. In the flags page, disable the Enable touch events option.

Working with multiple Chrome versions simultaneously UFT One cannot record or run tests on the Chrome released version and the Chrome beta version in the same session.

Back to top

Apple Safari only

Configuring the UFT Connection Agent preferences

When using Safari 14, an error occurs if you try to open the UFT Connection Agent from the system preferences window.

Workaround: To edit the UFT Connection Agent preferences, use a secondary click on the system preferences icon to open the context menu and then select Micro Focus UFT Connection Agent.

Unsupported UFT One functionality in Safari

The following functionalities are not supported when working with the Safari browser: 

  • Recording. Recording steps on Safari is not supported.

  • Learning objects. Learning objects in the Object Repository Window or Object Repository Manager is not supported. Instead, learn objects using the Remote Object Spy.

  • Maintenance Mode is not supported for Safari.

  • Active Screen. Creating an Active Screen or using the Update Run Mode to update the Active Screen is not supported in Safari.

  • Non-standard checkpoints and output values are not supported. This includes File Content checkpoints and output values, Text checkpoints and output values, and Bitmap checkpoints.

    Page checkpoints, however, are supported. For details, see Page checkpoints.

Unsupported Safari functionality

  • UFT One does not support the Browser.FullScreen method on Safari.

  • Safari caching issues: When your script performs an operation, goes back to the previous page, and then attempts to recognize a web object, UFT One cannot recognize objects.

    This is caused by Safari's caching functionality. For more details, see the Apple developer forum.

    Workaround: Refresh the page before trying to identify objects.

  • On macOS Big Sur, the UFT Connection Agent does not support SSL functionality.

Page checkpoints

Browser differences

Page checkpoints and bitmap checkpoints may fail when running on Google Chrome because of differences between Chrome and Internet Explorer.

For page checkpoints this is related to differences in the handling of casing in HTML source files.

Load time property values

The value of the load time for Page and Frame test objects is always 0 when running on Safari.

In Page checkpoints, the load time property is selected by default, therefore Page checkpoints may fail when running on Safari.

Workaround: Deselect the load time property in Page checkpoints that need to run on Safari.

Unsupported test objects and methods

Only Web test object steps can run on Safari. All other steps run locally on the UFT One computer, including Web 2.0 test objects or Web Add-in Extensibility-based test objects.

Additionally, the following specific test objects and test object methods are not supported when running on Safari:

  • WebFile.Set method

  • Browser.ClearCache method

  • Browser.DeleteCookies method

  • Browser.Back method

  • Drag & Drop methods (on all Web test objects)

  • Web test objects located inside iFrame controls with a blank or about:blank SRC value.

  • WebAudio.Play and WebVideo.Play methods
  • WebAgGrid and WebUIGrid objects

Run sessions

Opening a new browser tab

During a run session, steps that click on a Web object that is supposed to open a new browser tab fail to open the new tab.

Workaround: Disable the popup blocker in Safari. (Safari > Preferences > Security, clear the Block pop-up windows check box).

Recovery scenarios

When running tests or components on Safari, recovery scenarios are not supported.

Mouse replay types

Running tests or components on Safari using the Mouse replay type is not supported.

Make sure that Event is selected as the Replay type in the Run settings section of the Web > Advanced options pane (Tools > Options > GUI Testing tab > Web pane > Advanced node).

Back / Forward operations

Performing Back or Forward options on Safari version 9 (El Capitan) causes unexpected behavior in UFT One.

Workaround: Do the following:

  1. In Safari. select Preferences > Advanced.

  2. In the menu bar, select the Show Develop menu in menu bar option.

  3. In the Develop menu, select Disable caches.

Wait for page to load When working with multiple tabs, you may need to add Wait steps for your web page to fully load before UFT One continues with the next step. Otherwise UFT One may use a previously opened tab instead of the intended tab.
Smart identification Different Smart Identification properties may be used for the same objects in different steps. Make sure that all the Smart Identification properties are aligned before running your test.

Remote Mac connections

Using the automation object model

In the automation object model, WebLauncher.Browser does not support the Safari browser.

To connect to a remote Mac during a test run and open the Safari browser, use the RemoteConnection utility object and its methods.

For details, see the Utility Objects section of the UFT One Object Model Reference for GUI Testing.

Statement completion

Depending on the performance of your connection to the Mac, statement completion for the Object property might not work.

Back to top

See also: