[wtr-general] Re: Checking for contents of a text field
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 the field? Can you please tell me how the syntax will look? Thanks. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe, reply using remove me as the subject.
[wtr-general] Re: Checking for contents of a text field
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, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe, reply using remove me as the subject.