Class: AssignmentsList

Inherits:
AssignmentsBase show all
Defined in:
lib/sambal-cle/page_objects/assignments.rb

Overview

Page that appears when you first click the Assignments link

Instance Method Summary collapse

Methods inherited from AssignmentsBase

listview_elements, menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#assignments_titlesObject Also known as: assignment_titles, assignment_list, assignments_list

Returns an array of the displayed assignment titles. Use for verification of test steps.



181
182
183
184
185
186
187
188
# File 'lib/sambal-cle/page_objects/assignments.rb', line 181

def assignments_titles
  titles = []
  a_table = frm.table(:class=>"listHier lines nolines")
  1.upto(a_table.rows.size-1) do |x|
    titles << a_table[x][1].h4(:index=>0).text
  end
  titles
end