Thursday, June 11, 2020

LeanFT FAQs

My FAQ's
------------

What Is LeanFT?
***************

Initially, let us start with LFT which is also known as lean functional testing.

LeanFT is absolutely related to UFT version 12.5 because with the help of this bundle (UFT & LFT) it competes with selenium head-on. The key feature of LF

It is, it fits into the usual developer’s field. Hence you can use the same programming languages and the unit-testing frameworks which you used previously.

************************


* LeanFT Basics and Demo :
************************
https://youtu.be/2LE-JkTYqDg


************************

LeanFT Installation :

You can get LFT either as a standalone downloadable package or as the incorporated with UFT.

The installation procedure is similar for both the options. But before that, you should install testing framework [Junit & Nunit], development IDE
 [VS or eclipse]. There is no separate license for LFT, it comes with the UFT license.

If you have a UFT license then just upgrade it.  With the UFT license, you can enjoy LFT and the API capabilities.

LeanFT combines an open source and hawker based strategy and this strategy is considered as a key differentiating factor to stand up to selenium.
Another important factor to be noted is that you can use Java or Selenium framework in LFT.

Features & Functionalities Of LeanFT
Visual studio & eclipse are supported for IDEs, programming languages like C# & Java, standard windows, .NET/WPF, SAPUIS, Mobile are supported.
And it is integrated with Git, SVN, Jenkins, jBehave, ALM, TFS, Cucumber.

Object identification center in LFT enhances object identification (spying). It provides an HTML run report and you can learn more about it below.
The other important features are insight mode and the application models.

With these significant features, one may think that LFT may replace UFT. But it is absolutely impossible as these two are established for different
reasons and fit under different choices. HP concentrates more on three types of users, DevTesters, Automation test Engineers & Subject Matter Experts.

Who Uses UFT & Who LeanFT?
Given below is the list of users who use UFT and LFT.

Technical testers (selenium) who think UFT is lacking in certain areas are the targeted users of LeanFT.
Automation test engineers who are using UFT already are happy with its latest arrival. So it is up to their choice to use UFT or LeanFT.
Business testers will always look for script less option so that they will never go for LFT.
LeanFT Bundled With UFT 12.5 And Its Incredible Features
The latest UFT 12.5 is superior to the previous services packs as it comes with a mobile testing capability & latest browser support.

LFT is bundled with UFT 12.5, so it is expected to rock the functional testing world.

Now let’s have a detailed look at the latest functionalities with some of its screenshots for better understanding:

#1) Mobile Testing Capability
------------------------------

In the latest version 12.5, the Mobile testing capability is expanded to a greater extent. It has been enhanced by many features which are introduced
currently.

Hence this attractive feature may grab few more users towards UFT.

#2) Improved Object Spy
-----------------------
The feature of Object Spy has been improved drastically in the latest version.

While recording a session, you can now:

Retrieve object properties
Highlight test objects and
Add checkpoints
You can work with multiple applications at the same time during run or record. To do so, you will have to set the correct record & run setting.
The user can also open remote access window.

#3) New Extension for Firefox
------------------------------
A modified UFT extension is available for the Firefox users. Earlier, with every new version of Firefox, we had to change the configuration settings.
But now this difficulty has been resolved with the new advanced 12.5 version.

This UFT extension is identical across all the versions of Firefox browser. Any Firefox version over 33 is now supported by UFT.

#4) Incorporating with GIT Source Code Repository
-------------------------------------------------
A user can check-in a UFT test in the GIT repository directly from the UFT. And do changes in the local and remote repository with the solution explorer
rather than using the windows explorer.

Version control for the UFT scripts is now available with the help of a powerful VCS.

#5) Adding Functional Library
-----------------------------
In the latest version, though it is not associated with the current test, the user has the ability to add a functional library as a solution item.
It is made common instead of keeping it for a particular test alone.

#6) Creating Functional Test using LFT

In UFT 12.5 a user can create automation scripts using LFT with the already existing tools such as visual studio, C#, eclipse etc.

A special plug-in makes object maintenance & code generation easy. Hence creating a functional test in the IDE using LFT is an added advantage of the
new version.

#7) Improved Capabilities for BPT Tests
---------------------------------------

Business process testing in UFT is now made flexible and much easier.

Canvas view – using this you can view & arrange your tests.
You can test the SAP application. As it is powered by BPT Packaged Apps Kit, it provides integration with SAP application.
Usage of excel file is made simple, you can export as well as import the updated excel file.
It provides the potential to record and runs the entire business process test, which in turn would help you to create a complete scenario.
#8) Running Tests without IDE

Yes, it is possible with the run-time engine. It does not require the complete installation of the IDE, instead, you can select a run-time engine from
the custom setup wizard during installation. This enables you to do the setting changes to run the tests.

#9) Product Enhancement
-----------------------

