I looked at tracker at http://rubyforge.org/projects/wtr/ and I did not find
this bug (example is for 'id', but I reproduced it also for 'name'):
HTML:
<html>
<body>
<a href="" id="link_id" name="link_name">link 1</a>
<input type="checkbox" id="checkbox_id" name="checkbox_name"
/>
</body>
</html>
IRB:
irb
require 'watir'
ie = Watir::IE.attach(:title, //)
ie.checkboxes.each { | item | puts item.id }
OUTPUT:
link_id
-----
It works ok if:
HTML:
<html>
<body>
<input type="checkbox" id="checkbox_id" name="checkbox_name"
/>
<a href="" id="link_id" name="link_name">link 1</a>
</body>
</html>
OUTPUT:
checkbox_id
-----Original Message-----
Are there any other things that people need urgently, or any bugs Im
missing?
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general