Class: ViewPopulation

Inherits:
PopulationsBase show all
Defined in:
lib/sambal-kuali/pages/view_population.rb

Instance Method Summary collapse

Methods inherited from PopulationsBase

population_attribute_elements, population_lookup_elements, population_view_elements

Methods inherited from BasePage

frame_element, green_search_buttons, validation_elements, wrapper_elements

Instance Method Details

#child_populationsObject



8
9
10
11
12
13
14
15
16
# File 'lib/sambal-kuali/pages/view_population.rb', line 8

def child_populations
  pops = []
  child_populations_table.rows.each do |row|
    pops << row.text
  end
  pops.delete_if { |item| item == "Name" }
  pops.delete_if { |item| item == "" }
  pops
end