How to use values returned by VB script in winrunner?
From your 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.
Related Questions
- Ive entered some numbers in a field in my Access data sheet, but when I attempt to sort on that field, the values are not returned in numerical order. What do I do?
- When trying to extract data I keep getting no data or missing values returned - what am I doing wrong?
- What is a function to capture dynamic values in the web Vuser script?