Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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.

1955


what is defenetion of kiran can u tell me plz CVS, SVN

1981


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

2129


Explain how you can find length of array in qtp?

1002


How to use actions in qtp ?

993


How can we conduct U-I Testing by using QTP??????

1818


can any body give the banking domain concepts/links

4018


Sql questions to find second max salary and how to use joins

1464


What are the key elements available in test result window?

1098


Explain types of descriptive programming?

983


How do Parameterization and Data-Driving relate to each other in QTP?

1010


What is the difference between run time object and test object?

1040


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1980


Have you used xml check point in your project?

928


Is it possible to change the values of analog recording?

1056