Module: OLE_QA::Framework

Defined in:
lib/common/data_object.rb,
lib/ole-qa-framework.rb,
lib/common/line_object.rb,
lib/common/common_object.rb,
lib/common/subline_object.rb,
lib/module/factory_helpers.rb,
lib/data_factory/bib_factory.rb,
lib/ole_qa_framework/VERSION.rb,
lib/ole_qa_framework/session.rb,
lib/data_factory/patron_factory.rb,
lib/data_factory/string_factory.rb,
lib/data_factory/account_factory.rb,
lib/data_factory/metadata_factory.rb,
lib/ole_qa_framework/COMPATIBILITY.rb,
lib/common/page.rb

Overview

Copyright 2005-2014 The Kuali Foundation

Licensed under the Educational Community License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:

  http://www.opensource.org/licenses/ecl2.php

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Defined Under Namespace

Modules: Account_Factory, Bib_Factory, DocStore, Factory_Helpers, Helpers, Metadata_Factory, OLEFS, OLELS, Patron_Factory, String_Factory Classes: Common_Object, Data_Object, Error, Line_Object, Page, Session, Subline_Object

Constant Summary collapse

VERSION =

The version number for this project.

'3.17.1'
OLE_VERSION =

The most recent version of OLE with which this framework was tested for compatibility.

'1.5.2 - M2 - r19974 - 2014/08/01'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.doc_waitObject (readonly)

Returns the value of attribute doc_wait.



86
87
88
# File 'lib/ole-qa-framework.rb', line 86

def doc_wait
  @doc_wait
end

.explicit_waitObject (readonly)

Returns the value of attribute explicit_wait.



86
87
88
# File 'lib/ole-qa-framework.rb', line 86

def explicit_wait
  @explicit_wait
end

Class Method Details

.data_dirObject

Return absolute path for data directory



41
42
43
# File 'lib/ole-qa-framework.rb', line 41

def data_dir
  @datadir
end

.load_dirObject

Return absolute path from which the file was run



36
37
38
# File 'lib/ole-qa-framework.rb', line 36

def load_dir
  @libdir
end

.load_libs(filedir, filename = "*.rb") ⇒ Object

Load libraries from absolute path



47
48
49
50
51
# File 'lib/ole-qa-framework.rb', line 47

def self.load_libs(filedir, filename = "*.rb")
  Dir[@libdir + filedir + filename].sort.each do |file|
    require file
  end
end