how do you done Data-driven test using MS-Word Instead of
DataTable
Answer Posted / 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 View All Answers
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
what is defenetion of kiran can u tell me plz CVS, SVN
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
Explain how you can find length of array in qtp?
How to use actions in qtp ?
How can we conduct U-I Testing by using QTP??????
can any body give the banking domain concepts/links
Sql questions to find second max salary and how to use joins
What are the key elements available in test result window?
Explain types of descriptive programming?
How do Parameterization and Data-Driving relate to each other in QTP?
What is the difference between run time object and test object?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Have you used xml check point in your project?
Is it possible to change the values of analog recording?