Class: AssignmentsPreview
- Inherits:
-
AssignmentsBase
- Object
- PageFactory
- BasePage
- AssignmentsBase
- AssignmentsPreview
- Defined in:
- lib/sambal-cle/page_objects/assignments.rb
Overview
Page that appears when you click to preview an Assignment as an instructor user. Note that the primary difference between this class and AssignmentsView is that there are instructor-specific buttons and menu options that don’t appear for student users.
Instance Method Summary collapse
-
#summary_info ⇒ Object
returns a hash containing the info in the Summary table.
Methods inherited from AssignmentsBase
listview_elements, menu_elements
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#summary_info ⇒ Object
returns a hash containing the info in the Summary table. Header fields are the keys and their associated tds are the values.
305 306 307 308 309 310 311 312 |
# File 'lib/sambal-cle/page_objects/assignments.rb', line 305 def summary_info hash={} array = frm.table(:class=>"itemSummary").to_a array.each do || hash.store([0], [1]) end hash end |