The following changes may be required to tests that were created in previous versions of LeanFT:
The SwipeDirection enumeration moved from the Mobile namespace/package to the SDK namespace/package.
If you have any tests that explicitly reference ...SDK.Mobile.SwipeDirection, you need to adjust those tests for the new location.
The names of some objects, properties, and methods have changed. Update your tests and application models accordingly.
|Old name||New name|
|SAPUI5 test objects||IToolbar (C#)||IToolBar|
TextEdit (now EditField)
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 Kepler/Luna users||
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:
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.
|IntelliJ IDEA||When moving an application model's .tsrx file to a different module/location while viewing it in the Editor's Design tab, the view changes to the Text tab.|
Parallel test execution
On RedHat and CentOS, imageUtils is not supported.
Object identification center (OIC)
In the LeanFT OIC for Linux/Mac, the rows property is not displayed for a web table.
Technologies - general
When using the getSnapshot method, you can save the snapshot as a .png file only.
LeanFT can work with Microsoft Edge browser only when launched with the Edge Agent for Functional Testing.
LeanFT has changed the way that the Microsoft WebDriver program (required for the Edge Agent for Functional Testing) is used. For details on the required steps to perform, see the Set up Microsoft Edge for LeanFT (Windows only).
You cannot open more than one instance of the Edge browser. This includes multiple BrowserFactory.Launch methods without closing the previous instances, or other methods that create a new browser instance such as Browser.OpenNewTab
Frame or iFrame objects
You cannot spy on or run steps on Frame or iFrame objects, or any elements inside these objects, using Microsoft Edge.
The following methods are not supported in Microsoft Edge:
The following operations are not supported:
Test Objects, Methods and Properties
|Attributes property (C#) or getAttributes property (Java)||In some cases, the Attributes collection returned by Attributes property (C#) or getAttributes (Java) may be different between Internet Explorer and other browsers such as Chrome or Firefox.|
|Navigating to a new page||
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.
|SAPUI5||If the SAPUI5 add-in is loaded (selected in Settings > Engine tab ), LeanFT cannot recognize Web TreeView, Menu, or TabStrip test object types.|
|WPF ComboBox / WPF List test objects||
You cannot use the following to create the test object descriptions of WPF ComboBox or WPF List test objects:
|WinForms Button test objects||
LeanFT cannot identify a WinForms Button test object if WindowId is the only property in its test object description.
|WinForms Edit objects||
Before performing a Select operation on a WinFormsEdit object, you must first perform a Click operation on it.
The ListViewItem.EnableLabelEditing method works only if it is preceded by an ActivateItem step.
When spying on a SAPUI5 list box, the Object Identification Center (OIC) displays the control type as Unknown.
- The GetVisibleText()method from TestObjectBase does not work as expected for Terminal Emulator technology because of the third party library for text recognition (OCR) used by LeanFT. This issue is known for other technologies as well.
SendKeys(Keys.ENTER) is not supported for TeTextScreen. To send the Enter key, use the Keyboard class. For details, see Send keystrokes to the AUT.
SetCursorPos and the properties current row and current column are not supported for TeTextScreen.
Testing mobile apps with LeanFT. For notes and limitations related to testing mobile apps with LeanFT, see the Mobile Center Help.
UFT API Tests. UFT API tests that are parametrized from excel files cannot be called and run from LeanFT tests (C# and Java).