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 |
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar
Output values? i want a practical example
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?
Use of Multiple Actions in QTP?
What is the advantage of associating a procedure with a test object?
what are the different Frame Works in Quick Test Proffessional testing
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
Explain hybrid framework with advantages and disadvantages?
What kind of errors can b handled in QTP in real time scenario?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
How to Identify broken links in QTP
what are the functions availabla in QTP? what are the data types in QTP?