Class: PHS398TrainingBudgetQuestionnaire

Inherits:
ProposalDevelopmentDocument show all
Defined in:
lib/kuality-coeus/page_objects/proposal_development/phs_training_budget_questionnaire.rb

Class Method Summary collapse

Methods inherited from ProposalDevelopmentDocument

proposal_header_elements

Methods inherited from BasePage

budget_header_elements, budget_versions_elements, buttons, custom_data, description_field, document_header_elements, error_messages, glbl, global_buttons, links, route_log, search_results_table, special_review, tab_buttons, tiny_buttons, validation_elements

Class Method Details

.phs_398_radio_namesObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/kuality-coeus/page_objects/proposal_development/phs_training_budget_questionnaire.rb', line 5

def self.phs_398_radio_names
  array = []
  1.upto(5) do |x|
    %w{funds
      undergrad_trainees
      predoc_trainees
      postdoc_trainees
      nondegree_postdocs
      short_nondegree_postdocs
      full_degree_postdocs
      short_degree_postdocs
      other_trainees}.each do |name|
      array << "bp#{x}_#{name}".to_sym
    end
  end
  array
end