vendor/gems/gems/firewatir-1.2.1/firewatir.rb
#
# Description:
#   Show all the forms available on the page.
#
# Output:
#   Name, id, method and action of all the forms available on the page.
#

Show all the forms available on the page.

Name, id, method and action of all the forms available on the page.
Show all the forms available on the page . Name id method and action of all the forms available on the page .
def show_forms
            forms = Document.new(self).get_forms()
            count = forms.length
            puts "There are #{count} forms"
            for i in 0..count - 1 do
                puts "Form name: " + forms[i].name
                puts "       id: " + forms[i].id
                puts "   method: " + forms[i].attribute_value("method")
                puts "   action: " + forms[i].action
            end
        end
def show_forms forms = Document . new ( self ) . get_forms ( ) count = forms . length puts "There are #{count} forms" for i in 0 .. count - 1 do puts "Form name: " + forms [ i ] . name puts "       id: " + forms [ i ] . id puts "   method: " + forms [ i ] . attribute_value ( "method" ) puts "   action: " + forms [ i ] . action end end
Description:
Show all the forms available on the page.
Description : Show all the forms available on the page .