Class: SupportingFilesPortfolio
- Defined in:
- lib/sakai-cle-test-api/page_objects/portfolio_templates.rb
Instance Method Summary collapse
-
#finish ⇒ Object
Clicks the Finish button and instantiates the PortfolioTemplates Class.
-
#select_file ⇒ Object
Clicks the Select File link and instantiates the PortfolioAttachFiles Class.
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
#finish ⇒ Object
Clicks the Finish button and instantiates the PortfolioTemplates Class.
145 146 147 148 |
# File 'lib/sakai-cle-test-api/page_objects/portfolio_templates.rb', line 145 def finish frm.(:value=>"Finish").click PortfolioTemplates.new(@browser) end |
#select_file ⇒ Object
Clicks the Select File link and instantiates the PortfolioAttachFiles Class.
152 153 154 155 |
# File 'lib/sakai-cle-test-api/page_objects/portfolio_templates.rb', line 152 def select_file frm.link(:text=>"Select File").click PortfolioAttachFiles.new(@browser) end |