A colleague asked me how to automate a disabled text-box which has a calendar attached to it. The customer has specified that they want keyboard entries disabled for this text-field, hence every user of the website has to use the calendar drop down.
Previously, this has been automated by using webdriver to type the text into the text box but as it was disabled, this was impossible.
imagine, this is the html for the textbox:
<input type="text" id="text_box_identifier" value="" disabled >
Hope that saves you some time today ….