vendor/gems/gems/firewatir-1.2.1/firewatir.rb
#
# Description:
#   Show all the tables available on the page.
#
# Output:
#   Id, row count, column count (only first row) and index of all the tables available on the page.
#

Show all the tables available on the page.

Id, row count, column count (only first row) and index of all the tables available on the page.
Show all the tables available on the page . Id row count column count ( only first row ) and index of all the tables available on the page .
def show_tables
            tables = Document.new(self).get_tables
            puts "There are #{tables.length} tables"
            index = 1
            tables.each do |l|
                puts "table:   id: #{l.id}"
                puts "       rows: #{l.row_count}"
                puts "    columns: #{l.column_count}"
                puts "      index: #{index}"
                index += 1
            end
        end
def show_tables tables = Document . new ( self ) . get_tables puts "There are #{tables.length} tables" index = 1 tables . each do | l | puts "table:   id: #{l.id}" puts "       rows: #{l.row_count}" puts "    columns: #{l.column_count}" puts "      index: #{index}" index += 1 end end
Description:
Show all the tables available on the page.
Description : Show all the tables available on the page .