When HPE spin-merged with Micro Focus back in 2016, we – at LearnQTP – were skeptical about the future of UFT. Given the rising popularity of Selenium and Micro Focus already having a similar tool in its arsenal, we thought it would be the time to bid adieu to our favorite tool. In 2019, we couldn’t be more wrong. The speed with which Micro Focus has brought enhancements to UFT and has been adding new features to the fold, it’s a testament to the vision of the company and bright future of UFT. UFT 14.52 is available for all now.
Micro Focus released UFT 14.52
in the last week of March 2019. Here is the complete list of new features, integrations and enhanced support for various technologies and browser versions.
New PDF Addin
For the first time ever, Micro Focus has introduced official support for PDF documents. You can now test PDF documents – using the newly launched PDF add-in (in tech preview mode) – which can be installed like the regular UFT add-ins. Make sure to install and then enable it from the UFT Add-in Manager.
Earlier many UFT testers used the LearnQuickTestPDF API to automate variety of operations in PDF documents.
Update: UFT would need Adobe Acrobat Pro DC (not just the Adobe acrobat reader) for the PDF Add-in to work. Thanks Prakash for pointing that out.
Note for UFT Engineers at Micro Focus – The description for PDF Add-in on the right hand side of installation screen is wrong. It says “Installs the Delphi Add-in, which enables you to create and run steps on Delphi applications.“. Instead, it should be “Installs the PDF Add-in, which enables you to create and run steps on PDF documents.“.
Mobile testing comes to local devices in UFT 14.52
Mobile testing was first supported in UFT with UFT 11.5. Since then, as the mobile proliferation increased in the market, HPE/Micro Focus kept adding features to its mobile testing support. With the help of mobile center, you can test your apps on real mobile devices and emulators that reside in the cloud.
However, UFT was lacking one thing – the support for local mobile device testing.
With the launch of UFT 14.52, mobile testing is now available on local devices connected to a UFT machine. You would just need to install the UFT mobile add-in from the Micro Focus AppDelivery Marketplace, configure UFT and record/run your tests.
Few things you should note:
- Local device testing is supported on one device at a time.
- UFT mobile add-in for local device should be installed on a 64-bit Windows machine only. (Though UFT 14.52 can be installed on both 32 bit or 64 bit OS)
- All devices supported on mobile center are supported by the UFT mobile add-in as well. Mobile Center supports all devices that meet the following OS requirements:
Run UFT tests on locked machine without manual login
UFT 14.01 introduced the ability to run UFT tests on a locked, remote machine. With this, you had to manually login to the remote machine, add the remote machine credentials in the UFT settings and UFT would then continue to test in case the machine gets locked.
With UFT 14.52, Micro Focus has moved a step ahead. They have removed the manual log-in need to the remote machine. Right from login to continued-testing-on-remote-machine-locking, can be achieved with the help of this new feature.
Now you can run all tests from ALM, Jenkins or Windows tasks scheduler, without manual intervention .
Disable Regular Expression in Static Descriptive Programming
As you are aware there are two methods of writing Descriptive Programming, static DP and dynamic DP. By default, UFT evaluates all property values in DP as regular expressions.
Dynamic DP already has the ability to turn off the regular expression for a particular property.
oDesc("name").RegularExpression= False
However, this was not available to static DP. All property values were treated as regular expressions. This has changed going forward with UFT 14.52. Using the newly introduced UftIsRegex
property you can now turn off regular expression for static DP by setting its value to False
. True
is the default value. If you don’t mention UftIsRegex
property, all values will be treated as regular expressions.
Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("type:=text","name:=userName","html tag:=INPUT","UftIsRegex:=False").Set "mercury"
In the above static DP statement, we have instructed UFT to NOT treat WebEdit
object properties as regular expressions by writing an additional property UftIsRegex:=False
.
Check the video below to understand UftIsRegex
property with the help of three examples.
Ability to select the property for test object’s logical name
Till now, UFT would use its internal magic to decide the logical name of an object.
With UFT 14.52, you can now configure UFT to select the property for a test object’s logical name. Go to Tools > Object Identification
.
Optionally, you can use regular expression for the logical name.
Miscellaneous Enhancements in UFT 14.52
Parallel testing
During Parallel Testing, you can now pass test parameters as well as data tables to your tests.
Multiple ChromeDriver versions
Using WebUtil.AttachRemoteDebugging
method, you can specify the path to the relevant chromedriver.exe
stored on your computer.
StormRunner Functional
A new option to log device metrics has been introduced when setting up mobile testing on Storm Runner Functional.
Jenkins
While running tests from ALM via Jenkins, you can now filter the tests in the test set you are running, instructing Jenkins to run only part of the test set. Also, you can now pass test parameters directly from your Jenkins command.
Reporting
- General run error are a pain. They do not provide much info about the error you encountered. In UFT 14.52 and above, when a test would fail with a general error, the report would include a screen capture of the desktop at the time of the failure.
- Earlier HTML reports would include the Actual vs Expected information only when a checkpoint would fail. Now it would include this information for both passed and failed checkpoints.
- HTML reports have been performance optimized.
UFT AOM
Environment.LoadFromFile
method gets a new optional parameter where you can specify whether to save the loaded environment variable file with the test when the script saves the test.Action.Location
property is now read-write whereas in UFT 14.51 and earlier it was read-only. The property can now be set to the ALM location or a file system path.MCConnection
object now supports proxy information required for connecting to Mobile Center.
Usability
- You now get the ability to jump from function call in one function library to function definition in another library.
- SAP table and grid objects gets a new
GetCellDataEx
method. - SAP GUI versions later than 740 DO NOT require SAP logon.ini file for UFT to be compatible.
- The Test Combinations Generator now includes an Undo/Redo button.
- Power Builder apps gets a new
PbDataWindow.ActivateRow
method to select a specified row in a PowerBuilder data window.
New Technology Support
- Salesforce Lightning applications.
- Constrained Application Protocol(CoAP) support for API testing.
- Git 2.19, TortoiseSVN 1.11.0
- Angular 7. Here is the complete support matrix for various versions of Angular.
- Bamboo server 6.7 (requires version 1.2.1 or later of the Bamboo plugin)
- Dojo 1.14
- FarPoint Spreadsheet 7.0
- Java 11
- Oracle EBS 12.2.8
- QT 5.12
- SAP Fiori 1.60
- SAP NWBC 6.5 patch 13
- SiebelOpenUI 18
- Windows 10 1809
- Firefox 64, 65, 66 beta
- Chrome 71, 72, 73 beta
- Edge support for SAP Fiori 1.44 and 1.52 SAPUI5 1.44 (recording, spying)
- JxBrowser
- UFT 14.52 is provided in the following languages: English, French, German, Japanese, Russian, Simplified Chinese.
Check the step-by-step instructions to download and install UFT 14.52
Over To You
What’s your favorite feature in this release?
Good morning everybody, I am new to UFT, it’s going to be good to chat chat to you guys over the coming period
I have used UFT since last 15 years, but now, it’s my hunch if UfT has to survive in the market, it must free the tool for web browser automation fully, whereas keep all other addin licenced.
@Raj: That’s an excellent idea.
While most of the free open source tools focus on browser automation, an advantage that UFT carries is that it can automate desktop as well as browser based apps. (not to forget the heavy investments Micro Focus has made in mobile and cloud). With browser automation made free, it can compete with free tools and and reclaim its #1 position overall.
Hi Raj,
I’m a mexica guy. I have used UFT since last 6 years and I totally agree to your comment…
Hi Ankur,
Request to start best practises, tutorials on Microfocus RPA(UFT+Operations-Orchestrator)
Thanks
@naganand: Sure. Connect with me and please let me know more details.
Hi Ankur,
For PDF Add-in, you may want to add a note that user need to have ‘Adobe Acrobat Pro’ installed, in order to work with this add-in.
P.S. Thanks for your incredible job w.r.t. publishing latest news/feature of UFT.
Regards,
Prakash
@Prakash: Thanks for pointing that out. We have added an update above.
As always, great job Ankur.
Thanks for publishing details about the new feature introduced in UFT tool.
Regards,
Prakash
@Prakash: Thank You so much!