Read input from excel file and substitute those values in watir

16 views
Skip to first unread message

Dharmendra

unread,
Jan 6, 2009, 8:24:50 AM1/6/09
to watir-...@googlegroups.com
Hi All,
Need your help.
How to parameterize values for the text fields.
suppose taking a simple example of gmail login page, if i have to parameterize the user name and password text_fields, by passing the values from excel sheet.
even i have installed Rasta gem for the same.
please do help me.



Thanks and Regards
Dhruv.


 

 

Tiffany Fodor

unread,
Jan 6, 2009, 1:16:36 PM1/6/09
to Watir General
Hi!

I've used David Brown's Xls class, available on the Watir Wiki here:
http://wiki.openqa.org/display/WTR/Excel+interface+class

To see how I've implemented the Xls class, an example of my test
harness is also available on the Watir Wiki here:
http://wiki.openqa.org/display/WTR/Excel+Data+Driven+Harness+with+Database+Verifications

You can also find tips for working with Excel (and lots of other great
stuff) here:
http://rubyonwindows.blogspot.com/search/label/excel

I hope this helps!

-Tiffany



On Jan 6, 6:24 am, Dharmendra <dhruv.i...@gmail.com> wrote:
> Hi All,Need your help.
Reply all
Reply to author
Forward
0 new messages