Class: ImportStepTwo
- Defined in:
- lib/sambal-cle/page_objects/calendar.rb
Instance Method Summary collapse
-
#import_file(filename, filepath = "") ⇒ Object
Enters the specified filename in the file field.
Methods inherited from BasePage
basic_page_elements, frame_element
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.
283 284 285 |
# File 'lib/sambal-cle/page_objects/calendar.rb', line 283 def import_file(filename, filepath="") frm.file_field(:name=>"importFile").set(filepath + filename) end |