Hi
I am using Watir Web Recorder version 0.4 to record click events of our own site.For recording, web recorder is doing its job properly but watir is not properly playing it back.does It has limitation of identify forms.For playing it back i need to hand edit the code.Here are some codes-:Code i recorded in google site using webrecorder## Generated by Watir WebRecorder 0.4
## Recorded on Monday, March 6, 2006, at 11:13 AM
#includes
require 'watir' # the controller
require 'watir/WindowHelper'
include Watir#test::unit includes
require 'test/unit'class TC_recorded < Test::Unit::TestCase
def test_1
$IE0 = IE.new$IE0.goto("http://www.google.co.in/")
$IE0.wait$IE0.form( :name, "f").text_field( :name, "q").set("ruby")
$IE0.form( :name, "f").button( :name, "btnG").click
$IE0.wait
$IE0.link( :text, "Ruby Home Page").click
$IE0.wait
$IE0.wait
$IE0.close
end
end
I was able to reproduce this error using both Watir 1.4.1 and Watir 1.5.0.928.
I committed a fix (and a unit test) for this problem. The fix is contained in revision 935.
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general