Known issues when installing

This section describes troubleshooting and limitations for installing UFT One.

Previous UFT One versions

  • Ensure that you have the Microsoft update https://support.microsoft.com/en-us/kb/2999226 installed before installing UFT One.

    If the installation fails, repair the Microsoft C++ 2015 Redistributable installation (found in the <UFT One installation folder>/prerequisites folder) and try the UFT One installation again.

  • Due to the Help documentation being online, the Help_Documents silent installation parameter is no longer supported. If you have silent installation scripts that use this parameter, remove it from your scripts to ensure UFT One installs correctly.

Back to top

Files in use

If the UFT One Files in Use dialog box is displayed during the installation process, select Close the application and attempt to restart them.

UFT One automatically closes the applications and continues the installation.

If after restarting, the UFT One Files in Use dialog box lists Explorer as the open application, do one of the following:

Close the applications and attempt to restart them

Instructs UFT One to automatically close the applications that are needed for the installation.

Do not close application.

Instructs UFT One to continue the installation. You must restart your computer after the installation if you select this option.

Back to top

Component registration failed

If a message is displayed during installation about component registration failing, do not click OK to continue.

Instead, check the issue in the VC2015Prerequisite_yyyymmdd_XXXXXX.log file in the %TEMP% directory. If the log shows that a service did not start correctly, restart the service manually, and start your installation again.

Back to top

UFT One installations and other ADM software

Sprinter If you are using both UFT One and Sprinter on the same computer, and you modify either UFT One or Sprinter, you must run a Repair for the installation of the other product.
ALM

When an ALM client is installed on the same computer as UFT One, uninstalling UFT One may remove the association of movie (.fbr) files.

This may prevent you from viewing movies associated with defects in ALM using the Micro Player application.

Workaround: Re-associate the movie files with the Micro Player application from the Windows File Options dialog box.

UFT Developer
  • In the Custom Setup screen, it is possible to select the UFT Developer Visual Studio or Eclipse plugins even if you do not have the relevant IDE installed at the time of the installation.

    If you install the IDE later, you will not have the UFT Developer plugin available.

    Workaround: After installing the required IDE, run a Repair for the installation.

  • Make sure to use the new syntax when silently installing UFT Developer as part of the UFT One installation.

    For details, see Commands for UFT Developer components.

    If you encounter an error similar to this one, make sure you did not use the old LeanFT silent installation command syntax:

    Error: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: LeanFT

Back to top

UFT One installations and Microsoft software

Software UFT instructions
Windows 10
  • When installing UFT One on a Windows 10 operating system, you must close Cortana and the Action Center before performing the UFT One installation.

  • You must have administrative permissions to connect to ALM from UFT One on Windows 10.

    Connect to ALM with Administrator permissions immediately after installing UFT One.

  • In some cases, after a Windows upgrade (for example from 1803 to 1903) UFT One no longer works properly.

    Root cause: The Windows upgrade deleted some registry keys required by UFT One.

    Workaround: Repair the UFT One installation:

    • Using the installation wizard: In the list of programs installed on your computer, select to Change or Modify Micro Focus Unified Functional Testing. In the UFT One setup program that runs, select the option to Repair the program.

    • Using a command line: MSIEXEC /q /fa <UFT One Installation files>\Unified Functional Testing\MSI\Unified_Functional_Testing_x<64 or 86>.msi

    Note: If you need to avoid an installation repair, contact the Micro Focus support team to obtain an execution script that fixes this issue.

pdm.dll
  • If version 6.0.0.8169 of the pdm.dll is found on your computer, the setup program will recgonize this during installation and will instruct you download the corrected DLL from the Microsoft site.

    For more details, see http://support.microsoft.com/kb/q293693/.

  • To debug GUI tests in UFT One, ensure that you have the most recent version of the pdm.dll file installed and registered.

    The pdm.dll file is installed and registered with Microsoft Visual Studio and Microsoft Office, and installed (but not registered) with Microsoft Internet Explorer.

    If your currently registered version is lower than 9:

    1. Uninstall the Microsoft Script Debugger (if installed).

    2. Perform a repair installation of Microsoft Visual Studio or Microsoft Office.

      Check the registry for pdm.dll version: HKEY_CLASSES_ROOT\CLSID\{78A51822-51F4-11D0-8F20-00805F2CD064}\InprocServer32

    If you need to use the pdm.dll file installed with Microsoft Internet Explorer, do the following:

    1. Ensure that you have administrator privelgest.
    2. Locate the pdm.dll file, usually located either in c:\program files(x86)\internet explorer\ or c:\program files\internet explorer.
    3. Move the pdm.dll file and the msdbg2.dll file from the same folder to a different location.

    4. Run the following commands:

      regsvr32 <full path to pdm.dll>\pdm.dll

      regsvr32 <full path to pdm.dll>\msdbg2.dll

