[wtr-general] text_filed validation - onchange alert window

2010-05-27 Thread kashyap
Hi, I am trying to write test scripts to automate a web application.One of the text_fields in a form has an onchange event that calls a javascript function to validate the value entered in the text_field.If the value entered is an invalid one, then an alert window pops up displaying an error text

Re: [wtr-general] text_filed validation - onchange alert window

2010-05-27 Thread Željko Filipin
On Thu, May 27, 2010 at 7:14 PM, kashyap kashyap...@gmail.com wrote: I want to get a handle of that popup and verify the text on the alert window and hit on OK button. Did you read this? http://wiki.openqa.org/display/WTR/Pop+Ups Željko -- watir.com - community manager watirpodcast.com - host