Class: ImportStepTwo

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

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

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

Enters the specified filename in the file field.

Note that the file path is an optional second parameter, if you do not want to include the full path in the filename.



269
270
271
# File 'lib/sambal-cle/page_objects/calendar.rb', line 269

def import_file(filename, filepath="")
  frm.file_field(:name=>"importFile").set(filepath + filename)
end