Class: EditCell

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/matrix.rb

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Methods inherited from PageMaker

element, expected_element, expected_title, #initialize, #method_missing, page_url

Constructor Details

This class inherits a constructor from PageMaker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageMaker

Instance Method Details

#save_changesObject

Clicks the Save Changes button and instantiates the EditMatrixCells Class.



188
189
190
191
# File 'lib/sakai-cle-test-api/page_objects/matrix.rb', line 188

def save_changes
  frm.button(:value=>"Save Changes").click
  EditMatrixCells.new(@browser)
end

#select_evaluatorsObject

Clicks the “Select Evaluators” link and instantiates the SelectEvaluators Class.



180
181
182
183
184
# File 'lib/sakai-cle-test-api/page_objects/matrix.rb', line 180

def select_evaluators
  select_evaluators_link.wait_until_present
  select_evaluators_link.click
  SelectEvaluators.new(@browser)
end