[wtr-general] Re: ie.contains_text problem

2009-01-23 Thread dara
O') You identify the text field by either the id or the name, and output the value attribute. Cheers, -Dara On Jan 23, 12:59 pm, Monkeybuns wrote: > dara, you are correct.  'FOO' is an entry in a text field, not part of > the text of the page.  It does not appear in ie.text. &g

[wtr-general] Re: ie.contains_text problem

2009-01-23 Thread dara
It sounds as though 'FOO' is in your HTML but not in the text of the page. 'FOO' appearing in ie.show_all_objects does not mean it will appear in ie.text. If 'FOO' does not appear in ie.text (try "puts ie.text"), then ie.contains_text('FOO') and ie.text.include?('FOO') are always going to return