class ReportsAccessorImpl extends java.lang.Object
| Type | Name and description |
|---|---|
static org.slf4j.Logger |
logger_ |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ExecutionPropertiesWrapper |
getExecutionPropertiesWrapper(TSuiteResultId tSuiteResultId) |
|
java.lang.String |
getHrefToReport(Material material)Provided that a Material exists of the following attributes: - TSuiteName: 'Test Suites/main/TS1' - TSuiteTimestamp: '20180805_081908' - TCaseName: 'Test Cases/main/TC1' - Material's relative path to the TCaseResult dir: 'screenshot.png' then hrefToReport() look up a HTML report file which is relevant to the Material. |
|
JUnitReportWrapper |
getJUnitReportWrapper(TSuiteResultId tSuiteResultId) |
|
java.nio.file.Path |
getReportsDir() |
|
static ReportsAccessor |
newInstance(java.nio.file.Path reportsDir) |
|
void |
setVisualTestingLogger(VisualTestingLogger vtLogger) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Provided that a Material exists of the following attributes: - TSuiteName: 'Test Suites/main/TS1' - TSuiteTimestamp: '20180805_081908' - TCaseName: 'Test Cases/main/TC1' - Material's relative path to the TCaseResult dir: 'screenshot.png' then hrefToReport() look up a HTML report file which is relevant to the Material. The path of the HTML report is formated as a relative path to the Materials directory. - '../Reports/main/TS1/20180805_081908/20180805_081908.html' when Katalon Stduio version 6.2.2 and prior or - '../Reports/20190821_143318/CURA/twins_examp/20190821_143321/20190821_143321.html' Here we assume that the Materials directory and the Reports directory is located under a single parent directory. As of Katalon Studio v6.1.5, the path of HTML report is in the format of Reports/CURA/twins_exam/20190528_111335/20190528_111335.html As of Katalon Studio v6.3.0, the path of HTML report is in the format of Reports/20190821_143318/CURA/twins_exam/20190821_143321/20190821_143321.html If you locate the Materials directory on a network drive (or on a Newowrk File System) and you use the GUI mode of Katalon Studio, there is a case where the Materials directory and the Reports directory are isolated. In that case this getHrefToReport() returns null. If you run Katalon Studio in Console Mode specifying -reportDir option, you can move the Reports directory to the sibling of the Materials directory. In this case this getHrefToReport() should return a valid path string.