Hi Matthew. Unfortunately, there is not much support for WatirMaker.
The best thing to do is create the scripts you need by hand. While this involves knowing HTML, its probably safer to go this route, as watir will only do what you tell it to do. FWIW When I took a look at WatirMaker in the past, I noticed that it used a lot of ie.goto statements when a new page was to be accessed. This in itself made me want to put WatirMaker away for a while. Good luck -Alan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Hailstone Sent: Friday, September 29, 2006 1:16 PM To: [email protected] Subject: [Wtr-general] watirmaker unsupported DEBUG statements What I do: 1 - Goto calendar URL 2 - Click on a time on a day 3 - Name the event and click on "Create Event" 4 - Click on the newly created event 5 - Click on the "Options" menu on the right side Results: Get an error page 6 - Close the browser, and view the output of watirmaker I'm trying to automate some stuff at work on a web app, and I get similar statements. I wanted to reproduce some where accessible to everyone, so I chose Google Calendar. Here is the output of the watirmaker.rb script: ##////////////////////////////////////////////////////////////////////////////////////////////////// ## ## Watir script recorded by WatirMaker. ## ##////////////////////////////////////////////////////////////////////////////////////////////////// #requires require 'watir' #includes include Watir ie = IE.new ie.goto( 'http://www.google.com/calendar' ) # DEBUG: Unsupported onfocusout tagname BODY (:index, '8') ie.text_field( :id, 'Email' ).set( USERNAME ) ie.text_field( :id, 'Passwd' ).set( PASSWORD ) ie.checkbox( :name, 'PersistentCookie' ).clear ie.button( :name, 'null' ).click # DEBUG: Unsupported onfocusout tagname HTML (:index, '0') # DEBUG: Unsupported onfocusout tagname HTML (:index, '1') unknown property or method `document' HRESULT error code:0x80020006 Unknown name. # DEBUG: Unsupported onfocusout tagname BODY (:index, '11') # DEBUG: Unsupported onclick tagname DIV (:id, 'r30') # DEBUG: Unsupported onfocusout tagname DIV (:id, 'r30') ie.text_field( :id, 'dragEventSubject' ).set( 'Test Event' ) ie.document.all[ '730' ].click # DEBUG: Unsupported onfocusout INPUT type button # DEBUG: Unsupported onfocusout tagname BODY (:index, '11') # DEBUG: Unsupported onfocusout tagname DIV (:index, '660') unknown property or method `document' HRESULT error code:0x80020006 Unknown name. # DEBUG: Unsupported onfocusout tagname TD (:id, 'maincell') ie.document.all[ '906' ].click # DEBUG: Unsupported onfocusout tagname HTML (:index, '1') # DEBUG: Unsupported onfocusout tagname BODY (:index, '6') Any help would be greatly appreciated. :) Matthew _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 9/26/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.9/457 - Release Date: 9/26/2006 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
