Class: BuildTemplate

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

#continueObject

Clicks the Continue button and instantiates PortfolioContent Class.



75
76
77
78
# File 'lib/sakai-cle-test-api/page_objects/portfolio_templates.rb', line 75

def continue
  frm.button(:value=>"Continue").click
  PortfolioContent.new(@browser)
end

#select_fileObject

Clicks the Select File link and instantiates the PortfolioAttachFiles Class.



68
69
70
71
# File 'lib/sakai-cle-test-api/page_objects/portfolio_templates.rb', line 68

def select_file
  frm.link(:text=>"Select File").click
  PortfolioAttachFiles.new(@browser)
end