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

Hi, Any one have the crack for QTP 10.0,if so could you please send it to phanijuly10@gmail.com

2 Answers  


In smart identification, explain about 1. Base filter properties 2. optional filter properties with examples?

2 Answers   TCS,


How to use the object spy in quicktest professional (qtp) 8.0 version?

0 Answers  


Diff b/w test scenario's and test Procedures?

0 Answers  


How to capture a window in qtp or how to take snapshot of any window while writing script in qtp

3 Answers  






what is active screen,keyboard view?

2 Answers   BirlaSoft,


can we take 'dim my pen is good' as a paramerter

2 Answers  


I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.

1 Answers   IBM,


How to open any application during Scripting?

3 Answers   Crea,


What are the various versions of QTP that have been released so far? Please also mention the year of release for each version

4 Answers  


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?

0 Answers  


Categories