Class: LessonAddAttachment

Inherits:
LessonsBase show all
Defined in:
lib/sambal-cle/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, button, damballa, frame_element, link

Instance Method Details

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



334
335
336
# File 'lib/sambal-cle/page_objects/lessons.rb', line 334

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