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
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,
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
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