Disadvantages of Selenium
• Organizations need to invest on resource
who knows how to code as per standards.
The resource should also be well versed in
framework architecture and various
components that fit in.
• Selenium tool supports only web
applications, it doesn’t offer support for
window-based applications
• Tool support is done by way of communities and
more and more people are coming together to
contribute toward providing solutions and
support freeware. But issues may not be
addressed in the next release cycle like any
other commercial vendors do routinely. So, it can
potentially leave organizations to find a solution
on their own and contribute to the community or
wait for someone to provide a solution.
Comparison between UFT and Selenium
• Cost– UFT requires a license fee for acquisition
and more fees for upgrades and add-ons, but
Selenium is a totally free, open-source
download and will always remain so.
• Testing applicability– Selenium is only for
testing web-based apps, whereas UFT can test
client-server and desktop applications in
addition to web-based apps.
• Cloud ready– UFT’s one-script/one-machine
execution model cannot make efficient use of
distributed test execution via cloud-based
infrastructure. Selenium-Grid is specifically
designed to run simultaneous tests on different
machines using different browsers and
different operating systems in parallel. Thus, it
is a perfect match for cloud-based testing
architectures and services.
• Execution efficiency– UFT tests one
application per machine, whereas Selenium
can execute multiple, simultaneous tests on a
single machine. Furthermore, UFT script
execution takes more RAM and CPU power than
Selenium. UFT can run in multiple Windows
VMs, but these are more resource-hungry than
Linux VMs, which Selenium can utilize.
• Browser compatibility– UFT works with four
browsers, some of the most popular ones,
whereas Selenium works with those plus five
more browsers of which two are headless.
Headless browsers provide additional test
execution efficiency.
• Language compatibility– UFT tests are
written in Microsoft’s VB Script. Selenium
tests can be written in one of nine different
popular languages including Java, Ruby, C#,
Perl, Python, and PHP. Thus, any of these
programmers can be used from the
current market.
• OS compatibility– Selenium tests applications
on all major OS including Windows, Linux, OS X,
Solaris, iOS and Android. UFT runs only on
Windows.
• Support– Selenium is supported by a vibrant,
active user community, but it does not have
dedicated support resources, whereas
technical support for UFT from HP (Hewlett
Packard) is available. For some issues, paid
support provides faster resolution cycles.
How to Migrate Seamlessly from UFT
to Selenium
• Leverage specialist capabilities from internal
teams with experience in Selenium frameworks
and UFT to Selenium migration.
• Identify key UFT assets, criticality of test
automation suites, current investments,
and ROI.
• Assess the technical capabilities in the
team and choose a scripting language for
Selenium framework.
• Select a test suite for POC and migrate sample
scripts to Selenium.
• Take learning from the POC forward and expand
the conversion to Selenium gradually.
• Optimize scripts for reliability, maintainability,
and performance.
• Execute Selenium and UFT scripts in parallel,
validate and sign-off.
As per the analysis, 60-70% well written
UFT script code can convert into selenium
workable script.
Technical challenges while migrating
from UFT to Selenium
Although Selenium has several meaningful
advantages over UFT, including its much
broader compatibility with a different app
and test configurations, it is not without
technical limitations:
• Selenium is not uniformly compatible across
browsers. It is most compatible with Firefox, so
scripts developed for Firefox may need
tweaking to run in IE or Chrome.
• It has no object types other than WebElement
or Select, and no repository for storing
object mappings.
• There is no inherent support for data-driven
testing.
• HTML tables and other elements require
coding to work correctly; it is very tough to
handle sometimes.
• Image-based tests are harder to accomplish.
• Dialog box support is limited.
• In general, Selenium requires a higher level of
coding skills
Some of the issues are resolved through testing
framework compatible with Selenium. These may
be added via additional development effort when
developing or integrating such framework.
How migration will Help customers
With the technology landscape advancements as
a core benefit, migration from UFT to Selenium
significantly helps the customer reduce
software-licensing costs, increase release
velocity and achieves faster feedback with
continuous integration and deployment.
LeanFT
LeanFT from HP is a new functional testing
solution having a set of APIs. LeanFT 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 LeanFT 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. LeanFT’s flexibility
fits easily into developer ecosystems and
testing arrangements.
Advantages of LeanFT
• Supports and integrates with standard IDEs
like Eclipse, Visual Studio and languages like
Java and C#.
• Best solution for DevOps, Agile, and Continuous
Testing Applications.
• Supports Windows standard, Web, .NET
Windows forms, Windows presentation
foundation (WPF), Mobile, Siebel UI, and Insight
image recognition.
• Scripts are executed at a faster rate.
• Integration with UFT helps in
end-to-end automation.
• It develops test scripts using testing
frameworks.
• Application models support the cross-browser.
• HP UFT has LeanFT with no additional cost.
• It provides good collaboration between
Developers and Testers teams.
Disadvantages
• IDE is used not only for the development of
tests but also for execution.
• Web services testing is not part of LeanFT
• It is used only for Mobile, Windows, Siebel UI,
and Insight Image Recognition
Advantages of LeanFT over Selenium
Selenium has changed a lot since its inception in
2004 and has emerged as a leader in the test
automation space along with HP UFT. HPE, which
had dominated the test automation world with its
offering QTP/UFT, recently released LeanFT,
which has caused the competition to heat up.
Major aspects which make Selenium
work for many clients
• Open source: It's an open source tool and free
to download and use
• Good user community: Community is
getting stronger
• Object identification: This has improved in
Selenium with XPATH
• Cross browser testing: Selenium is a clear
winner here.
6
Conclusion
The successful migration or the end state of test
automation tool migration should result in
seamless regression run using target system
with additional tangible benefits compared
to testing using source system. Return on
investment (ROI) and technological
transformation adaptability are two major factors
to be considered for any automation.
Migration from UFT to Selenium is effective when
the below standards are followed in existing UFT
automation:
• Object repository feature from UFT is used
in majority
• Less or no descriptive program applied
• The descriptive scripts are well written with
coding standards followed.
Few customers have existing test automation
scripts in high volume. In this case, license cost is
negotiated. Such organizations are getting lower
license cost so UFT can be continued instead of
migration to Selenium considering the Migration
and maintenance cost. If the customer uses
Mainframe and other complex user interfaces,
then UFT can be continued as Selenium doesn’t
support such environments effectively Or
commercial add-ons to be procured. If the
organization is ready to spend on technology
landscape due to swift releases in agile with CI
(continuous Integration)/CD DevOps Model,
then LeanFT is most recent choice. In a
nutshell when the testing is either lightweight
environments (web/windows/database) or testing
automation starts from scratch, then the best
choice is adopting Selenium as software test
automation tool.
Major aspects where LeanFT did better
• LeanFT provides Support for multiple IDEs
(Eclipse, Visual Studio) and coding languages
(Java, C#). And with HP behind it, we can see
more IDE's support coming in too.
• LeanFT support for DevOps and CI makes it a
holistic tool when combined with UFT. It takes
care of End-to-End automation–the Agile way.
• Application models in LeanFT are quite powerful
and are good for cross-browser support.
• LeanFT can be used with UFT with no
additional cost
• Not a steep learning curve from resource’s
point of view
• Good support from HP
• LeanFT also offers the capability to integrate
with Selenium. Therefore, LeanFT can adapt
with existing tests based on Selenium, and add
new test based on LeanFT.
• Combining LeanFT capabilities in the existing
selenium tests is also possible with HPE
LeanFT. As a result, Testers will not need to
learn Selenium from the basics while adapting
LeanFT with existing Selenium tests
• LeanFT leads to more collaboration between
Developers and Testers so it is an obviously
logical choice if the project test cases have
already been automated with UFT and adapted
the DevOps model.
• LeanFT aims to improve the continuous
testing process