table()[][].text.to_i works for me... Jared
Amita Shetty wrote:
Hi, I have to add up the contents(numbers) of a column and test if the sum equates to a value in another cell. Using to_i, to explicitly convert the contents of a cell to an integer gives the following error: undefined method `to_i' for #<Watir::TableCell:0x2d9e548> (NoMethodError) How else can I do this???? Thanks, Amitha _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
