[Wtr-general] WET or WATIR, support for DIV tag
Bface
forum-watir-users at openqa.org
Fri Jun 15 06:22:26 EDT 2007
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
More information about the Wtr-general
mailing list