Microsoft Office 64-bit

To use UFT One and Microsoft Office 64-bit on the same machine, UFT One must be installed first.

Windows 8.x or higher / Windows Server 2012 R2

When using UFT One on Windows 8.X or higher or Windows Server 2012 R2, if you want to use API tests and components, make sure that you have MSU (Microsoft Update) KB2887595 installed.

Back to top

UFT One installations and the Micro Focus UFT Agent (browser support)

Browser UFT instructions
Google Chrome

If you are testing applications in Google Chrome version 31 or later, Chrome automatically downloads and installs the Micro Focus UFT Agent for Google Chrome the first time you open Chrome after UFT One is installed.

In the following cases, you must manually enable the Micro Focus UFT Agent for Google Chrome extension:

  • You have no Internet connection.

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

  • You are using Google Chrome version 30 or earlier.

For details on manually enabling the extension, see the task on How to Enable the Micro Focus UFT Agent for Google Chrome Extension in the Web section of the Unified Functional Testing Add-ins Guide.

Mozilla Firefox

The first time you open Firefox after UFT One is installed, accept the prompt to install the Micro Focus UFT Agent for Firefox.

General

To use the latest Micro Focus UFT Agent browser extension, make sure its older version, the Functional Testing Agent extension is not installed. If both extensions are installed, manually remove the older before enabling the new.

Back to top

UFT installations and 64-bit applications

Installing with administrator privileges

UFT One loses support for 64-bit applications if a user with administrator privileges installs the Unified Functional Testing Add-in for ALM, or performs a Repair operation on the Run Results Viewer, and then a user runs UFT One on that same computer without administrator privileges.

Workaround: Log in as an administrator and do one of the following: Repair UFT One or run <UFT Oneinstallation>\bin64\Mediator64.exe.

32-bit and 64-bit applications

If your computer has two versions of an application, where one is 32-bit and the other is 64-bit, UFT One always opens the 32-bit version.

This occurs when the operating system performs a redirect from the Program Files folder to the Program Files (x86) folder, and from the System32 folder to the SysWow64 folder.

Workaround: To specify a 64-bit version, make sure that the step explicitly states the path to the 64-bit application.

.NET / WPF Add-in extensibility When working with .NET or WPF Add-in extensibility for a 64-bit Windows Forms process, the custom server DLLs must be built using the Any CPU option.

Back to top

UFT One installations and Java

When re-installing or upgrading the JRE on a machine with UFT One installed, you might encounter error 1603 preventing the JRE installation to complete.

This can be caused by an interference between the UFT One Java environment variables and the Java installer.

To successfully complete the installation, rename the UFT One Java environment variables, perform the JRE installation and restore the variable names.

To temporarily rename the UFT One Java environment variables: 

  1. On your Windows Desktop, right-click My Computer or This PC and select Properties.

  2. Select the Advanced tab.

  3. Click the Environment Variables... button.

  4. Look for the following environment variables both under the user variable list and the system variables list and edit their names:

    • _JAVA_OPTIONS

    • Java_Tool_Options

    • IBM_Java_Options

  5. Install the JRE.

  6. Once the installation is completed, change the environment variables names back to their original names.

Back to top

 

UFT installation in languages other than English

When installing UFT One in languages other than English, the TTF16.ocx file is not registered by default. To avoid errors in these cases, do the following before beginning your installation:

  1. Browse to the Windows Welcome screen and new user account settings. You may be able to find this in your Windows Region or Region and Language control panel settings.

  2. Click Copy settings… and select to copy your current settings to the Welcome screen and system accounts.

Back to top

See also: