Sha256: 1d4acdaa5812a07ae2a17b2ca07c9d5424948b7dd8b3fb3345190a29981fd427

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

Dir.glob(File.join(File.dirname(__FILE__), '/../*.rb')).each {|f| require f }

class Google_Search_Screen
    
  def initialize(selenium)
    @selenium = selenium
  end
  
  def page
    locator = ""
    obj = Page.new(@selenium, locator)
    return obj
  end
  
  def search_textbox
    locator = "name=q"
    obj = Textbox.new(@selenium, locator)
    return obj
  end
  
  def googleSearch_button
    locator = "css=input[value='Google Search']"
    obj = Button.new(@selenium, locator)
    return obj
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
selenium-rspec-dsl-1.0.2 sites/test/googleSearch_screen.rb