Run Time Debugging Through Print Utility Statement in QTP

I imagine you might have used “msgbox” serve as nearly each time for debugging functions i.e. exhibiting some textual content at run time. But the issue with “msgbox” serve as is that it assists in keeping open until you shut it and additionally you’ll be able to’t debug additional, since it is a modal conversation field. You need to press OK button to transport forward.

How a couple of an identical software serve as, which matches very an identical, like “msgbox” and likewise supplies the consumer the versatility to accomplish additional debugging?

Yes, it’s conceivable. HP Quicktest Professional (QTP) supplies a Print software remark which is used to show data within the “QuickTest Print Log” window whilst nonetheless proceeding your Run Session.

Looks beautiful attention-grabbing!!!!!!! Alright, then pass forward and browse extra.

Firstly allow us to see what occurs in case of “msgbox” serve as. As quickly because the script encounters the “msgbox” serve as, it shows a conversation field and the script will get paused until the consumer presses the OK button.

Here you want to press the OK button with the intention to proceed.

In order to counter this downside, HP QTP additionally supplies an out of this world Print software which is similar to its “msgbox” counterpart however a lot more versatile. It can be utilized for debugging functions. It may be very easy to make use of inside of QTP software.

As you’ll be able to see from this screenshot, QuickTest Print Log window stays open even after your script has completed working, thus offering extra flexibility.

So any more which one you wish to use? QTP’s “msgbox” serve as or QTP’s Print Utility Statement?

Did you favor my rationalization of the concept that within the above article?

Being Technology Savvy, I’m certain you should be curious to learn many extra attention-grabbing articles on QTP; How about subscribing to my Feed? This will assist you to in robotically figuring out the instant I publish a piece of writing on my Site.

So allow us to sign up for and allow us to Learn & Master the good Tool QTP.