On Apr 8, 1:47 pm, Wesley Chen cjq@gmail.com wrote:
ie.text_field(:id,mytextfield).value will get the value in the text field.
You can't get the text_field attribute value by it.
Wesley.
For life, the easier, the better.
So what you're saying is that I need to get the attribute value of
So what you're saying is that I need to get the attribute value of the
field? Can you please tell me how the syntax will look? Thanks.
Don't worry, I figured it out. This will return the value set for
mytextfield:
ie.text_field(:id, 'mytextfield').attribute_value('value')
--
Before posting,