Interface IQtafTestingContext
- All Known Implementing Classes:
QtafTestContextPayload,TestNGTestContextPayload
public interface IQtafTestingContext
Interface that all test context classes have to implement.
-
Method Summary
Modifier and TypeMethodDescriptionGet end date of the test suite.Get the original event fired by the test framework (TestNG, Cucumber, ...).Get the directory where log files are stored in.Get start date of the test suite.Get name of the test suite.
-
Method Details
-
getSuiteName
String getSuiteName()Get name of the test suite.- Returns:
- test suite name
-
getStartDate
Date getStartDate()Get start date of the test suite.- Returns:
- start date of test suite
-
getEndDate
Date getEndDate()Get end date of the test suite.- Returns:
- end date of test suite
-
getLogDirectory
String getLogDirectory()Get the directory where log files are stored in.- Returns:
- log directory
-
getiTestContext
Object getiTestContext()Get the original event fired by the test framework (TestNG, Cucumber, ...).- Returns:
- original event
-