Automation Testing

Does HP’s UFT Support AngularJS?

By Test Guild
  • Share:
Join the Guild for FREE

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"}

9 Ways AI Improves Software Testing

Posted on 07/02/2024

I recently co-hosted a webinar, with to delve into the impact of ...

Strategic Test Environment Setup For Automation Success

Posted on 06/18/2024

Understanding the importance of test environment setup Test environment setup is crucial for ...

Top 18 Visual Testing Tools for Testers (2024 Guide)

Posted on 06/10/2024

When you're a web developer, making sure that your site looks great – ...