Ok, so I'm down to just seeking the answer which, for me at this time, is
the best teacher.
So go to quibids.com, click one of the items on auction. See the "Bidding
History" table? I'm trying to get the value, programatically, of the first
name in the list. I used the following:
irb(main):020:0> puts b.text_field(:id => 'bhu_1').value
and received:
Watir::Exception::UnknownObjectException: Unable to locate element, using
{:tag_
name=>["text", "password", "textarea"], :id=>"bhu_1"}
from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-c
lassic/element.rb:66:in `assert_exists'
from (eval):3:in `value'
from (irb):20
from C:/Ruby193/bin/irb:12:in `<main>'
Thanks.
On Thursday, December 6, 2012 2:53:52 PM UTC-6, Željko Filipin wrote:
> On Thu, Dec 6, 2012 at 9:47 PM, TommyW <[email protected]
> <javascript:>>wrote:
>
>> b.text_field(:id,"abcedf").value?
>>
>
> You were close:
>
> b.text_field(:id,"abcedf").value
>
> Depending on if you use watir-webdriver or watir-classic gems, API
> documentation is here:
>
> http://rdoc.info/gems/watir-webdriver/
> http://rdoc.info/gems/watir-classic
>
> Željko
>
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]