Class: PublishAssessment

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

Overview

The review page once you’ve selected to Save and Publish the assessment

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

#publishObject

Clicks the Publish button, then instantiates the AssessmentsList page class.



438
439
440
441
# File 'lib/sakai-cle-test-api/page_objects/assessments.rb', line 438

def publish
  frm.button(:value=>"Publish").click
  AssessmentsList.new(@browser)
end