how do you done Data-driven test using MS-Word Instead of
DataTable
Answers were Sorted based on User's Feedback
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 |
Could u please give Idea and code for this Question
Is This Answer Correct ? | 0 Yes | 1 No |
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 |
difference Between LowLevel and Normal Recording Modes?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How Does Run time data (Parameterization) is handled in QTP?
Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?
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.
QTP in mumbai
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?
What is the Maximum syncronization timeout in seconds in QTP 9.5
Write test cases for copy and past password in password field ?
How will you report the bug and explain the defect tracking sheet you handled?
How to use custom checkpoints in QuickTest Professional?
how to recall a function in QTP?