I think watir 1.4 does not support map and area element.
Try watir 1.5.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
that doesn't work
Error: undefined method `area' for # (NoMethodError)
watir code:
require 'watir'
#includes
include Watir
ie = IE.new
ie.goto( 'http://www.squarebox.co.uk/scalc.html' )
sleep(5)
ie.area(:href, /digit\(4\)/).click
___
Wtr-general mai
This should work.
ie.area(:href, /digit\(4\)/).click
For accessing the operators you will have to change the regexp and you
are done.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
mihai wrote:
> nobody can help me?
>
Did you try solution posted by me?
reproduced here---
This should work.
ie.area(:href, /digit\(4\)/).click
For accessing the operators you will have to change the regexp and you
are done.
---
-Manish
nobody can help me?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
mihai wrote:
> this is the page i want to test:
> [http://www.squarebox.co.uk/scalc.html|http://www.squarebox.co.uk/scalc.html]
>
This should work.
ie.area(:href, /digit\(4\)/).click
For accessing the operators you will have to change the regexp and you
are done.
Question to the list:
On gi
this is the page i want to test:
[http://www.squarebox.co.uk/scalc.html|http://www.squarebox.co.uk/scalc.html]
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Some html would help.
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
i have a scientific calculator made in java in a html;
how do i test the buttons? when i want to press "5" it runs a javascript
function digit(5)
how do i call that function in watir?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforg