Class: ManagePortfolioLayouts

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/portfolios.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

#go_backObject



130
131
132
133
# File 'lib/sakai-cle-test-api/page_objects/portfolios.rb', line 130

def go_back
  frm.button(:value=>"Go Back").click
  AddEditPortfolioPage.new @browser
end

#select(layout_name) ⇒ Object



125
126
127
128
# File 'lib/sakai-cle-test-api/page_objects/portfolios.rb', line 125

def select(layout_name)
  frm.table(:class=>"listHier lines nolines").row(:text=>/#{Regexp.escape(layout_name)}/).link(:text=>"Select").click
  AddEditPortfolioPage.new @browser
end