how do you done Data-driven test using MS-Word Instead of
DataTable
Answer Posted / rajani
using the following script we do the data driven test, data
from flat file i.e., from notepad, Ms-Word etc.,
option explicit
dim fso,f,n
set fso=createobject("Scripting.filesystemobject")
set f=fso.opentextfile("path of word doc.",1,false)
while(f.atendofline<>true)'read the file to the end of file
n=f.readline()'line by line reading
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the two types of repositories available, explain them?
can anyone tell me from where i can download qtp demo or crack version
We stored into the objects OR and then write the scripting
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
What do you to script when objects are removed from application?
How to use reporter.report event in qtp ?
What is action split and the purpose of using this in qtp?
hou can we use vb script in qtp could u tell me breafly
Differentiate the type of test cases which can be automated and which cannot be automated?
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
How to get Traceability matrix from TD?
How software tester can use constants and variables in scripts?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
How do you create new test sets in td?
Explain how to use QTP to check broken links on a page?