Class: Actions

Inherits:
Object
  • Object
show all
Defined in:
lib/ui/actions/Action.rb

Overview

Author:

  • Patrique Legault

Instance Method Summary collapse

Instance Method Details

#test(driver, action) ⇒ Object

A function that performs the given action against the webpage given the driver and the action

Parameters:

  • driver (Driver)

    The driver object that represents the instance that is connected to the browser

  • action (Hash)

    A ruby object that has the following layout

    :field => Fields::...
    :identifier => Identifier::...
    :value => String
    

Returns:

  • void

Raises:

  • Selenium Exceptions



15
16
17
# File 'lib/ui/actions/Action.rb', line 15

def test(driver, action)
  raise "Test function in the Actions.rb file has not been overriden"
end