≡ Menu
Joe Colantonio – Selenium-UFT-QTP-SoapUI-ALM-LoadRunner & more

UFT 11.5 – Top 5 New Features you are going to Love

UFT 11.5 – Top 5 New Features you are going to Love post image

New Unified Functional Testing Features

A few days ago, right before Christmas, HP finally made UFT 11.5 available for download. Here’s a quick look at the top five features I think you’re going to love:

5) New Add-Ins for Flex and Qt applications

UFT now supports:

  • Flex
  • QT



The add-ins give you the ability to test both Flex and QT GUI applications using UFT. For UFT to work with a Flex application you must compile it with a UFT Flex pre-compiled agent. Testing Qt applications does not require any other steps, other than loading the QT Add-in and testing your QT app just like you would any other UFT supported application.

4) Run step feature for API tests

For Service Test API test users, this feature is a simple change but an absolutely killer enhancement that’s going to save me a lot of time–the ability to run any step on the canvas areas using the new “Run step” command.


If you have an API test made up of 50 operations, you’ll no longer need to run the whole test from the top. Simply right click on any operation on the Canvas. For instance, selecting “Run step” will run only that operation. Sweet!

3) Insight – Image-Based Object Identification

Need to test an application that QTP was never able to recognize? Or do you need to test an application that runs remotely on a non-windows OS? In theory, using the new Insight feature in UFT will now allow you to successfully run tests against these types of challenging situations.


Basically, Insight works by UFT recognizing objects in an application based on what they look like. So, if you’re testing an application that UFT doesn’t support, it shouldn’t matter that none of the objects’ native properties are recognized, since UFT will instead use an image to help identify it.


All images are stored in the object repository.

(I’m not sure how reliable this approach is yet, since I haven’t had time to really try it out, but the concept sounds promising.)

2) Enhanced Debugging Features

Anyone that has been coding on QTP knows how frustrating and the limited the current QTP debugging capabilities are. On top of that, debugging is one of the most important parts of creating a script—which is why you’ll be happy to know that the debugger in UFT has been greatly enhanced.

The following panes have been added and enhanced:

  • Call Stack – allows you to view info about the methods and functions that are currently in the call stack.
  • Loaded Modules – for API tests, this pane allows you to view info on .dlls that are loaded and executed in API test runs.
  • Threads – For API tests–allows you to view info about threads currently running as part of the run session.
  • Local Variables Pane – allows you to view all the current values and types of variables in their current context.
  • Console Pane – when debugging a script, this pane allows you to run lines of VBScript (for GUI tests) and C# code (for API tests) in your suspended run session.
  • Watch – when debugging, this pane allows you to view the current values ad types of selected variables, properties, and VBScript of C# expressions in a test’s suspended run session.
  • Debug pane – enables you to view the current values and types of variables, properties, and VBScript or C# in a test’s suspended run session.


And finally, the top Unified Functional Testing 11.5 feature enhancement you’re going to love is:

1) Unified IDE

In previous releases, HP had separate products for functional testing. QuickTest Professional (QTP) was used for testing GUI applications, and Service Test was for testing non-GUI technologies. Unified functional Testing (UFT) combines both products and features a frontend that merges the separate tools into one common user interface.

When creating a new test script in UFT, the user is now given a choice between creating either a GUI Test (formerly known as QTP) or API Test (formerly known as Service Test). This book focuses on the API testing piece of UFT.

UFT also allows the user (with a proper license for each piece) to integrate steps from GUI, API and LoadRunner into one test script. The ability to call and pass data from one test type to another enables the user to create true end-to-end testing solutions.

The new IDE also allows you to open multiple tests and libraries at the same time. This is destined to be a huge time saver, especially for QTP engineers that have created action-based frameworks.


UFT 11.5 Wrap-Up

These are my top five UFT 11.5 features. What are yours? Please leave a comment below. I’d love to hear from you.

