Class: ActivityOfferingMaintenanceBase

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-kuali/base_page_classes.rb

Constant Summary collapse

TBA_COLUMN =
0
DAYS_COLUMN =
1
ST_TIME_COLUMN =
2
END_TIME_COLUMN =
3
FACILITY_COLUMN =
4
ROOM_COLUMN =
5
FEATURES_COLUMN =
6
ID_COLUMN =
0
PERS_NAME_COLUMN =
1
AFFILIATION_COLUMN =
2
INST_EFFORT_COLUMN =
3
PRIORITY_COLUMN =
0
SEATS_COLUMN =
1
PERCENT_COLUMN =
2
POP_NAME_COLUMN =
3
EXP_MILESTONE_COLUMN =
4

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BasePage

frame_element, green_search_buttons, validation_elements, wrapper_elements

Class Method Details

.adl_table_accessor_maker(method_name, column) ⇒ Object



349
350
351
352
353
# File 'lib/sambal-kuali/base_page_classes.rb', line 349

def self.adl_table_accessor_maker(method_name, column)
  define_method method_name.to_s do |row|
    row.cells[column].text()
  end
end

.rdl_table_accessor_maker(method_name, column) ⇒ Object



365
366
367
368
369
# File 'lib/sambal-kuali/base_page_classes.rb', line 365

def self.rdl_table_accessor_maker(method_name, column)
  define_method method_name.to_s do |row|
    requested_logistics_table.rows[row].cells[column].text()
  end
end

Instance Method Details

#get_affiliation(id) ⇒ Object



385
386
387
# File 'lib/sambal-kuali/base_page_classes.rb', line 385

def get_affiliation(id)
  target_person_row(id).cells[AFFILIATION_COLUMN].text
end

#pool_percentage(pop_name) ⇒ Object



398
399
400
# File 'lib/sambal-kuali/base_page_classes.rb', line 398

def pool_percentage(pop_name)
  target_pool_row(pop_name).div(id: /seatLimitPercent_line/).text
end