Class: OLE_QA::Framework::OLELS::Batch_Order_Profile

Inherits:
Batch_Profile show all
Defined in:
lib/olels/pages/batch_order_profile.rb

Instance Attribute Summary

Attributes inherited from Page

#lines, #url, #wait_on

Attributes inherited from Common_Object

#elements, #functions, #ole

Instance Method Summary collapse

Methods inherited from Batch_Profile

#initialize

Methods inherited from Page

#initialize, #lookup, #lookup_url, #open, #set_line, #wait_for_element, #wait_for_page_to_load

Methods inherited from Common_Object

#initialize

Methods included from Helpers

#browser, #load_yml, #set_element, #set_function

Constructor Details

This class inherits a constructor from OLE_QA::Framework::OLELS::Batch_Profile

Instance Method Details

#set_elementsObject



17
18
19
20
21
22
23
24
# File 'lib/olels/pages/batch_order_profile.rb', line 17

def set_elements
  super
  element(:marc_only)                               {b.checkbox(:id => 'mainSection-MaintenanceView-marcOnly_control')}
  element(:marc_only?)                              {marc_only.when_present.checked?}
  element(:bib_profile_search)                      {b.fieldset(:id => 'mainSection-MaintenanceView-bibImportProfileForOrderRecord_fieldset').input(:class => 'uif-actionImage')}
  element(:bib_profile_field)                       {b.text_field(:id => 'mainSection-MaintenanceView-bibImportProfileForOrderRecord_control')}
  element(:bib_profile)                             {bib_profile_field.when_present.value.strip}
end

#set_functionsObject



26
27
28
# File 'lib/olels/pages/batch_order_profile.rb', line 26

def set_functions
  super
end

#wait_for_elementsObject



30
31
32
# File 'lib/olels/pages/batch_order_profile.rb', line 30

def wait_for_elements
  super
end