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
406 407 408 409 |
# File 'lib/kuali-sakai-common-lib/calendar.rb', line 406 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.
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 |