Class: OLE_QA::Framework::OLEFS::Payment_Request

Inherits:
PURAP_Document show all
Defined in:
lib/olefs/pages/payment_request.rb

Overview

An OLE Financial System Payment Request Document.

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 E_Doc

#get_error_array, #wait_for_elements

Methods inherited from Page

#lookup, #lookup_url, #open, #set_functions, #set_line, #wait_for_element, #wait_for_elements, #wait_for_page_to_load

Methods inherited from Common_Object

#set_functions

Methods included from Helpers

#browser, #load_yml, #set_element, #set_function

Constructor Details

#initialize(ole_session) ⇒ Payment_Request

Returns a new instance of Payment_Request.



18
19
20
21
# File 'lib/olefs/pages/payment_request.rb', line 18

def initialize(ole_session)
  new_preq_url = ole_session.url + 'portal.do?channelTitle=Payment Request&channelUrl=selectOlePaymentRequest.do?methodToCall=docHandler&command=initiate&docTypeName=OLE_PREQ'
  super(ole_session, new_preq_url)
end

Instance Method Details

#set_elementsObject

Set Payment Request document screen elements.



24
25
26
# File 'lib/olefs/pages/payment_request.rb', line 24

def set_elements
  super
end