10-01-2010, 04:17 PM
Hi All,
Can anybody tell me how to open a file in one script and write into it in a different script?
I have to open a file once in login script and use it in all the test cases script to write the result of the test case into it.
I have written a code like this in login script
Now in my TEST_CASE 1 script I have to write
But this doesn't work.
Can anybody tell me how to open a file in one script and write into it in a different script?
I have to open a file once in login script and use it in all the test cases script to write the result of the test case into it.
I have written a code like this in login script
Code:
Dim fso
Set fso = createobject("Scripting.FileSystemObject")
Set tf = fso.CreateTextFile("path", True)
Code:
tf.writeline("Pass")
But this doesn't work.