DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Selenium vs Cypress: Does Cypress Replace Selenium?
  • Top 8 Strategies for Successful Cross-Browser Testing
  • Test Automation for Mobile Apps: Strategy for Improved Testing Results
  • Exploring Mobile Device Lab: Pros and Cons

Trending

  • Unlocking the Potential of Apache Iceberg: A Comprehensive Analysis
  • Cookies Revisited: A Networking Solution for Third-Party Cookies
  • Start Coding With Google Cloud Workstations
  • Automating Data Pipelines: Generating PySpark and SQL Jobs With LLMs in Cloudera
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. Migrating From HP UFT to Selenium

Migrating From HP UFT to Selenium

Unified Functional Testing is an eminent force in the test automation space. However, Selenium offers many benefits. At the same time, it isn't without its challenges.

By 
Mark Harmer user avatar
Mark Harmer
·
Feb. 03, 17 · Opinion
Likes (4)
Comment
Save
Tweet
Share
8.2K Views

Join the DZone community and get the full member experience.

Join For Free

Test automation has been facilitating enterprises to accelerate the process of testing and realize maximum test coverage. Enterprises have made significant investments over a period of time in buying tools and building test automation suites. As the application landscapes grow more complex with the introduction and expansion of digital systems, the licensing costs for COTS tools become increasingly high to justify the ROI.

Nowadays, enterprises are progressively inclining towards open-source frameworks instead of investing in licensed testing tools, especially for digital applications for which open-source tools provide excellent support. Open-source tools are loaded with significant features that allow swift automation testing of software applications, including web portals, mobile applications, and APIs.

HP Unified Functional Testing (UFT) has been an eminent force in the test automation space. However, Selenium seems to be quickly gaining supporters and becoming a more proficient open-source entrant for digital applications. There are various visible distinctions between every testing tool that makes picking one or the other a forthright decision in most cases.

Comparison Between UFT and Selenium

Let's take a look at the similarities and differences between UFT and Selenium.

Testing Applicability

Selenium is mainly for testing web-based applications, whereas UFT can test desktop and client-server applications, as well.

Cost

Selenium is a totally free open-source download and will always remain this way. UFT requires a license fee for procurement and additional fees for add-ons and upgrades.

OS Compatibility

UFT works only on Windows whereas Selenium works on all major OSs including Linux, OSX, Windows, Android, Solaris and, iOS.

Language Compatibility

Selenium tests can be written in languages such as JavaScript, Perl, PHP, and Java, whereas UFT tests are only written in Microsoft’s VB Script.

Cloud-Ready

The Selenium grid is precisely designed to run simultaneous tests on different machines with different operating systems and using different browsers in parallel. This makes it a good match for cloud-based testing services. UFT has a one-machine/one-script execution model that cannot make an efficient use of distributed test execution with cloud infrastructure.

Ease of Execution

Selenium can execute multiple tests simultaneously on a single machine, whereas UFT tests one application per machine.

The Challenges of Migrating to Selenium

Selenium is filled with advantages, but it also comes with some technical restrictions. It is not uniformly compatible across all browsers; it's most compatible with Firefox. Therefore, the scripts developed for Firefox might need some modifications to run in Chrome or IE. 

There are a few other challenges:

  • It does not come with an inherent support for data-driven testing.

  • There is a limited dialog-box support.

  • It is harder to accomplish image-based tests.

  • Coding is required for HTML tables and other elements.

These challenges can be taken care of with help from frameworks compatible with Selenium. However, they may add upfront development costs and efforts while integrating or developing with a framework like this. It is advisable to look for already available and proven Selenium frameworks with partners or other internal teams rather than building one from the ground up.

How to Seamlessly Migrate from UFT to Selenium

The following tips can help you mitigate the restrictions that come with migrating from UFT to Selenium and help ensure a smooth transition.

  • Leverage specialist capabilities from partners or internal teams with experience in Selenium frameworks and UFT to Selenium migration.

  • Identify key UFT assets, the criticality of test automation suites, current investments, and ROI.

  • Assess the technical capabilities and in the team and choose a scripting language for the Selenium framework.

  • Select a test suite for POC and migrate sample scripts to Selenium.

  • Take what you learned 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.

Open source Testing mobile app Test automation

Published at DZone with permission of Mark Harmer. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Selenium vs Cypress: Does Cypress Replace Selenium?
  • Top 8 Strategies for Successful Cross-Browser Testing
  • Test Automation for Mobile Apps: Strategy for Improved Testing Results
  • Exploring Mobile Device Lab: Pros and Cons

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!