05 Sep 2019
30 Jan 2017
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 tool, 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 is and 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
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 like this whereas, 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.
Cloud Ready: Selenium grid is precisely designed to run simultaneous tests on different machines with different operating systems and using different browsers in parallel making it a perfect match for cloud-based testing services. Whereas, UFT has a one machine/ one-script execution model which 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.
[Blog] Migration from HP UFT to Selenium – What are the Returns?https://t.co/zH0V1TEL9A
— TestingXperts (@TestingXperts) January 30, 2017
Migrating to Selenium? Know More about its Challenges
Selenium is filled with advantages, but it also comes with some technical restrictions:
It is not uniformly compatible across all browsers; Selenium is most compatible with Firefox. Therefore, the scripts developed for Firefox might need some modifications to run in Chrome or IE.
• 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 the help of frameworks compatible with Selenium. Though, they may add upfront development cost and effort while integrating or developing with a framework like this. It is advisable to look for already available proven Selenium frameworks with partners/ other internal teams rather than building one ground up.
How to Seamlessly Migrate from UFT to Selenium
• Leverage specialist capabilities from partners/ 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 and 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
TestingXperts has a ready solution for converting up to 60-70% of your UFT scripts to Selenium in an automated manner. Our Test Automation framework, Tx-Automate which is an ‘out-of-the-box’ solution for Test automation providing customized reports and various third party integrations. With the experience of executing multiple UFT to Selenium projects along with the ready accelerators, Tx can help you significantly reduce your tool licensing costs, increase release velocity and achieve faster feedback with continuous integration and deployment.