copying the output value returned in QTP

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
asif2k12
Posts: 1
Joined: Sat Feb 16, 2013 7:29 pm

copying the output value returned in QTP

Post by asif2k12 » Sat Feb 16, 2013 7:29 pm

hi
I have a vbscript which is
1. Launching my qtp
2. Opening the test
3. Running the test

when the test completes, the test is returning some value. I want to copy that value in VB script.
Can someone help me....

User avatar
jvierra
Posts: 13265
Joined: Tue May 22, 2007 9:57 am
Contact:

copying the output value returned in QTP

Post by jvierra » Sun Feb 17, 2013 5:53 am

HOw is it returning the bvalue.

1. You can send the output to a fiel using '>'.
2. You can use WsShell.Exec and capture the output.

Locked