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 |
Hi, Any one have the crack for QTP 10.0,if so could you please send it to phanijuly10@gmail.com
In smart identification, explain about 1. Base filter properties 2. optional filter properties with examples?
How to use the object spy in quicktest professional (qtp) 8.0 version?
Diff b/w test scenario's and test Procedures?
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp
what is active screen,keyboard view?
can we take 'dim my pen is good' as a paramerter
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.
How to open any application during Scripting?
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version
write a script to close all open browser in qtp except one browser whose name is xyz
In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?