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
What are the different types of functions available in qtp and explain ?
Which environments does qtp support?
What is debugging? How you debug your script?
how to find that tools work well with ur existing system?
Explain how you can find the absolute value of the number in qtp?
what is the difference between development and testing
Explain different recording modes?
What are the different attributes used with regular expression?
How to integrate the qualitycenter with qtp
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
what is run action?
What is keyword view in qtp?
What ate the Technologies supported by QTP?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?