robot.running.testlibraries
¶
TestLibrary
¶
|
Represents imported test library.
Source code in src/robot/running/testlibraries.py
instance
property
writable
¶
Current library instance.
With module based libraries this is the module itself.
With class based libraries this is an instance of the class. Instances are cleared automatically during execution based on their scope. Accessing this property creates a new instance if needed.
:attr:code´ contains the original library code. With module based libraries
it is the same as :attr:
instance`. With class based libraries it is
the library class.