45 comments… add one

  • Naveen

    Thanks joe ……. i was eagerly waiting for this Insight – Image-Based Object Identification from 11.5….lets c how helpful it is ….;-)

  • Insight is a good concept but at the moment it’s more a gimmick than an actual USABLE recording level script.
    Even the simplest of scripts takes time to “tweak” just to get it to run.
    I am sure it will be useful for those “nothing else will work” situations, but before you dive in to Insight Level recording – look at EVERY alternative you can and weigh your ROI.
    Just looking at a recording will tell you – maintenance is going to be a nightmare.

    • John Stewart » Hi John – I agree 100%. I’ve tried just a few small simple examples so far using insight with poor results :(

  • In my opinion – the number one “enhancement” that UFT 11.5 brings to the table – Uniformity.
    HP’s LR\, UFT and ALM are beginning to look like a “suite” of tools rather than three seperate software solutions.
    My hats off to HP for finally figuring that out.
    Now they LOOK like they all belong together.
    baby steps HP, baby steps

    • John Stewart » Yes- its nice to open LoadRunner and have the same look and feel as QTP. I also like how they used an open source platform sharpdevelop to build on. I guess in theory this should also allow us to create custom plug-ins for UFT and LR so that is cool.

  • Dmitry

    Is there any way to export results (checkpoint captured data) from result Viewer to Excel or XML format? QTP allows us to export only Step details, Data Table, Log Tracking, Screen recorder or System Monitor but not Captured Data. It is not enough just to say that checkpoint has failed and that “Checked 38580 cells; Succeeded: 34746; Failed: 3834”. We need to export Captured Data and send it as attachment to our development team. Our developers need to see exactly what and where failed. Any suggestions how to do it?

    • Dmitry » You might be able to do this using a XSLT transformation to format your results. When you choose File>Export To File from the HP Run Result Viewer in the Export Run Results there is an option to Export format using a User-defined XSL. If anyone else has tried this can you please give Dmitry some pointers.

    • Nrusingha

      You have to write VB script. in qtp 9.5 we used to write .vbs files where we used qtp result files as input and we used to generate total result in XML format.
      its not that easy, but i guess you can get the clue from google.

      Thanks and regards
      Nrusingha

  • Joel H.

    Joe,

    In your article above you mention, “The new IDE also allows you to open multiple tests and libraries at the same time. This is destined to be a huge time saver, especially for QTP engineers that have created action-based frameworks.”.

    By that did you mean it allows you to open multiple tests of different types, or am I doing something wrong. When I have a QTP Test open in UFT and attempt to open another QTP Test, the originally opened Test is closed. Again, if I misread/misinterpreted that, please let me know because I was really looking forward to being able to have multiple Tests open at once.

    Thanks,
    Joel

    • Joel H. » Hi Joel – in UFT if you select File>Add there is an options to add an Existing Test or BPT. If you add an existing test it will open in a new tab in your test solution. Not sure what the limit is but I’ve been able to open several tests at the same time — Make sense?

      • Joel H.

        Thanks Joe! Time for me to RTFM and play around a bit more I guess. This wasn’t exactly what I was expecting, but thanks for clearing that up.

  • Jürgen P.

    Hi Joe! Great blog!

    I’ve read on the Google MercuryQTP group there’s support for .NET technology for scripting automation instead of VBScript:
    “[…] Best Feature added in UFT ever is that now it is fully supported .NET Technology…..we can create our automated script in .Net language instead of VBScript”

    I still haven’t found any hints in UFT 11.5 about this “new feature” and does this mean I can use C# instead of VBScript (and furthermore OOP)?

    -Jürgen

    • Jürgen P. » Thanks! As far as I can tell (unless there is some sort of hack around) when you create UFT GUI (formally QTP) test your only option is still VBScript. If you are creating a UFT API test (Formally Service Test)you can use the custom code activity which does use C#. I think the confusion is due to the merging of the two test products into one interface that is causing this. I’m sure that HP is heading in the direction of C# for both products but they are not there yet in this release. Hope this helps.Cheers~Joe

      • Jürgen P.

        Joe,
        that helped a lot. You’re right, after writing my comment I realized that (for now) only UFT API test supports C#.
        Cheers,
        Jürgen

  • rahul

    i need help regarding UFT 11.5 ..
    i am try to run UFT 11.5 as an administrator so that i could connect to QC/ALM but i can not integrate the script to SAP logon .
    But if I run UFT 11.5 as an user mode i can not connect to QC/ALM but i can itegrate to SAP logon.
    please can u tell the sollution to this ASAP . It would be great help to me.

    • rahul » Has anyone else seen this behavior? This is what I found on HP’s KB with a similar issue not sure if it applies to your issue:

      Make sure the SAP Logon Pad is not used to launch the SAP Server

      To connect to the SAP Server upon recording or replay, QuickTest Professional uses the last SAP logon dialog window that was used to connect to the SAP Server.

      To use the correct SAP logon dialog window:
      1. Close QuickTest Professional and the SAP Front.
      2. Start the SAP Front using the “SAP Logon” dialog window and log into the server.
      3. Close the SAP Front and the “SAP Logon” dialog window.

      QuickTest Professional will now start the correct SAP logon dialog window when recording or replaying.

  • Laura S.

    Hey, Joe,

    When is it advantageous to use BPT components to string together an API or GUI test vs. performing that test directly with UFT 11.5

    Thanks for everything,
    Laura

    • prasad

      Hi,

      1) I have installed Firefox 12 on Win7 64 bit
      2) I have installed patches QTPWEB_00090, QTPWEB_00092 and QTPWEB_00100.
      3) I registered firefox to QTP11.
      4) In firefox extensions the QTP plugin got enabled.
      5) I am able to record and run scripts on Firefox.
      6) However, when I am running my existing scripts which is a windows application, its not recognizing the objects.
      7)Before installation of Firefox patches it used to run well.

      When I uninstalled the patches it is recognizing the windows app again.

      Please advice.

  • Christine D.

    Hi Joe! Do you happen to know if the Insight feature can easily identify items that are in the ribbon in any of the Microsoft products (Outlook, Word, Excel, etc.). I know older versions of QTP have had issues with this, so just curious if the Insight feature alleviates this problem?

    Thanks! – Christine

  • rodrigonw

    UFT (11.5) 99% compatibility for old script QTP 11.0

  • Sue

    Hi. The UFT not recognizing the object repository which has been created in QTP.How to make it recognized and run the script without failed.

    The following error promppted :-
    Unable to access the specified repository.Confirm that the files exists and that is a valid object repository file.

    • Sue » Hi Sue – do you have any UFT service packs installed? If not HP has released 2 critical ones that fixes a bunch of odd behavior. You might try that first and see if it resolves your issue.

  • Ben

    I created an application to launch QTP using the QTObjectModel.dll. I would like to convert my application to use UFT the same way. Does anyone know what dll file I should import into my C# project.

    Thanks for your time!

  • Mark

    Hi Joe,

    Do you know if the MultiTestManager can still work with UFT 11.5 ? I can still use the MultiTestManager for QTP 11.0. I like the MultiTestManager better than the “Test Bach Runner” because I can set the time for the batch test to start using the timer capability for the MultiTestManager or correct me if I’m wrong.

    Thanks,
    Mark

    • Mark » Hi Mark – I’ve actually never used the MultiTestManager so I can’t verify if it still works with UFT. Does anyone else know if it still works with UFT 11.5?

  • Srividya

    Hi Joe,

    Can you please tell me how to test mobile Applications using UFT 11.5 on Mobile Emulators

  • Srividya

    Hi Joe,

    Please let me know weather UFT 11.5 supports Microsoft AX?

  • Carlos Londono

    Hi Joe;
    Do you know if UFT11.5 will support open source Continuous Integration (CI) systems like Jenkins and Hudson?

    Best regards,
    Carlos

  • Mehraj

    Hi Joe,

    I am using webservices using UFT 11.5,
    when I am running any query and if it is returning multiple values then I am really facing difficulty in fetching those results and storing in some parameters.
    But if the query return only one value, then I can able to fetch that value by using ‘Replace String’ activity.

    Most important thing, whatever the values I am getting by running query , using these values for validating checkpoint properties.

    Any suggestions/advise will be much appreciated.

    Thanks
    Mehraj

    • Are you calling a web services or a REST api?

      • Mehraj

        I am calling webservices(WSDL’s) using API Test in UFT.

        • Mehraj

          Hey Joe,

          Can you plz share your experience on my above query?

          Thanks in advance !!

          • lone imran

            Hi Mehraj,
            You can use for loop and in the for loop u can have checkpoint in.

  • lone imran

    Hi,
    I am new to UFT and was working HP ST as we know there was free calling a function even out side the scripts. through coding we are able to call any function or service by simply paste the XML structure in and can use where we want.
    I just want to know in UFT while working in .cs file how can i call a service in. in a fuction like for loop. i dont want to that in Grahphical manner. if there is any way so please define with example.
    Thanks
    Lone imran.

  • nagesh

    Hi joe,

    Thanks for your help.

    Please let me know weather UFT 11.5 supports Siebel open UI(8.1.1.11)?
    Do I need to install sepate patch for that?.

  • Dharmendra

    Hi
    IS Multi Test manager is supporting UFT11.5 .

  • Jim W

    Hi Joe,

    I’m new to the HP UFT software (and automated testing in general). I can’t find any resources to help me with debugging errors when I run tests. Do you know of any? The included help files are useful, but they don’t explain how to debug if there’s a problem in the application being tested.
    Thanks!

    • Hi Jim – I’m not aware of any really good UFT debug resources in fact it has been on my blog list post ideas for awhile. I will try to create something soon that I hope will help you. Cheers~Joe

  • Salai Guruparan

    Please let me know is it possible to get the entire REST response values from Service Test to GUI (QTP)…

  • RAJ

    Hi Joe,
    My AUT is VS2012 and I am using QTP 11.0 with patches: 00699, 00709 & 00051 are installed on Win 7 64 bit OS

    I am facing an issue like in VS2012, WinTreeView (Solution Explorer) is identified as just Window.
    i.e Window().Window() instead of Window().WinTreeView()

    due to this my scripts which ran successfully on VS2010 keeps failing.

    Can you please suggest me as how to resolve this issue?

    • I’m not sure that QTP 11 support VS2012 – but I searched the HP KB but can’t find any documentation to confirm this

Leave a Comment