[wtr-general] Re: firewatir not able to recognise the text box

2009-10-22 Thread Angrez Singh
Can you post the HTML and your ruby code for the same? On Thu, Oct 22, 2009 at 5:14 PM, arihan sinha arihan.si...@googlemail.comwrote: Hi All, When i am running the ruby test from eclipse , the text box in the firefox is not getting recognised because of id=advSearchFirstSearchTerm

[wtr-general] Re: firewatir not able to recognise the text box

2009-10-22 Thread arihan sinha
Thanks Angrez for looking into it. The html code div class=adv_search_box input type=text onfocus=select() class=adv_searchTerm id= advSearchFirstSearchTerm name=firstSearchTerm value=/ in

[wtr-general] Re: firewatir not able to recognise the text box

2009-10-22 Thread Angrez Singh
works for me: require 'watir' # the controller require 'test/unit/ui/console/testrunner' require 'test/unit/testsuite' class Sampletest Test::Unit::TestCase def test_firefox $ie = FireWatir::Firefox.new $ie.goto('http://www.thelancet.com/advancedsearch')