Class: OLE_QA::Framework::OLELS::Renewal
- Inherits:
-
Page
- Object
- Common_Object
- Page
- OLE_QA::Framework::OLELS::Renewal
- Defined in:
- lib/olels/pages/renewal.rb
Overview
The renewal popup page on the loan screen in the OLE Library System.
Instance Attribute Summary
Attributes inherited from Page
Attributes inherited from Common_Object
Instance Method Summary collapse
-
#initialize(ole_session) ⇒ Renewal
constructor
A new instance of Renewal.
- #set_elements ⇒ Object
- #set_functions ⇒ Object
Methods inherited from Page
#lookup, #lookup_url, #open, #set_line, #wait_for_element, #wait_for_elements, #wait_for_page_to_load
Methods included from Helpers
#browser, #load_yml, #set_element, #set_function
Constructor Details
#initialize(ole_session) ⇒ Renewal
Returns a new instance of Renewal.
18 19 20 21 22 23 |
# File 'lib/olels/pages/renewal.rb', line 18 def initialize(ole_session) # Initialize to the loan screen URL as this page is not accessed independently. url = ole_session.url + 'portal.do?channelTitle=Loan&channelUrl=' url += ole_session.url + 'ole-kr-krad/loancontroller?viewId=PatronItemView&methodToCall=start' super(ole_session, url) end |
Instance Method Details
#set_elements ⇒ Object
25 26 27 |
# File 'lib/olels/pages/renewal.rb', line 25 def set_elements super end |
#set_functions ⇒ Object
29 30 31 |
# File 'lib/olels/pages/renewal.rb', line 29 def set_functions super end |