My mistake. I had a typo in the code.
ie.button(:value, "Login").click
works just fine.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch, Bernd
Sent: Friday, January 20, 2006 5:02 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] How to click a button that has no id or name attribute
<input class=rec_butt type=submit value=Login >
I have this input button that I like to click.
Unfortunate it has not id or name attribute attached to it.
How can I click the button?
--Bernd
***************************************
Bernd
Paatsch
Software Quality Assurance Engineer
Active Voice LLC
e-mail:
[EMAIL PROTECTED]
Phone: (206) 441-4700 x1026
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general