Class: OLE_QA::Framework::OLELS::E_Doc

Inherits:
Page show all
Defined in:
lib/olels/common/e_doc.rb

Overview

An OLE Libary System E-Document page.

Instance Attribute Summary

Attributes inherited from Page

#url

Attributes inherited from Common_Object

#elements, #functions, #ole

Instance Method Summary collapse

Methods inherited from Page

#initialize, #open, #wait_for_element, #wait_for_elements, #wait_for_page_to_load

Methods included from Page_Helpers

#login, #logout

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::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