Automation Testing

Does HP’s UFT Support AngularJS?

By Test Guild
  • Share:
Join the Guild for FREE
Using UFT’s Extensibility to Test Your Custom Controls

I’ve been getting some questions asking me if UFT or LeanFT supports AngularJS. The answer is yes and no. What do I mean by that? Well, for one thing there’s no “official” Angular JS add-in, but if you’re testing native AngularJS applications that shouldn’t be an issue if you’re using UFT’s built-in Web add-in.

It’s important to remember that AngularJS is just a structural framework for creating dynamic web pages. That means it lets you leverage HTML as your template language, and extends HTML to allow you to express your app components in a clear way.

Since it’s just HTML, UFT/QTP/LeanFT shouldn’t have any issues recognizing your application fields as standard web elements.

For example, I have a main application that I test, and there’s no difference between how our Selenium tests interact with it and how QTP/UFT or LeanFT interacts with it. They both recognize the fields without any issues.

What About UI Framework Built on Angulate JS?

If you’re testing custom control build on top of AngularJS, UFT would most likely not recognize those objects and, according to HP, such framework would not be supported.

So what is “officially” supported by HP? Does HP UFT support angularJs?

HP’s Official Support for AngularJS

Specific versions of AngularJS are declared as “partially” supported. (This is not extended to supporting custom controls on UI frameworks.)

AngularJS UFT 11.5x – 12.01 UFT 12.02 – 12.52 UFT 12.53
1.2 No No Yes
1.3 No Yes Yes
1.4 No No No

UFT AngularJS Support Workaround

Of course, if you’re dealing with an unsupported control or one that UFT doesn’t recognize out of the box, you can use their Web Extensibility add-in to create a workaround or alternative method that UFT can hook into to help recognize your application’s objects. For a great example of this check out Using UFT’s Extensibility to Test Your Custom Controls with Michael Germann.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

The 4 Destroyers of Any Automation Test Script

Posted on 09/05/2023

After interviewing over 500 test engineers on my podcast, I've identified the four ...

Unraveling the Automation Scorecard: Where Do You Stand?

Posted on 08/03/2023

Do you know what your Automation Scorecard Score is? No? Not sure you ...

3 Time Saving AI Assisted Features for Testers (Katalon Studio)

Posted on 07/11/2023

The software testing landscape is rapidly evolving, with artificial intelligence (AI) and machine ...