Automation Testing

How to Get the QTP Print Log Functionality in UFT?

By Test Guild
  • Share:
Join the Guild for FREE

Not sure how many QuickTest Professional testers use the QTP print method, but I use it all the time. I find it especially helpful when running long QTP data population tests to set up test environments overnight.

It gives me an easy way to look at a machine running a data population script, see the Quickest Print Log Dialog results, and know how much longer it takes to finish.

In UFT, the behavior for the print method is a little different and might confuse first-time users of UFT. To help avoid any concerns, this functionality is still available in Unified Functional Testing GUI Tests; you just have to know where to look.

UFT Output Pane

The same print log info can be found in UFT under the UFT>View>Output window (CTRL+ALT+U), selecting the Print Log from the dropdown:


Some of you might be saying, “that is great but I really liked having this window available as a separate dialog type window“. No worries, you can achieve the same effect by selecting the Float option from the Output window's dropdown menu


To see in action

To see how this looks in QTP compared to UFT, I entered the following code in Quickest Professional and Unified Functional Testing:

For printNum = 1 to 50
print “QTP PRINT LOG DEMO NUMBER:” & printNum
Next

And this is how the look compared to one another

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

The 4 Destroyers of Any Automation Test Script

Posted on 09/05/2023

After interviewing over 500 test engineers on my podcast, I've identified the four ...

Unraveling the Automation Scorecard: Where Do You Stand?

Posted on 08/03/2023

Do you know what your Automation Scorecard Score is? No? Not sure you ...

3 Time Saving AI Assisted Features for Testers (Katalon Studio)

Posted on 07/11/2023

The software testing landscape is rapidly evolving, with artificial intelligence (AI) and machine ...