rad  5.1.0
Public Member Functions | Public Attributes | List of all members
rad.itest.oldb.Oldb Class Reference

This class implements RobotFramework keywords to read, write, and verify the content of OLDB attributes. More...

Public Member Functions

def __init__ (self)
 Constructor initializing the OLDB keyword library. More...
 
def acquire_oldb (self)
 Method implementing a RobotFramework keyword to get an instance of the OLDB which is used to read/write OLDB attributes. More...
 
def get_data_point (self, addr)
 Method to get a OLDB Data Point associated to the given address. More...
 
def read_from_oldb (self, key)
 Method implementing a RobotFramework keyword that return the value of an OLDB attribute identified by the given key. More...
 
def should_match_oldb (self, key, expected_value)
 Method implementing a RobotFramework keyword that fails when the given expected value does not match the value of the OLDB attribute identified by the given key. More...
 
def should_not_match_oldb (self, key, expected_value)
 Method implementing a RobotFramework keyword that fails when the given expected value matches the value of the OLDB attribute identified by the given key. More...
 
def should_match_bool_oldb (self, key, expected_value)
 Method implementing a RobotFramework keyword that fails when the given expected boolean value does not match the boolean value of the OLDB attribute identified by the given key. More...
 
def write_to_oldb (self, key, value)
 Method implementing a RobotFramework keyword that writes the given value into an OLDB attribute identified by the given key. More...
 

Public Attributes

 oldb
 
 data_points
 

Detailed Description

This class implements RobotFramework keywords to read, write, and verify the content of OLDB attributes.

Constructor & Destructor Documentation

◆ __init__()

def rad.itest.oldb.Oldb.__init__ (   self)

Constructor initializing the OLDB keyword library.

Member Function Documentation

◆ acquire_oldb()

def rad.itest.oldb.Oldb.acquire_oldb (   self)

Method implementing a RobotFramework keyword to get an instance of the OLDB which is used to read/write OLDB attributes.

◆ get_data_point()

def rad.itest.oldb.Oldb.get_data_point (   self,
  addr 
)

Method to get a OLDB Data Point associated to the given address.

The "cii.oldb:" prefix may be omitted from the address. DP objects are cached on first retrieval.

DP <CiiOldbPyB.CiiOldbDataPointSTRING object> _ DP Value: <CiiOldbPyB.CiiOldbDpValueSTRING object> _ value: 'text' |_ type: <CiiBasicDataType.STRING: 11> |_ timestamp: 1634912939946250376

◆ read_from_oldb()

def rad.itest.oldb.Oldb.read_from_oldb (   self,
  key 
)

Method implementing a RobotFramework keyword that return the value of an OLDB attribute identified by the given key.

◆ should_match_bool_oldb()

def rad.itest.oldb.Oldb.should_match_bool_oldb (   self,
  key,
  expected_value 
)

Method implementing a RobotFramework keyword that fails when the given expected boolean value does not match the boolean value of the OLDB attribute identified by the given key.

◆ should_match_oldb()

def rad.itest.oldb.Oldb.should_match_oldb (   self,
  key,
  expected_value 
)

Method implementing a RobotFramework keyword that fails when the given expected value does not match the value of the OLDB attribute identified by the given key.

◆ should_not_match_oldb()

def rad.itest.oldb.Oldb.should_not_match_oldb (   self,
  key,
  expected_value 
)

Method implementing a RobotFramework keyword that fails when the given expected value matches the value of the OLDB attribute identified by the given key.

◆ write_to_oldb()

def rad.itest.oldb.Oldb.write_to_oldb (   self,
  key,
  value 
)

Method implementing a RobotFramework keyword that writes the given value into an OLDB attribute identified by the given key.

Member Data Documentation

◆ data_points

rad.itest.oldb.Oldb.data_points

◆ oldb

rad.itest.oldb.Oldb.oldb

The documentation for this class was generated from the following file: