korimo / firewatir

Automatically exported from code.google.com/p/firewatir
0 stars 0 forks source link

support for html <button tags #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. write a test that tries to click on a <button name="foo" value="bar/>
2. ff.button(:name, "bar").click

What is the expected output? What do you see instead?
The button should be clicked

What version of the product are you using? On what operating system?
1.0.1

Please provide any additional information below.

Attached is a patch to fix InputElement to support buttons... this special
case should probably be in the button class..

Original issue reported on code.google.com by todd.fis...@gmail.com on 3 Feb 2007 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
Here's a simpler fix that doesn't put the special case code in the base class,
instead in the child class.

Original comment by todd.fis...@gmail.com on 3 Feb 2007 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ang...@gmail.com on 8 Mar 2007 at 4:43

GoogleCodeExporter commented 9 years ago

Original comment by ang...@gmail.com on 8 Mar 2007 at 4:44

GoogleCodeExporter commented 9 years ago
Verified 

Original comment by prema.a...@gmail.com on 22 Jun 2007 at 10:01