SAP WebDynpro Java app & SAP Fiori app is now supported on SAP solutions.
SAPUI5 Add-in is now supported on both Chrome & Firefox browsers.
Oracle add-in now supports menus with new methods for “OracleFormWindow” object.

#10) New Environment Support
----------------------------
The latest version of Firefox and Chrome will be supported in UFT 12.5 and in addition to that some other versions are also supported in this update.

The other versions include:

Safari 7.1 and 8
Flex 3.6 and 4.1.0
SAPGUI 7.4
Delphi XE7
Oracle 12.2.4
VMware ESXi 5.5
ASP .NET, AJAX 4.1.5
Ext-JS 4.2.2 & 4.2.3
Google Web Toolkit 2.7
Siebel 8.1.1.11 high interactivity
Siebel 8.2.2.4 high interactivity
Hummingbird HostExplorer14 (64-bit) TE
PowerBuilder 12.6

#11) HTML Based Results & Relevant Reports

HTML based results & relevant reports

UFT is now capable of generating HTML based results & reports. It is much lighter and faster than the previous one.

This report contains the following details:

Steps followed during the test.
Test object’s information.
Stack trace information.
Objects present in the application.
In addition, you can get screen captures and data tables as well. The user can send or export the HTML based reports to the other formats.

An added advantage is that there is no need to install Run results viewer on the receiver’s machine to view the report. This report will not contain the entire functionality, if you want to see everything, you can get it from the below path [Tools => Options => General tab => Run Sessions]

#12) Cross Browser Functionality

Browser, WebNumber, WebEdit, WebRange, WebFile,  and WebList are the properties that have been aligned to maintain uniformity across the browser types.

Cross browser functionality

Additional web objects are now supported in browsers like Firefox and Chrome. A tester can choose the browser for recording and executing the session and can also parameterize the browser.

#13) Improved Keyword View

Now a user can add the parameter value directly in the keyword view instead of entering in the property pane. Test object hierarchy is made simple so that you can view all the added steps in the action easily.

A new tool-tip is introduced in the parameters sections as well.

#14) New Licensing Technique

Autopass license mechanism will allow you to install the seat, concurrent, or commuter licenses in a single license window. Hence, there is no need of external tools for assisting the license check out. Autopass license server enables you to manage your licenses in a single place.


* LeanFT Tutorial #5: Create Tests in LeanFT
http://automated-360.com/leanft/leanft-tutorial-5-create-tests/



*  https://www.zarantech.com/blog/selenium-vs-hp-lean-ft/

Several advantages of Selenium testing are:

Selenium supports various languages such as Java, Python and PHP. It is the best tool for browser-based testing and handles all browsers such as IE, FF, Chrome, etc.
Selenium integrates to give a satisfactory framework for different verticals, like Maven or Ant for source code compilation; Test NG is used to drive tests, Jenkins to develop dashboards, and much more.
Jenkins in Selenium helps to connect the testers to multiple nodes and perform tests simultaneously.
Selenium is a freeware and can be easily integrated. Cost is a major advantage and the only cost to be spent is on human resources.
Disadvantages of Selenium include:

Organizations working on Selenium must invest on most experienced testers working in the same environment and an expertise in using the codes according to the standards.
Selenium supports only browser-based testing and fails to handle other window-based applications.
Selenium testers need not have to learn the tool from basics.

Lean FT
Lean FT from HP is a new functional testing solution having a set of APIs. Lean FT provides powerful tools like Object Identification Center and Application Models. This tool is developed to target test automation engineers and developers from agile teams. Integrating Lean FT with Unified Functional Testing (UFT) can support DevOps and Continuous Integration (CI). It supports multiple IDEs like Eclipse, Visual Studio and JavaScript, Java, C# coding languages. The Lean FT’s flexibility fits easily into developer ecosystems and testing arrangements.

Advantages of Lean FT are:

Lean FT supports and integrates with standard IDEs like Eclipse, Visual Studio and languages like Java and C#.
Lean FT is the best solution for DevOps, Agile, and Continuous Testing Applications.
The automation testing tool, Lean FT supports Windows standard, Web, .NET Windows Forms, Windows Presentation Foundation (WPF), Mobile, Siebel UI, and Insight Image Recognition.
Scripts are executed at faster rate.
Integration of Lean FT with UFT helps in end-to-end automation.
Lean FT develops test scripts using testing frameworks.
Application models support cross browser.
If you are using HP UFT, Lean FT is free of cost.
Lean FT provides good collaboration between Developers and Testers team.
Disadvantages include:

IDE are used not only for the development of tests, but also for execution of the tests.
Web services testing is not part of Lean FT
It is used only for Mobile, Windows, Siebel UI, and Insight Image Recognition
As Selenium supports only browser-based application, the testers have better option of choosing Lean FT. The use of object identification center from visual studio or Eclipse IDE helps in identifying unique values to be used for object identification.

No comments:

Post a Comment