|
rad
5.1.0
|
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... | |
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.
| def rad.itest.services.Endpoints.__init__ | ( | self | ) |
| 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.
| def rad.itest.services.Endpoints.clear_endpoints | ( | self | ) |
Method implementing a RobotFramework keyword to remove all the entries from the hash map.
| 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.