Module: ImportStepTwoMethods
- Defined in:
- lib/kuali-sakai-common-lib/calendar.rb
Instance Method Summary collapse
- #continue ⇒ Object
-
#import_file(filename, filepath = "") ⇒ Object
Enters the specified filename in the file field.
Instance Method Details
#continue ⇒ Object
410 411 412 413 |
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 410 def continue frm.(: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 |