Class: SupportingFilesPortfolio

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/portfolio_templates.rb

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Instance Method Details

#finishObject

Clicks the Finish button and instantiates the PortfolioTemplates Class.



145
146
147
148
# File 'lib/sambal-cle/page_objects/portfolio_templates.rb', line 145

def finish
  frm.button(:value=>"Finish").click
  PortfolioTemplates.new(@browser)
end

#select_fileObject

Clicks the Select File link and instantiates the PortfolioAttachFiles Class.



152
153
154
155
# File 'lib/sambal-cle/page_objects/portfolio_templates.rb', line 152

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