Class: OLE_QA::Framework::OLEFS::Invoice_Notes_Line

Inherits:
Subline_Object show all
Defined in:
lib/olefs/subobjects/invoice_notes_line.rb

Overview

An Invoice Notes Line on an OLE Financial System Payment Request.

Instance Attribute Summary

Attributes inherited from Subline_Object

#line_id, #line_number, #subline_id, #subline_number

Attributes inherited from Common_Object

#elements, #functions, #ole

Instance Method Summary collapse

Methods inherited from Subline_Object

#initialize

Methods inherited from Common_Object

#initialize, #set_functions

Methods included from Helpers

#browser, #load_yml, #set_element, #set_function

Constructor Details

This class inherits a constructor from OLE_QA::Framework::Subline_Object

Instance Method Details

#set_elementsObject

Set invoice notes line elements.



19
20
21
22
23
# File 'lib/olefs/subobjects/invoice_notes_line.rb', line 19

def set_elements
  super
  element(:note_field)                {b.text_area(:id => "document.item[#{@line_id}].notes[#{@subline_id}].note")}
  element(:delete_button)             {b.input(:xpath => "//input[@name='methodToCall.deleteNote.line#{@line_id}:#{@subline_id}']")}
end