Module: ImportStepTwoMethods

Defined in:
lib/kuali-sakai-common-lib/calendar.rb

Instance Method Summary collapse

Instance Method Details

#continueObject



410
411
412
413
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 410

def continue
  frm.button(:value=>"Continue").click
  ImportStepThree.new(@browser)
end

#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.



419
420
421
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 419

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