Sha256: 47e4571a44668ae05622400cd6c53178a2e1780b343d4e2aff25805b5959b187

Contents?: true

Size: 656 Bytes

Versions: 11

Compression:

Stored size: 656 Bytes

Contents

require "cello"

module StaticPages
  module Site
    class InputPage < Cello::PageObjects::Page

      element :text_field,  :text_field, :id => 'text1'
      element :text_fieldname,  :text_field, :name => 'text1'
      element :text_fieldxpath,  :text_field, :xpah, '//*[@id="text1"]'
      element :checkbox,  :checkbox, :id => 'check1'
      element :textarea,  :textarea, :id => 'area1'
      element :radios,  :radios, :name => 'items'
      element :select,  :select, :id => 'select1'
      element :link,  :link, :id => 'link1'
      
      def url 
        'file://' + File.dirname(__FILE__) + '/../site/inputs.html'
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cello-0.0.35 features/pages/input_fields.rb
cello-0.0.34 features/pages/input_fields.rb
cello-0.0.33 features/pages/input_fields.rb
cello-0.0.32 features/pages/input_fields.rb
cello-0.0.31 features/pages/input_fields.rb
cello-0.0.30 features/pages/input_fields.rb
cello-0.0.29 features/pages/input_fields.rb
cello-0.0.28 features/pages/input_fields.rb
cello-0.0.27 features/pages/input_fields.rb
cello-0.0.26 features/pages/input_fields.rb
cello-0.0.25 features/pages/input_fields.rb