Why UFT Needs to Go !

I have finally made up my mind to try to stay away from UFT. I don’t think HP has done justice to QTP after introducing UFT.

I clearly remember the first time UFT was launched in 2012, I was like – “Wowww ! It’s a great effort by HP. There are some stability issues that I’m sure will be fixed as the tool matures”.

In 2015, I was like – “Oh myyy ! UFT is still in same shape. Let me move my Web based tests to Selenium.”

Now in 2016, when I need to run my older scripts in UFT, I’m like – “I think I need to move my Desktop based scripts to LeanFT”.

In case you haven’t worked with UFT or you can’t relate to what I’m saying, here are a list of things I have been facing with UFT:-

  1. Debugging – I place a breakpoint in my code, while pressing F10 and going to consecutive lines, UFT goes into a state of TRANCE and I need to restart it and repeat the same process (and hope it doesn’t happen this time).
  2. Error Handling – In the name of Error Handling, all we have is “On Error Resume Next”. Time to move on to try catch !
  3. Latency Issue – I sometimes can’t type in the UFT IDE coz its just so slow. I have to write in a text editor and paste in UFT IDE.
  4. Watch Window – The Dreaded HRESULT E_Fail error comes up when I try to look up something in the Watch Window.
  5. Automation Object Model – Following statement – Set objQTP = CreateObject(“QuickTest.Application”) takes atleast 10 times more time with UFT as compared to QTP.

These are only some of the issues that I have personally encountered. Apart from the above, freezing/crashing is quite frequent and performance is very slow in comparison to QTP 11.

In a nutshell, I think Selenium is awesome if you want to automate JUST web based applications but if you want the whole package of Automating Web as well as Desktop applications and use modern programming languages like C# and Java instead of VBScript, go for LeanFT ! For learning more about it, you can refer my short tutorial.

I don’t feel happy saying this, but RIP UFT 😦



Disclaimer – This is just my personal opinion and you should weigh all PROS/CONS while moving to any tool.

Happy Automating!

Harshit Kohli




4 thoughts on “Why UFT Needs to Go !

  1. I’m noticing tests take around 15 seconds to complete each in visual studio. Any thoughts on what I can do to speed it up?

    Visual Studio 2015
    Finding elements by Id

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s