How to use values returned by VB script in winrunner?

How to use values returned by VB script in winrunner?

From our VB script create a file system object to write output to a text file :

Dim fso, MyFile

Set fso = CreateObject(\"Scripting.FileSystemObject\")

Set MyFile = fso.CreateTextFile(\"c:testfile.txt\", True)

MyFile.WriteLine(\"This is a test.\")

MyFile.Close

Then use file_open and file_getline functions in WinRunner to read the file. 


By:UMANG
Date:2002-02-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related TESTING Subjective Links

TESTING Subjective interview questions and answers for experienced and fresher