Results 1 to 4 of 4
  1. #1

    QuickTest Print Log


    Am using the method "Print" in QTP to get the log files during run time.

    Once the run session ends, the QTP Print log file appears.
    Is there any method to save the QuickTest Print Log?


  2. #2

    Re: QuickTest Print Log

    you can get text from it:

    strText = Window("regexpwndtitle:=QuickTest Print Log").WinEditor("nativeclass:=Edit").GetROPropert y ("text")

    then you can save it with Filesystemobject as a textfile.
    QA automation

  3. #3

    Re: QuickTest Print Log

    Alternatively you could output to a simple file using the file system object in the first place instead of using print.

    A good general policy would be to call a function for logging and decide in the function how to log the data.

    You could then output to the QTP log file, a flat file, a system log, a spreadhseet or a message box and only have to change your code in one place.
    For an easy to use test automation framework, checkout my website:


  4. #4

    Re: QuickTest Print Log

    Thank You. It was helpful



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:45 PM.

Copyright BetaSoft Inc.