I would export the xls as Comma delimited and read it in as text
 
read it in line by line into an array of hashes and use the name,  ssn,  and telephone as keys for each
 
cheers
Pierre
-----Original Message-----
From: Anil Kumar Das [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 4:23 PM
To: [email protected]
Subject: [Wtr-general] data driven testing using WTR

I am trying to implement data driven testing using xls sheet & watir.
 
For example:
1. I have an xls sheet(c:/info.xls) with three columns called name,ssn, telephone/ 10-10 records in each column
2. My screen has three fields and submit button
name
ssn
telephone
I want to get data from xls sheet, enter in screen & submit records one by one.
 
Any workaround?? -- how to do this using watir or ruby
 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to