Install UFT Developer for Windows
This section includes instructions for installing UFT Developer on Windows.
Prepare for installation
-
Make sure your machine meets the installation Prerequisites before you start, otherwise the installation will fail.
-
Download the UFT Developer installation file to the machine where you plan to install UFT Developer:
-
Log into Micro Focus SaaS. If you do not have an account, create one.
-
Go to the UFT Developer download page and download the installation file for Windows.
-
-
Before the installation, restart your computer to ensure complete configuration of the system.
Caution: When installing, as described in the next sections, make sure that the installation files are extracted to a location whose path does not exceed 80 characters.
Windows is limited to 260 characters in these files. The installation will fail if the file paths of the individual installation files is longer. In such cases, move the extracted installation files to a location with a shorter path.
Manual installation
After downloading the UFT Developer installation file, install UFT Developer on your machine:
-
Run the installation file and follow the on-screen instructions.
On the Custom Setup page, select an installation mode:
Mode For computers where you plan to... UFT Developer runtime engine only Run existing UFT Developer tests without modifying them.
Full installation Develop and run UFT Developer tests.
Select the IDEs on which to install the UFT Developer plugin:
-
Eclipse/Spring Tool Suite/JBoss Developer Studio: A path field is displayed. Click Change to browse to the folder where your IDE is deployed.
The UFT Developer installation can install the UFT Developer plugin only on one of the Eclipse/Spring Tool Suite/JBoss Developer Studio IDEs. Accordingly, you can enter only one IDE path for this option.
-
IntelliJ IDEA: If you have multiple versions of IntelliJ IDEA, click Select versions to select the version where you want to install the UFT Developer plugin.
When the full installation is complete, a UFT Developer menu is added to the IDEs you selected, and UFT Developer project templates are available when creating a new project in the IDE.
Note: If you run the Full installation, but do not select any IDEs for the UFT Developer plugin, the UFT Developer SDKs are still installed in <UFT Developer installation>\SDK.
-
- Restart the machine, and then continue with Post installation.
Silent installation
After downloading the UFT Developer installation file, install UFT Developer on your machine:
-
From the command line, change to the directory where you downloaded the installation file.
-
Run the following commands to extract the setup file.
\<UFT Developer Version Setup file>.exe -y -ExecuteFile=""
-
Run the relevant commands.
- When the installation is complete, restart the machine, and continue with Post installation.
Full silent installation commands
Installation | Command |
---|---|
UFT Developer default installation (including the prerequisite software) | <extracted setup folder>\setup.exe /s
|
Note: When you use the setup.exe /s command, there is no visual indication of the installation progress. To verify completion, monitor the process in the Windows Task Manager or check the installation log file.
You can also append the following:
Functional Testing concurrent license server | LICSVR=<server name or IP>
|
License ID |
If not specified, 20524 (UFT Developer Concurrent User). |
Enable or disable usage data collection for the UFT Developer improvement program. |
IMPROVEMENTPROGRAM=<1 or 0> 1 (default). Enable usage data collection. 0. Disable usage data collection. For details, see Help improve UFT Developer. |
Components |
|
Example of a full silent installation
The following command:
- Installs prerequisites
- Installs the UFT Developer runtime engine and client
- Installs the UFT Developer plugin on Visual Studio 2012, Eclipse, and on 2 versions of IntelliJ IDEA, in the specified folders
- Generates an installation log
"c:\Temp\UFT Developer\en\setup.exe" /s ADDLOCAL=UFTDeveloper_Engine,UFTDeveloper_Client,RegVS2012,RegEclipse,RegIntelliJ ECLIPSE_INSTALLDIR=c:\eclipse, INTELLIJ_INSTALLDIRS=c:\intellij14,c:\intellij15 /l*xv %TEMP%\UFTDev-install.log
Caution: With the rebranding of LeanFT to UFT Developer, make sure to use the new component names listed above. If you encounter an error similar to this one, make sure you did not use the old LeanFT component names in your silent installation command:
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
Customized silent installation commands
Alternatively, you can use any of the following to install specific elements of the installation silently.
UFT Developer default installation, excluding prerequisites
The following command runs the UFT Developer default installation, excluding the prerequisites. A log is produced at the end of the installation.
32-bit | msiexec /i "<extracted setup folder>\UFT_Developer_x86.msi" /qb /l*xv %TEMP%\UFTDev-install.log |
64-bit | msiexec /i "<extracted setup folder>\UFT_Developer_x64.msi" /qb /l*xv %TEMP%\UFTDev-install.log |
Note: When you use msiexec /qb, a progress bar displays during the installation.
Prerequisite product silent installation commands
.NET Framework 4.8 | |
64-bit |
<extracted setup folder>\prerequisites\dotnet48\ndp48-x86-x64-allos-enu.exe /q /norestart |
Microsoft Visual C++ 2015 Redistributable | |
32-bit | <extracted setup folder>\prerequisites\vc2015_redist_x86\vcredist_x86.exe /quiet /norestart |
64-bit |
<extracted setup folder>\prerequisites\vc2015_redist_x64\vcredist_x64.exe /quiet /norestart |
Microsoft Visual C++ 2012 Redistributable | |
32-bit | <extracted setup folder>\prerequisites\vc2012_redist_x86\vcredist_x86.exe /quiet /norestart |
64-bit |
<extracted setup folder>\prerequisites\vc2012_redist_x64\vcredist_x64.exe /quiet /norestart |
Microsoft Visual C++ 2010 Redistributable | |
32-bit |
<extracted setup folder>\prerequisites\vc2010_redist\vcredist_x86.exe /quiet /norestart |
64-bit | <extracted setup folder>\prerequisites\vc2010_x64_redist\vcredist_x64.exe /quiet /norestart |
Microsoft Visual C++ 2008 Redistributable v 9030729 | |
32-bit |
<extracted setup folder>\prerequisites\vc2008_sp1_redist_V9030729\vcredist_x86.exe /quiet /norestart |
Install all UFT Developer prerequisites | |
32-bit | <extracted setup folder>\setup.exe /InstallOnlyPrerequisite /s |
64-bit | <extracted setup folder>\setup.exe /InstallOnlyPrerequisite /s |
Components
To install components, append the LICSVR and ADDLOCAL commands to the msiexec command, as described in Full silent installation commands.
Example of customized silent installation
msiexec /qb /i "c:\temp\UFT Developer\MSI\UFT_Developer_x64.msi" ADDLOCAL=UFTDeveloper_Engine,UFTDeveloper_Client,RegVS2013,RegEclipse ECLIPSE_INSTALLDIR=C:\eclipse /norestart /l*xv C:\Users\ALM_UF~1\AppData\Local\Temp\UFTDev-install.log
Default UFT Developer installation location on Windows
By default, UFT Developer is installed in C:\Program Files (x86)\Micro Focus\UFT Developer.