HP UFT 11.51 – Critical Patch 1 Release

PerfectoTopAd

HP UFT Critical Patch Release

Good news for early adapters of UFT 11.51, HP has just released a critical patch 1 (UFT_00037) that resolves a bunch of nasty bugs.

Also HP released an ALM patch UFTALM_00033.Exe that should be installed when working with UFT 11.51 Patch 1.

Dependencies for Patch 1

If you currently have UFT 11.50 you do need to first upgrade to UFT 11.51 with patch UFT_00001. If you're using ALM you also need UFTALM_00001.

What's been fixed in this UFT patch Release?

  • Error “not able to find the object” when trying to import older QTP 11 scripts into UFT.
  • Weird “Exit Property” crash when typing “y”
  • Action was not found “Line (1): “LoadAndRunAction “[QualityCenter]Subject\utp\UTPDriver”,”Action1″, OneIteration” when upgrading to UFT from QTP
  • Random exception errors when opening QTP 11 scripts in UFT
  • UFT freezes when trying to execute the Swftoolbar().Select statement
  • Oracle field UFT object spy recognition issues. UFT spy showing Oracle application fields on Windows 7 as winobjects.
  • Change to how UFT associates function libraries
  • The ability to actually recognize Ribbon controls developed using the MSAA API.
  • Flash player error “Error #1009: Cannot access a property or method of a null object reference” after clicking in a Flex Data Grid

How to Get Patch 1 UFT_00037 or UFTALM_00033.Exe

Due to HP's legal department I can no longer post these patches on my web site as I explained in my post “Another reason why HP sucks“. To get a copy of this UFT patch you will need to contact HP Support or you can download it from HP's Patches support site.

If you are not sure how to download patches from HP be sure to check out my video “How to download UFT/QTP Patches from HP

10 comments
Sahil - April 13, 2013

Great article, thanks Joe.

I have a question. Does UFT 11.5 supports Flex automation without any additional code changes like compiling the code with additional libraries?

We have lot of flex automation to do but we are not able to convince our developers to compile the code with additional automation libraries to be able to automate with QTP/Selenium.

Thanks

Reply
    Joe Colantonio - April 18, 2013

    Sahil » Thanks Sahil. I have not tried UFT against Flex yet but this is what HP recommends doing:
    Important: This feedback is only for HP Flex Add-in, not the Adobe Flex add-in.

    To prepare a Flex application for Web for testing
    1.
    Link the Flex application to Adobe Flex automation libraries and a UFT Flex pre-compiled agent. To do this, add the following compiler arguments in the Flex project:

    -include-libraries “\dat\Flash\Flex\HpQTPAgent.swc”
    -include-libraries “${flexlib}\libs\automation\automation_agent.swc”
    -include-libraries “${flexlib}\libs\automation\automation.swc”
    -include-libraries “${flexlib}\libs\automation\automation_spark.swc”

    2.
    Embed the Flex application into a host .html document and open the host document using a Web browser.

    To prepare an Flex application for Adobe AIR for testing

    Link the Flex AIR application to Adobe Flex automation libraries and a UFT Flex pre-compiled agent. To do this, add the following compiler argument in the Flex AIR project:

    -include-libraries “\dat\Flash\Flex\HpQTPAgent.swc”
    -include-libraries “${flexlib}\libs\automation\automation_agent.swc”
    -include-libraries “${flexlib}\libs\automation\automation.swc”
    -include-libraries “${flexlib}\libs\automation\automation_spark.swc”
    -include-libraries “${flexlib}\libs\automation\automation_air.swc”
    -include-libraries “${flexlib}\libs\automation\automation_airspark.swc”

    To prepare a Flex application hosted by Adobe standalone Flash Player for testing, including the debug version, or Adobe Flash Player Projector
    1.
    Link the Flex application to Adobe Flex automation libraries and a UFT Flex pre-compiled agent. To do this, add the following compiler argument in the Flex project:

    -include-libraries “\dat\Flash\Flex\HpQTPAgent.swc”
    -include-libraries “${flexlib}\libs\automation\automation_agent.swc”
    -include-libraries “${flexlib}\libs\automation\automation.swc”
    -include-libraries “${flexlib}\libs\automation\automation_spark.swc”

    2.
    Open the application in one of the following:

    the Adobe standalone Flash Player


    the Debug version of the standalone Flash Player


    the Adobe Flash Player Projector

    To prepare a Flex application that uses the Flex charting or AdvancedDataGrid classes

    Link the Flex application to the automation_dmv.swc library. To do this, add the following compiler argument in the Flex project:

    -include-libraries “${flexlib}\libs\automation\automation_dmv.swc”

    For more information review the “How to Prepare Flex Applications for Testing” under “Chapter 13 – Flex Add-in” on the HP UFT Add-ins Guide

    Reply
      Sahil Chauhan - April 21, 2013

      Thanks so much for the detailed response. Will continue to try to convince my developers :)

      Reply
Bette - April 16, 2013

I am running UFT 11.51 Build 1267 on a Citrix server with EPIC and am getting “Unspecified error” when trying to click into a text box to log in. The funny thing about this is that I can usually get this to work when I run the script on the pc that I create the script. When I go to another pc and run it I get the error. I have tried just the recorded version and the dp version. Here are both sets of code:
Window(“EPIC”).Window(“EpicWindow”).ActiveX(“LoginControl”).ActiveX(“UserIDControl”).WinObject(“UserIDTextBox”).Click
Window(“EPIC”).Window(“EpicWindow”).ActiveX(“LoginControl”).ActiveX(“UserIDControl”).WinObject(“UserIDTextBox”).Type “hdesouz1”
Window(“EPIC”).Window(“EpicWindow”).ActiveX(“LoginControl”).ActiveX(“UserIDControl”).WinObject(“UserIDTextBox”).Type micTab

or

Window(EPIC).Window(EpicWindow).ActiveX(LoginControl).ActiveX(UserIDControl).WinObject(UserIDTextBox).Click
Window(EPIC).Window(EpicWindow).ActiveX(LoginControl).ActiveX(UserIDControl).WinObject(UserIDTextBox).Type “hdesouz1” Window(EPIC).Window(EpicWindow).ActiveX(LoginControl).ActiveX(UserIDControl).WinObject(UserIDTextBox).Type micTab

Any ideas of what is wrong? Any help is very much appreciated.

Reply
    Joe Colantonio - April 18, 2013

    Bette » Not sure this error in Citrix sometimes has to do with a video driver issue. Make sure that you have the latest drivers installed. Anyone else ever see and solve this issue?

    Reply
Udhayakumar - June 3, 2013

Hi Joe,

what is CC in HP Unified Functional Testing 11.50 CC English SW E-Media Evaluation.

Is there any specific meaning to this and difference.

Thanks,
Udhya

Reply
Sandeep Kamnoor - December 17, 2013

Hi,
Currently I am working on one of the .NET based desktop application using UFT 11.51. Some of the objects are not getting identified when I do a record. There’s an object in the application which seems to be a drop down box, from which I need to select the item. When the default recording happens on that drop down box & the item which I select is not getting identified. I updated the Test Advantage 13.2 version free as per the commnuication from Infragistics team. I even updated the patch UFT_00001.exe, but no Luck. Could you please suggest me on how to resolve the issue.

Thanks,
Sandeep

Reply
Meena - June 30, 2014

Hi

Swftoolbar(“Swftoolbar”).Press is not working in UFT 11.53. I have also reinstalled the pathces mentioned. Could you please suggest me on how to resolve the issue.

Reply
Click here to add a comment

Leave a comment: