ControlUnits¶
- class ControlUnits¶
- Add(controlUnitKey)¶
Adds a control unit.
- Parameters:
- controlUnitKey : str¶
Name of the control unit
- Returns:
The control unit which was added
- Return type:
- Clone()¶
Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.
- Returns:
A copy of this object
- Return type:
- Delete(controlUnitKey)¶
Deletes a control unit.
- Parameters:
- controlUnitKey : str¶
Name of control unit to delete
- Get(controlUnitKey)¶
Returns a control unit object.
- Parameters:
- controlUnitKey : str¶
Name of the control unit
- Returns:
The control unit object
- Return type:
- GetAll()¶
Returns a list of the names of all the accessed control units.
- Returns:
List of names of all accessed control units
- Return type:
list[str]