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

difference Between LowLevel and Normal Recording Modes?

4 Answers  


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

0 Answers   BirlaSoft,


How Does Run time data (Parameterization) is handled in QTP?

4 Answers   IBM,


Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?

1 Answers  


IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script.

5 Answers   Wipro,






QTP in mumbai

0 Answers  


In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same?

3 Answers   BirlaSoft,


What is the Maximum syncronization timeout in seconds in QTP 9.5

5 Answers   Polaris,


Write test cases for copy and past password in password field ?

0 Answers  


How will you report the bug and explain the defect tracking sheet you handled?

0 Answers   TCS,


How to use custom checkpoints in QuickTest Professional?

1 Answers   TCS,


how to recall a function in QTP?

3 Answers   Ordain Solutions,


Categories