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')
$ie.text_fiel
Thanks Angrez for looking into it.
The html code
in
All Fields
Can you post the HTML and your ruby code for the same?
On Thu, Oct 22, 2009 at 5:14 PM, arihan sinha
wrote:
> 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" class="adv_searchTerm" ty