ReportImage¶
- class ReportImage¶
- 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:
- GetRelativePath()¶
Returns a relative path, pointing to the image file in the report directory. This path is relative to the *.trf-file. If the image has not been saved relatively to the *.trf-file but is stored within the *.trf-file instead, this method returns an empty string.
- Returns:
a relative path
- Return type:
str
- GetTitle()¶
Returns the title of the image. (typically shown above the image)
- Returns:
the image title
- Return type:
str