I am using watir version 1.5.1.1100.
I am trying to enter value in span field, here is the relevant snippet of html:
span id=tradeDateinput type=hidden
value=12/18/2006input style=DISPLAY: inline; VERTICAL-ALIGN:
middle; WIDTH: 110px value=12/18/2006 autocomplete=off
size=20/span
I am using
Try this:
require 'watir'
test_site='C:\\aa.htm'
ie=Watir::IE.start(test_site)
ie.span(:id,tradeDate).text_field(:index,2).set(01/01/2000)
The confusion lies in trying to set a text field among two that have the
same value, one being hidden.
-Charley
On 12/18/06, VIKASH KUMAR [EMAIL