This may be a novice / common question so apologies if I have missed it!
In pseudocode I would like to do this (in Winrunner):
strTest = content of test.txt
Would like to do this dynamically since test.txt content will be updated frequently.
Please advise, or send me in the direction of help info. Thanks.
you can use the file_* functions to do this with a little work.
pseudo code for you to look into:
file_open test.txt for reading
file_getline from test.txt into a temp variable
append the line varaible to the strTest variable you want to contain all the text.
end loop once return code is not E_OK
Insanity: doing the same thing over and over again and expecting different results