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
Explain about business process component? types and usage?
When and why to use descriptive programming?
How do we handle run-time errors?
What are the benefits of qtp?
How many add-ins comes by default with quicktest professional?
What is qtpro? What is quick test pro?
how to test Web application using QTP software
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
Suppose I want fail that check point? How can you do that?
explain keyword driven framework with banking domain?
How can i initiate the objects to find uniquely in OR
what is clean sweep?
How to get Traceability matrix from TD?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
Can any body please tell me the steps of keyword driven framework of QTP.