rad  5.1.0
Public Member Functions | List of all members
rad.itest.services.Endpoints Class Reference

This class is an example of how to implement RobotFramework keywords. More...

Public Member Functions

def __init__ (self)
 
def add_endpoint (self, name, endpoint)
 Method implementing a RobotFramework keyword to add an endpoint with given name to the hash map. More...
 
def clear_endpoints (self)
 Method implementing a RobotFramework keyword to remove all the entries from the hash map. More...
 
def get_endpoint (self, name)
 Method implementing a RobotFramework keyword to obtain an end-point associated to the given name. More...
 

Detailed Description

This class is an example of how to implement RobotFramework keywords.

It provides a hash map that can be used to store end-points URI. Since the library has scope GLOBAL, the content of the hash map is preserved for all test cases and test suites.

Constructor & Destructor Documentation

◆ __init__()

def rad.itest.services.Endpoints.__init__ (   self)

Member Function Documentation

◆ add_endpoint()

def rad.itest.services.Endpoints.add_endpoint (   self,
  name,
  endpoint 
)

Method implementing a RobotFramework keyword to add an endpoint with given name to the hash map.

◆ clear_endpoints()

def rad.itest.services.Endpoints.clear_endpoints (   self)

Method implementing a RobotFramework keyword to remove all the entries from the hash map.

◆ get_endpoint()

def rad.itest.services.Endpoints.get_endpoint (   self,
  name 
)

Method implementing a RobotFramework keyword to obtain an end-point associated to the given name.

If the name is not found, the keyword fails with a FatalError that stops the execution of the test.


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