Class: ImportForms
- Defined in:
- lib/sakai-cle-test-api/page_objects/forms.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
#import ⇒ Object
37 38 39 40 |
# File 'lib/sakai-cle-test-api/page_objects/forms.rb', line 37 def import frm.(:value=>"Import").click Forms.new(@browser) end |
#select_file ⇒ Object
42 43 44 45 |
# File 'lib/sakai-cle-test-api/page_objects/forms.rb', line 42 def select_file frm.link(:text=>"Select File...").click AttachFileFormImport.new(@browser) end |