Class: GlossaryImport

Inherits:
BasePage show all
Defined in:
lib/sakai-cle-test-api/page_objects/glossary.rb

Overview

Page for importing Glossary files into a Glossary

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Methods inherited from PageMaker

element, expected_element, expected_title, #initialize, #method_missing, page_url

Constructor Details

This class inherits a constructor from PageMaker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageMaker

Instance Method Details

#importObject



83
84
85
86
# File 'lib/sakai-cle-test-api/page_objects/glossary.rb', line 83

def import
  frm.button(:value=>"Import").click
  Glossary.new(@browser)
end

#select_fileObject



78
79
80
81
# File 'lib/sakai-cle-test-api/page_objects/glossary.rb', line 78

def select_file
  frm.link(:text=>"Select file...").click
  GlossaryAttach.new(@browser)
end