[wtr-general] Re: Do you know how to make text box writable on the go.

2009-07-14 Thread Dylan
I'm obviously not aware of your specifics, but if there's anything I've learned, its that Watir is very versatile. :) There's probably a way to select the date just the way users do (i.e. open calendar popup and click on date). You can do a lot with fire_event(). If you post some of the calendar p

[wtr-general] Re: Do you know how to make text box writable on the go.

2009-07-14 Thread Ray
I had to do this to input a date that is normally selected by a javascript calendar pop up. frame.text_field(:name, fieldName).document.readonly = "" frame.text_field(:name, fieldName).set(date) frame.text_field(:name, fieldName).document.readonly = "read only" this seems to work for me for now,

[wtr-general] Re: Do you know how to make text box writable on the go.

2009-07-10 Thread Chuck van der Linden
I fail to understand why you would want to do that, if your application does not allow the user to change the text in the text box, then what do you expect to happen when you change it yourself? Is it actually being included in a POST that is done from the page you are working on? Watir interface

[wtr-general] Re: Do you know how to make text box writable on the go.

2009-07-08 Thread Jared
You shouldn't be able to change the value using the browser. You *might* be able to set it directly, or enable the field, by accessing the DOM object, but I'm not sure. Without digging in the DOM, the simplest way is probably to use BurpProxy to make the field(s) writable - http://portswigger.n