Results 1 to 2 of 2
  1. #1

    Batch file execution + QTP


    I am executing set of files from the Command prompt using QTP.

    For example: C:\>File1 File2 File3

    I am getting the response of the execution in the screen.

    If I want to redirect the output to a file, I am using the 1 and 2 for the response and Error.

    C:\>File1 File2 File3 1>Response.txt 2>error.txt

    But I want the response to be displayed in the screen as well as in the response file. Please help me to resolve this issue.



  2. #2
    Senior Member
    Join Date
    Apr 2002
    South Africa

    Re: Batch file execution + QTP

    Redirecting output from a dos batch file to a file prevents the output from being displayed. If you want both, you will need to read the output file after it completes and then display the contents.



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 04:00 PM.

Copyright BetaSoft Inc.