Testing Tools UFT Basics

UFT Classes #2: Be a better version of yourself | What’s new with HP UFT (over QTP)?

Formerly known as HP QuickTest Professional (QTP), Unified Functional Testing (UFT) provides functional and regression test automation. It uses the Visual Basic Scripting Edition (VBScript) as its scripting language. UFT automates testing through an intuitive, visual user experience that ties manual, automated, and framework-based testing together in one IDE.

A brief History

What's new with HP UFT?

HP QTP was originally written by Mercury Interactive. Mercury Interactive was subsequently acquired by Hewlett Packard (HP) in 2006. In 2012, HP renewed QTP with the new name UFT; during renewal HP’s UFT version was 11.50. UFT 11.5 combined HP QuickTest Professional and HP Service Test into a single software package. The name “Unified” reveals that UFT is an advanced and combined “GUI and API (service)” testing tool. UFT has enhanced, and brand new functionalities that are not available in previous versions of HP Service Test or HP QuickTest Professional. The integrated HP Unified Functional Testing software allows you to test all three layers of a program’s operations: the interface, the service layer and the database layer.

HP Unified Functional Testing (UFT) is the complete industry standard. Let’s see some of the new features offered by “HP Unified Functional Testing” over the older version “HP QuickTest Professional”:

GUI API Tests

UFT is a combination of “HP QuickTest Professional” and “HP Service Test” – test three layers of the software applications; the Interface layer, the service layer and database layer. QTP only support GUI testing for Windows and Web applications, but UFT support GUI and API testing both.

Business Process Testing

In addition to GUI and API testing, UFT 12.0 also provides option for Business Process Testing – Subject matter and component-based customized automation testing platform providing new framework (window) to design, create, maintain, and execute the test and manage the data of the test. To work on Business Process Testing, you must have to connect an ALM project with BPT support.

Mobile testing with UFT

UFT provides a better support for mobile testing. With the help of HP UFT Mobile, HP claims that you will be able to create mobile platform agnostic scripts, hence a script created for iOS would be expected to work for Android. The mobile application testing solution will support emulators as well as real devices. The real devices can be sourced from the public cloud of shared real devices and/or private cloud of dedicated real devices.

Mobile Testing via UFT

New Add-Ins – Flex and Qt

These add-ins facilitate users to test GUI part of Flex and Qt applications. UFT Flex add-in is required to test Flex applications or objects. But this add-in faces problems in case of accessing UFT Flex Agent and finding Flex based web applications. Solution – compile a Flex application with a UFT Flex pre-compiled agent. To run Qt applications in UFT, no additional process is required; simply work with Qt applications as like other supported applications by UFT.

INSIGHT Recording

With Image-based object identification you can now learn an object’s (or images) different states and convert that into a recognizable object within the object library. It recognizes those objects and applications that UFT do not recognize using simple techniques. It is also helpful in recognizing applications run on remote system.

Insight Recording

Multiple script Debugging

This was a much needed and requested feature. You will now be able to debug two or more scripts at the same time from within UFT’s IDE.

PDF Checkpoints

You can now directly compare PDF files and run checkpoints on them.

Support for Apple Safari

UFT runs on all main browsers including Apple Safari (on remote Mac PC) but QTP doesn’t run on Apple Safari. Using Apple Safari browser, UFT runs the test on remote Mac PC efficiently due to secure communication between the UFT PC and the Mac PC and detect the browser object during test to take the snapshot.

Improved Debug process

During the test, debugging is an important process of an automation tool.

  • Call Stack – see all methods and functions that are presently available in the call stack.
  • Loaded Modules – Useful for API testing, displays all .dll files of a particular application executed using API test.
  • Threads– This is also for API testing, displays all info about threads presently running as part of the run session.
  • Local Variables Pane– Displays all types of variables and their current values.
  • Console Pane– During debugging process; run the line of codes written in VB Script language for GUI testing and C# code for API testing.
  • Watch– Displays the current value and type of variables, properties or expressions in the Watch pane.
  • Debug pane– Displays all values and types of variables, properties, and expressions written in VBScript or C# language.

Run step

Applicable for API testing, a small feature, but very much helpful to run any step, function or object displayed on the canvas using the new “Run step” feature. You can access this “Run step” feature by right clicking any object on the canvas.

External authentication for ALM

With UFT 12.0 you can connect to ALM 12.00 server and project by external authentication, such as; CAC (Common Access Card) or SiteMinder. UFT facilitates users to install external authentication certificates or single sign-on mechanisms to avail ALM service, now no need to remember user name and password for the same purpose.

And of course the Icons!

What are your thoughts on this new version with the big name change, overhaul of UI and added features? Know any other added features of UFT? Please mention in the comments below…

Save

Save

Save

Save

Leave a Reply

Your email address will not be published. Required fields are marked *