How to make a data driven test using flat files?

Showing Answers 1 - 1 of 1 Answers

adisgee

  • Aug 2nd, 2007
 

This is a tricky one using WinRunner.
It is though simpler using when u use QTP.

I would advise against it as both WinRunner and QTP access data tables so conviniently and tabulated data to drive test automation is something you are looking for.

Still if you prefer using flat files, u can use a text file.
Separate data within the text file using some identifier like a semicolon " ;".
Then parse the data on that identifier and use data within automation.

With QTP / Vb Script possibly u can use tabulated data within the file. Though i dont have the code to read tabulted data, u can always do that using google search.

Hope this helps,
Thanks,
Aditya.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions