Class: OLE_QA::Framework::OLELS::E_Doc
- Inherits:
-
Page
- Object
- Common_Object
- Page
- OLE_QA::Framework::OLELS::E_Doc
- Defined in:
- lib/olels/common/e_doc.rb
Overview
An OLE Libary System E-Document page.
Instance Attribute Summary
Attributes inherited from Page
Attributes inherited from Common_Object
Instance Method Summary collapse
-
#set_elements ⇒ Object
Set elements common to all OLELS E-Document pages.
Methods inherited from Page
#initialize, #open, #wait_for_element, #wait_for_elements, #wait_for_page_to_load
Methods included from Page_Helpers
Methods inherited from Common_Object
Methods included from Helpers
#browser, #load_yml, #set_element, #set_function
Constructor Details
This class inherits a constructor from OLE_QA::Framework::Page
Instance Method Details
#set_elements ⇒ Object
Set elements common to all OLELS E-Document pages.
19 20 21 |
# File 'lib/olels/common/e_doc.rb', line 19 def set_elements element(:description_field) {b.text_field(:xpath => "//tr/th[descendant::label[contains(text(),'Description:')]]/following-sibling::td[1]/descendant::input[1]")} end |