How do you done Data-Driven Testing using MS-Word. What is
the script for that
Answer Posted / rajani
option explicit
dim fso,f,n
set fso=createobject("Scripting.filesystemobject")
set f=fso.opentextfile("path of the word document",1,false)
while(f.atendoflen<>true)'reading the word doc.
n=f.readline 'retrive the data from doc.line by line
wend.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can we use index on view?
How many types of recording modes in qtp? Which will be used when?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
can any body give the banking domain concepts/links
wht type of User defined functions or Java Releated functions Do we write in VB scripting
What will be happen if i load object repository at run time, but it has already associated.
Can the user toggle between using Local OR and shared OR for the same action?
How to record a qtp script ?
what is output value in QTP and how it can be used in automation testing
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
hou can we use vb script in qtp could u tell me breafly
What are the advantages of Object Repository?
How do you test DLL files using automation Tool QTP?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.