how do you done Data-driven test using MS-Word Instead of
DataTable

Answers were Sorted based on User's Feedback



how do you done Data-driven test using MS-Word Instead of DataTable..

Answer / saravana.s

In Case, if my word or text file is having millions of
lines then how can i calculate efficiently the total number
of lines?

Is This Answer Correct ?    1 Yes 0 No

how do you done Data-driven test using MS-Word Instead of DataTable..

Answer / nagi reddy

Could u please give Idea and code for this Question

Is This Answer Correct ?    0 Yes 1 No

how do you done Data-driven test using MS-Word Instead of DataTable..

Answer / 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

More QTP Interview Questions

How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar

1 Answers  


Output values? i want a practical example

0 Answers  


Hi Friends,I hav Just finished QTP course.Can any body suggest me which is the best place to go and post resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r calls in these cities,the best one?

3 Answers  


Use of Multiple Actions in QTP?

3 Answers  


What is the advantage of associating a procedure with a test object?

1 Answers  






what are the different Frame Works in Quick Test Proffessional testing

5 Answers   Wipro,


How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?

1 Answers  


Explain hybrid framework with advantages and disadvantages?

0 Answers  


What kind of errors can b handled in QTP in real time scenario?

2 Answers   AZTEC,


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

0 Answers  


How to Identify broken links in QTP

2 Answers   Ness Technologies,


what are the functions availabla in QTP? what are the data types in QTP?

2 Answers   Spry Technologies,


Categories