HP LeanFT Readme
Software Version: 12.52
Document Release Date: January 25, 2016
Software Release Date: January 2016
This file provides the following information about LeanFT 12.52:
Minimum and Recommended System Requirements and Supported Environments
LeanFT now offers the following major new features:
Application models are now supported in Eclipse
Checkpoint-style verifications for values and images
Object identification configuration
New Settings dialog box for runtime engine preferences
Call UFT API Tests
Data-drive your LeanFT tests from ALM
Microsoft Edge support (technology preview)
JavaScript SDK (technology preview)
For details on these new features and for information on additional new functionality and enhancements, see http://leanft-help.saas.hpe.com/en/12.52/HelpCenter/Content/HelpCenterRoot/WhatsNew.htm in the LeanFT Help Center.
This section includes:
For a complete list of all supported operating systems, browsers, and development environments, see the LeanFT Product Availability Matrix (requires an HP Passport).
| Minimum | Recommended | |
| Computer Processor: | 1.6 GHz x86 or x64-bit processor | |
| Operating System: | Windows 7 | Windows 7 or Windows 2012 |
| Memory: | 4 GB | 8 GB |
| Free Hard Disk Space: | 1 GB | 10 GB |
|
IDE:
|
Microsoft Visual Studio 2012 or Eclipse 4.3 (Kepler) |
Microsoft Visual Studio 2013 SP 1 or Eclipse 4.4 (Luna) |
| .NET Framework: (If using the Visual Studio LeanFT plugin) |
.NET Framework 4.5 | |
|
Java |
JDK 1.7 |
To install LeanFT manually, follow the instructions below.
For details on silent installation, see Installing LeanFT Silently.
Prerequisites:
If you plan to use the LeanFT IDE plugin, make sure the relevant IDE is already installed.
For supported IDE versions, see the LeanFT Product Availability Matrix (requires an HP Passport).
Make sure you have the required permissions on the computer.
Run the LeanFT installation and follow on-screen instructions. While you install, consider the following:
In the Custom Setup screen:
Full installation. Select for computers where you plan to develop and run LeanFT tests.
If you plan to run LeanFT tests from ALM on your computer:
Set the required DCOM permissions for the Remote Agent and open the DCOM port (port 153):
Open the command line and run <LeanFT installation>\Tools\Remote Agent\LFTDcomPermissions.exe -set.
Caution: Configuring these DCOM settings may expose the LeanFT computer to security risks.
Configure the Remote Agent to allow ALM to run tests on your computer:
In <LeanFT installation>\Tools\RemoteAgent\LFTRemoteAgent.exe.config, change <remoteAgent allowRun> to true.
Note: There are additional values that must be set in LFTRemoteAgent.exe.config before you run LeanFT tests from ALM. For details, see Run LeanFT tests from ALM in the LeanFT Help Center.
This section includes:
When installing LeanFT in an enterprise business model across many computers in a network or company, note the following:
| Administrative permissions |
|
| User Account Control (UAC) |
You can install LeanFT with User Account Control (UAC) on or off. |
| Silent installation |
You can install LeanFT silently, including prerequisite software if needed, on a local or remote computer. For details, see Installing LeanFT Silently. You can also install the user licenses from the command line. For details, see the section on LeanFT licenses in the LeanFT Help Center. |
A silent installation (or quiet installation) is an installation that is performed in the background. You can install LeanFT silently on your computer or on a remote computer.
You must have administrator privileges to run the silent installation.
To install the default full installation silently:
<extracted setup folder>\setup.exe /s
You can also append any of the following options:
Specify a Functional Testing concurrent license server: LICSVR=<server name or IP>
Specify specific components to install: ADDLOCAL = <component name>, where <component name> is one or more of the following, separated by commas:
LeanFT runtime engine: LeanFT_Engine
LeanFT_Client RegVS2012, RegVS2013, RegVS2015RegEclipse ECLIPSE_INSTALLDIR=<path>Example:
The following command installs the LeanFT runtime engine, client, and installs the LeanFT plug-in on Visual Studio 2012 and on the Eclipse IDE in the specified folder:
c:\Temp\LeanFT\setup.exe /s ADDLOCAL=LeanFT_Engine,LeanFT_Client,RegVS2012,RegEclipse ECLIPSE_INSTALLDIR=c:\eclipse
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.
Alternatively, you can use any of the following to install specific elements of the installation silently.
When you use msiexec /qb as shown for the UFT below, a progress bar displays during the installation.
| 32-bit | 64-bit | |
|---|---|---|
| Product Prerequisites only: | ||
|
<extracted setup folder>\prerequisites\dotnet45\dotnetfx45_full_x86_x64.exe /q /norestart
|
<extracted setup folder>\prerequisites\dotnet45\dotnetfx45_full_x86_x64.exe /q /norestart
|
|
<extracted setup folder>\prerequisites\vc2012_redist_x86\vcredist_x86.exe /quiet /norestart
|
<extracted setup folder>\prerequisites\vc2012_redist_x64\vcredist_x64.exe /quiet /norestart
|
|
<extracted setup folder>\prerequisites\vc2010_redist\vcredist_x86.exe /quiet /norestart
|
<extracted setup folder>\prerequisites\vc2010_x64_redist\vcredist_x64.exe /quiet /norestart
|
|
<extracted setup folder>\setup.exe /InstallOnlyPrerequisite /s
|
<extracted setup folder>\setup.exe /InstallOnlyPrerequisite /s
|
| LeanFT installation: | ||
|
Note: You can also append the LICSVR and ADDLOCAL options described above this table. |
Note: You can also append the LICSVR and ADDLOCAL options described above this table. |
Make sure the following access permissions are set to run LeanFT .
Permissions Required When Working with LeanFT
You must have the following file system permissions:
Full read and write permissions to the C:\Temp folder
Read permissions to the Windows folder and to the System folder
<Program Data>\HP folder<Windows>\mercury.ini fileFull read and write permissions to: %appdata%\Hewlett-Packard\
Note: Read/write permissions to these folders should also enable permission to any subfolders contained in the folders listed above. If not, the system administrator must grant administrative permissions to the subfolders contained in these folders.
You must have the following registry key permissions:
Full read and write permissions to the keys under HKEY_CURRENT_USER\Software\Mercury Interactive or [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hewlett-Packard]
HKEY_CURRENT_USER\SOFTWARE\Hewlett PackardRead and Query Value permissions to all the HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT keys
Permissions Required When Working with ALM
You must have the following permissions to use LeanFT with ALM:
Full read and write permissions to the ALM cache folder
Full read and write permissions to the <Program Data>\HP folder
The LeanFT Help Center teaches you how to use LeanFT to create and run C# or Java-based LeanFT tests and provides the LeanFT .NET and Java SDK References.
Access the LeanFT Help Center at: http://leanft-help.saas.hpe.com/en/12.52/HelpCenter/Default.htm.
Note: If you need to access the Help locally on your LeanFT computer, you can download a zipped copy of the entire Help Center, including the SDK References.
Go to the Help Center and click the Download Help Center link at the bottom of the page.
This section includes important notes, known issues, and limitations that are relevant for LeanFT version 12.52.
View the most updated issues and limitations in the online LeanFT 12.52 Readme.
This section includes:
12.50. The following changes may be required to tests that were created in LeanFT 12.50:
WPF. The WPF Slider.Value (C#) and Slider.getValue (Java) statements from LeanFT 12.50 are obsolete. They have been replaced with: WPFSlider.Position (C#) and WPFSlider.getPosition (Java).
If you have tests that used this obsolete property or method, you must modify those tests to use the new name.
SAP UI5.
The names of the following SAPUI5 test objects were changed as follows:
IToolbar (C#) and Toolbar (Java) were renamed to IToolBar (C#) and ToolBar (Java)
ITextEdit (C#) and TextEdit (Java) were renamed to IEditField (C#) and EditField (Java)
ITree (C#) and Tree (Java) were renamed to ITreeView (C#) and TreeView (Java)
In the SAPUI5 Calendar and TextEdit (now renamed to EditField) objects, the Name property (C#) and getName method (Java) were renamed to Title property (C#) and getTitle method (Java).
If you have tests that used these obsolete test objects, properties, or methods, you must modify those tests to use the new names.
Additionally, if you have SAPUI5 test objects in your existing application models that use the obsolete type names, you must update those application models to use the new names.
12.51. The following changes may be required to tests created in LeanFT 12.51:
...SDK.Mobile.SwipeDirection, you need to adjust those tests for the new location.General
When using the Highlight option in the application model for a test object with VRI objects defined, the highlight operation succeeds only if exactly one object matches the description (including the VRI definitions). If multiple objects match, nothing is highlighted.
Workaround: Use the VRI Preview option to check the description.
Eclipse
To use the Eclipse IDE for Java EE Developers or Eclipse Standard editions with the LeanFT plugin, you must deploy the Google Gson plugin to your Eclipse folder:
Download the Google Gson plugin, version 2.1 or later, from maven central repository.
Visual Studio
If you have an application model open in Visual Studio with changes that have not been saved, the generated code is updated with the unsaved changes. If you close the unsaved application model in Visual Studio without saving, the generated code will not be reverted back to the last saved application model.
Additionally, if you have an application model open in Visual Studio with saved changes, but then edit and save the file outside Visual Studio, even after you confirm reloading the .tsrx file in Visual Studio, the generated code for the application model is not updated with the external changes.
Workaround: Build the project containing the application model or close and reopen the application model.
Web-based AUTs only. If your IDE is in front of your browser when you click the Highlight option from the Application Model editor or from the Object Identification Center, the Highlight rectangle appears, but sometimes the IDE window stays in focus and may block the object.
Workaround: Arrange your screen so that the IDE does not block your application.
The FireEvent OnBlur event is not supported in Chrome.
When using Internet Explorer 11 on a computer with UAC enabled: If a step in the test navigates from a permitted zone to a non-permitted zone, the navigation step succeeds, but any subsequent step will fail.
If you perform a step that navigates to a new page immediately followed by an image capture operation such as OCR operations, image verifications or comparisons (VerifyImageMatch, VerifyImageExists, CompareImage, LocateImage) or the GetSnapshot method, the step may fail.
Workaround: Add a browser.Sync() step before your image capture operation.
Microsoft Edge
LeanFT can work with Microsoft Edge browser only when launched with the Edge Agent for Functional Testing (Start > All apps > HP Software > Edge Agent for Functional Testing or using a BrowserFactory.Launch step to launch the Edge browser).
You cannot spy on or run steps on Frameor iFrame objects, or any elements inside these objects, using Microsoft Edge.
The following methods are not supported in Microsoft Edge:
FullScreen()
DeleteCookies()
For notes and limitations related to the LeanFT-Mobile Center integration, see Considerations and Limitations in the Mobile Center 1.52 Help.
LeanFT can potentially be used to simulate user actions on the host machine via the network. Therefore, it is strongly recommended to run LeanFT on dedicated test machines that do not contain or provide access to sensitive information. In addition, you should also thoroughly review your lab network topology and access permissions before using LeanFT.
For additional security information about LeanFT, see the LeanFT 12.52 Security Reference, available in the <LeanFT installation>\help folder after you install LeanFT or download the latest version from the HP Software Support site (requires an HP Passport).
You can visit the HP Software Support web site at: https://softwaresupport.hp.com
This web site provides contact information and details about the products, services, and support that HP Software offers.
HP Software support provides customer self-solve capabilities. It provides a fast and efficient way to access interactive technical support tools needed to manage your business. As a valued support customer, you can: search for knowledge documents of interest, submit and track progress on support cases, submit enhancement requests online, download software patches, and more.
To access the self-solve knowledge base or to search for the latest versions of HP Software manuals, visit the Knowledge and Manuals Library.
Most of the support areas require that you register as an HP Passport user and sign in. Many also require a support contract. To register for an HP Passport ID, go to: https://softwaresupport.hp.com and click Register.
To find more information about access levels, go to: https://softwaresupport.hp.com/web/softwaresupport/access-levels.
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
The information contained herein is subject to change without notice.
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
© Copyright 2016 Hewlett Packard Development LP
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Google™ and Google Maps™ are trademarks of Google Inc
Intel® and Pentium® are trademarks of Intel Corporation in the U.S. and other countries.
Microsoft®, Windows®, Windows® XP, and Windows Vista ® are U.S. registered trademarks of Microsoft Corporation.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
Send documentation feedback to HP