you will need to provide the html as well

On Tue, Sep 14, 2010 at 3:58 PM, Watir General <[email protected]> wrote:

> I'm attempting to check a table for a string of data, however I keep
> getting this:
>
> 9    if browser.table(:id, "dataTableBody").include?("146173")
> 10      puts "Data Verify passed"
> 11    else
> 12      puts "Data Verify FAILED. Ouch."
> 13    end
>
>
>
> _____________________________________________
> NoMethodError: undefined method `include?' for
> #<Watir::Container::Table:0x1010e1710>
>
> at top level    in Test for Cell Data.rb at line 9
>
> Program exited with code #1 after 5.25 seconds.
> ____________________________________________
>
> Is there something wrong with my .include? or am I just generally
> messing it up somehow? can this even work??lol
>
> Thank you in advance ANYONE that can help me out here. :)
>
>
>
>
> Sean
>
> --
> 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: [email protected]
> To unsubscribe: 
> [email protected]<watir-general%[email protected]>
>

-- 
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: [email protected]
To unsubscribe: [email protected]

Reply via email to