[Wtr-general] data driven testing using WTR
Pierre Garigue
PGarigue at EXTEND.COM
Tue Apr 11 17:11:54 EDT 2006
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:anil.kumar.das at gmail.com]
Sent: Tuesday, April 11, 2006 4:23 PM
To: Wtr-general at rubyforge.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060411/3ba158a7/attachment.html
More information about the Wtr-general
mailing list