Class: ActivityOfferingCluster
- Inherits:
-
Object
- Object
- ActivityOfferingCluster
- Includes:
- DataFactory, DateFactory, Foundry, StringFactory, Workflows
- Defined in:
- lib/sambal-kuali/data_objects/activity_offering_cluster.rb
Instance Attribute Summary collapse
-
#assigned_ao_list ⇒ Object
Returns the value of attribute assigned_ao_list.
-
#expected_msg ⇒ Object
Returns the value of attribute expected_msg.
-
#is_default ⇒ Object
(also: #default?)
Returns the value of attribute is_default.
-
#is_valid ⇒ Object
(also: #valid?)
Returns the value of attribute is_valid.
-
#private_name ⇒ Object
Returns the value of attribute private_name.
-
#published_name ⇒ Object
Returns the value of attribute published_name.
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(browser, opts = {}) ⇒ ActivityOfferingCluster
constructor
A new instance of ActivityOfferingCluster.
Methods included from Workflows
#go_to_academic_calendar, #go_to_calendar_search, #go_to_create_course_offerings, #go_to_create_population, #go_to_display_schedule_of_classes, #go_to_holiday_calendar, #go_to_manage_course_offerings, #go_to_manage_population, #go_to_perform_rollover, #go_to_rollover_details, #log_in, #logged_in_user
Constructor Details
#initialize(browser, opts = {}) ⇒ ActivityOfferingCluster
Returns a new instance of ActivityOfferingCluster.
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 19 def initialize(browser, opts={}) @browser = browser defaults = { :is_default=>false, :private_name=>"test1_pri", :published_name=>"test1_pub", :is_valid=>true, :expected_msg=>"", :assigned_ao_list=>["A","AA","AB"] } = defaults.merge(opts) () end |
Instance Attribute Details
#assigned_ao_list ⇒ Object
Returns the value of attribute assigned_ao_list.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 9 def assigned_ao_list @assigned_ao_list end |
#expected_msg ⇒ Object
Returns the value of attribute expected_msg.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 9 def expected_msg @expected_msg end |
#is_default ⇒ Object Also known as: default?
Returns the value of attribute is_default.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 9 def is_default @is_default end |
#is_valid ⇒ Object Also known as: valid?
Returns the value of attribute is_valid.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 9 def is_valid @is_valid end |
#private_name ⇒ Object
Returns the value of attribute private_name.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 9 def private_name @private_name end |
#published_name ⇒ Object
Returns the value of attribute published_name.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 9 def published_name @published_name end |
Instance Method Details
#create ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/sambal-kuali/data_objects/activity_offering_cluster.rb', line 34 def create on ManageRegistrationGroups do |page| page.private_name.set @private_name page.published_name.set @published_name page. puts page.ao_table.rows.count puts page.cluster_list_row_name_text("test1pri") page.ao_cluster_select.select("test1") page.cluster_list_row_generate_reg_groups("test1") puts page.target_ao_row("A").cells[1].text puts page.target_ao_row("A").cells[2].text page.select_ao_row("A") page.ao_cluster_select.select("test1pub") page. end end |