Tghere used to be a variable - I think it was ie.pageHasReloaded or similar thjat would show wether a page had been reloaded - just for situations like this. I don't know if its still there or nor
Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: 06 November 2005 11:07 To: [email protected] Subject: Re: [Wtr-general] submit form At 03:02 AM 11/4/2005, boonhoo wrote: >Is there a way in watir to determine if after submitting a form, >a) whether the form really make a POST and move to a new page, or >b) the form just redisplay itself and did not get POSTed? (e.g. if >there are incomplete fields and caught by javascript validation) You could check to see if the current page still contains the form after submitting it. _____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
