class OLE_QA::Framework::OLELS::Instance_Editor
The OLE Library System MARC Instance Record Editor
Screen
Public Instance Methods
set_elements()
click to toggle source
Set OLELS
Instance Editor
page elements.
Calls superclass method
OLE_QA::Framework::OLELS::Editor#set_elements
# File lib/olels/pages/instance_editor.rb, line 19 def set_elements super element(:location_toggle) {b.a(:id => "OleLocationInformationSection_toggle")} element(:location_field) {b.text_field(:id => "OleHoldingLocation_control")} element(:call_number_toggle) {b.a(:id => "OleCallNumberInformation_toggle")} element(:prefix_field) {b.text_field(:id => "OleHoldingCallNumberPrefix_control")} element(:call_number_field) {b.text_field(:id => "OleHoldingCallNumber_control")} element(:shelving_order_field) {b.text_field(:id => "OleHoldingShelvingOrder_control")} element(:call_number_type_selector) {b.select_list(:id => "OleHoldingShelvingScheme_control")} element(:call_number_browse_button) {b.button(:id => "callNumberHoldingsBrowseLink")} element(:ownership_extent_toggle) {b.a(:id => "OleExtentOfOwnershipSection_toggle")} element(:extended_information_toggle) {b.a(:id => "OleExtendedInformationSection_toggle")} element(:receipt_status_selector) {b.select_list(:id => "OleReceiptStatusField_control")} element(:holding_notes_toggle) {b.a(:id => "OleHoldingNotes_toggle")} element(:holdings_notes_toggle) {b.a(:id => "OleHoldingNotes_toggle")} # Read-Only Elements (non-iterative fields not requiring input) element(:readonly_edit_button) {b.button(:text => /Edit/)} element(:readonly_location) {b.span(:id => 'OleHoldingLocation_control')} element(:readonly_prefix) {b.span(:id => 'OleHoldingCallNumberPrefix_control')} element(:readonly_call_number) {b.span(:id => 'OleHoldingCallNumber_control')} element(:readonly_call_number_type) {b.span(:id => 'OleHoldingShelvingScheme_control')} element(:readonly_shelving_order) {b.span(:id => 'OleHoldingShelvingOrder_control')} element(:readonly_created_by) {b.span(:id => 'createdByHolding_control')} element(:readonly_created_date) {b.span(:id => 'createdDateHolding_control')} end
set_lines()
click to toggle source
# File lib/olels/pages/instance_editor.rb, line 50 def set_lines set_line(:ownership_extent_line, OLE_QA::Framework::OLELS::Ownership_Extent_Line) set_line(:access_info_line, OLE_QA::Framework::OLELS::Access_Info_Line) set_line(:holdings_note_line, OLE_QA::Framework::OLELS::Holdings_Note) end
wait_for_elements()
click to toggle source
Wait for location field to appear when opening page.
Calls superclass method
OLE_QA::Framework::Page#wait_for_elements
# File lib/olels/pages/instance_editor.rb, line 46 def wait_for_elements super end