Module: ImportStepTwoMethods

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

Instance Method Summary collapse

Instance Method Details

#continueObject



406
407
408
409
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 406

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.



415
416
417
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 415

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