I've seen this behavior in ome proprietary web apps. Chances are there is a javascript firing when you manually click inside the text field to enter text. Inspect the element with Firebug before and after you click, and see if you can replicate that behavior in Watir using fire_event.
Chandu On Apr 3, 2:40 am, Rats <[email protected]> wrote: > I have a text field which has a mask in it to check for valid phone > numbers e.g. (__) ___ ____ > > When I send this command it does not populate this field: > > ie.text_field (:name, "RequestDemoContact1_HomePhone_I").set > ("091234567") > > The field just flashes yellow and you see some characters being typed > at the end of the field. > > However if you were to manually type the string "091234567" then the > field populates as expected. > > Any ideas? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe, reply using "remove me" as the subject.
