Answer Posted / sailaja
The above code is giving error at for loop
Dim fso,notepad
set fso = createobject("scripting.filesystemobject")
file_path = "c:\nandu.txt"
'forwriting =2
'forreading = 1
set notepad = fso.createtextfile(file_path,1)
notepad.writeline "this is created by Nanda"
notepad.writeline"this is created on "
set notepad = fso.opentextfile(file_path,1)
Do
n = notepad.readline
msgbox n
Loop until ( notepad.atendofstream=true)
This will work fine.
Thank you
Sailaja
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
what is profile tool?
What are the ordinal identifiers in web page?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
What are the challenges you faced during you entire life automation ?
what is object and child object.. explain ..if possible give some example for better understanding ..
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
What is Test Fusion Report in QTP?
Give the syntax to import/export xls into qtp.
What is different command used in command Prompt while using QTP?
How to test fly out menu in qtp?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.