10-25-2013, 03:11 PM
print "Hi" will not work while executing .vbs file..So could someone let me know how to print value in QTP Log?
|
How to print value in QTP Log using .vbs
|
|
10-25-2013, 03:11 PM
print "Hi" will not work while executing .vbs file..So could someone let me know how to print value in QTP Log?
10-25-2013, 04:32 PM
You can use FSO to write log.
Ex:- Code: Set FSO = CreateObject("Scripting.FileSystemObject")
Set LogFile = FSO.OpenTextFile("D:\QTPLOGFILE.txt",2,TRUE)
LogFile.Writeline("Hi") |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Grab multiple line data from log file | haziqwebs | 0 | 2,149 |
10-19-2016, 01:28 PM Last Post: haziqwebs |
|
| Getting an error to open UFT using vbs file | Naresh | 1 | 6,026 |
06-11-2015, 06:34 PM Last Post: venkatesh9032 |
|
| QTP Report to respective QC test Set Path through VBS | Anand Saboo | 0 | 2,752 |
11-01-2013, 02:36 PM Last Post: Anand Saboo |
|
| To view log files in QTP | sheetal | 5 | 17,682 |
10-08-2013, 02:27 PM Last Post: Gurpreet |
|
| How to run .vbs files through wscript.exe | sams001 | 0 | 3,027 |
03-23-2013, 11:08 AM Last Post: sams001 |
|