Monday, December 17, 2012

HP QTP Latest Version – Unified Functional Testing (UFT) 11.5


HP would soon be launching the latest version of QuickTest Professional (QTP). This new version of QTP will be called HP Unified Functional Testing (UFT) 11.5. Below is the sneak preview of some of the important new features that will be available in UFT 11.5


 

1) What is UFT 11.5?

The new version of HP QTP is being called HP Unified Functional Testing 11.5 (UFT 11.5). UFT 11.5 is actually a combination of HP QTP (for testing GUI) and HP Service Test (for testing API).
HP UFT new IDE

HP UFT Insight
Image Courtesy: HP Webinar Slides

What is HP UFT 11.5


2) Brand New Modern IDE

This point has been discussed so many times at many forums. QTP’s IDE lacked the punch when compared to many modern IDE’s like Eclipse, Microsoft Visual Studio etc. It lacked many must have features that were there in many IDEs available in the market. With UFT 11.5, HP will be introducing a brand new modern IDE, which will
a) have a new IDE aligned with modern dev IDEs (like Eclipse).
b) have many new features such as script editing, coding, MDI, checkpoints, auto completion etc

3) Image Based Automation – Using HP UFT Insight

With what I have understood, this seems to be a real killer. HP claims that, using HP UFT insight, you can simply recognize controls in the application by their appearance. This feature would enable you to record any object displayed on the screen, even if UFT is not able to recognize the Object’s technology.

4) Integration with Open Source CI Systems

This is another very good feature that has been implemented in UFT 11.5. This was one of the key drawbacks due to which QTP was not considered a good tool for automation in Agile Projects. With this new feature, you would be able to -
a) integrate UFT with popular CI systems like Jenkins.
b) automatically execute smoke and regression test cases repeatedly as part of nightly builds.


5) HP UFT Mobile – Extended Support for Mobile Testing

As part of UFT 11.5, HP will be providing lot of new features in mobile testing, where you will be able to -
a) write agnostic scripts, which once written can be used on multiple devices.
b) test your scripts on simulators as well as real devices.
HP UFT Mobile
Image Courtesy: HP Webinar Slides


Apart from these major features, there are lots of other features such as pdf checkpoints, graphic UI – canvas, workflows support thanks to integration to QC / ALM, support for latest technologies – Qt apps, Flex, more than 20 new versions etc.
All these new features can be explored when HP releases the trial version of UFT 11.5. The trial version should be available by the end of December 2012.
For more information on the above points, refer the HP Webinar Slides.

Saturday, June 23, 2012

Function: HighLightTextPresentOnPage


Function HighLightTextPresentOnPage(byval objpage , byval Textvalue )
On error resume next
REM ——- Create child object description
Set childobj = Description.Create()
childobj("micclass").value="WebElement"
childobj("html tag").value=".*[A-Za-z0-9].*"
childobj("outertext").value =Textvalue
REM  ———-Create ALL child object
set allobj = objpage.ChildObjects(childobj)
 REM here highlight method we will use that is in build in QTP for object
For i=1 to allobj.count-1
    allobj.Item(i).HighLight
 Wait 5
Next
           If allobj.count > 0 then
              HighLightTextPresentOnPage = true
     Wait 5
           Else
              HighLightTextPresentOnPage = false
           End if
             On Error GoTo 0
End Function