Class: LessonAddAttachment

Inherits:
LessonsBase show all
Defined in:
lib/sakai-cle-test-api/page_objects/lessons.rb

Overview

TODO: DRY up this class

Instance Method Summary collapse

Methods inherited from LessonsBase

menu_elements

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

#upload_local_file(filename, filepath = "") ⇒ Object



356
357
358
# File 'lib/sakai-cle-test-api/page_objects/lessons.rb', line 356

def upload_local_file(filename, filepath="")
  frm.file_field(:id=>"file1").set(filepath + filename)
end