I am new to WET / WATIR

Trying to script this site that uses DIV dynamically generated. I am using 
WET/Ruby. Using the Ruby text editor to see how the test runs.

However, I get an error when I script click on DIV

See:
ie.Frame('name:=nav').document.all['297'].click
ie.Frame('name:=content2').div('id:Opener_cont_live').click

I get this error

bug1499.rb:19: undefined method `div' for #<WET::WebFrame:0x33c316c> 
(NoMethodError)

How do I get round this because the CMS I am testing does not support selenium 
and I need to parameterise the test

Should I use WATIR ? If yes, how do I get started with WATIR asap. I am confused
Please urgent help
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to