public class ExtentXReporter extends AbstractReporter
categoryContext, configContext, configMap, endTime, exceptionContext, filePath, levels, sc, startTime, systemAttributeContext, templateMap, testList, testRunnerLogs| Constructor and Description |
|---|
ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds) |
ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds,
java.util.List<com.mongodb.MongoCredential> credentialsList) |
ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds,
java.util.List<com.mongodb.MongoCredential> credentialsList,
com.mongodb.MongoClientOptions options) |
ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds,
com.mongodb.MongoClientOptions options) |
ExtentXReporter(com.mongodb.MongoClientURI uri) |
ExtentXReporter(com.mongodb.ServerAddress addr) |
ExtentXReporter(com.mongodb.ServerAddress addr,
java.util.List<com.mongodb.MongoCredential> credentialsList) |
ExtentXReporter(com.mongodb.ServerAddress addr,
java.util.List<com.mongodb.MongoCredential> credentialsList,
com.mongodb.MongoClientOptions options) |
ExtentXReporter(com.mongodb.ServerAddress addr,
com.mongodb.MongoClientOptions options) |
ExtentXReporter(java.lang.String host) |
ExtentXReporter(java.lang.String host,
int port) |
ExtentXReporter(java.lang.String host,
com.mongodb.MongoClientOptions options) |
| Modifier and Type | Method and Description |
|---|---|
ExtentXReporterConfiguration |
config() |
void |
flush() |
java.util.List<Test> |
getTestList() |
void |
onAuthorAssigned(Test test,
Author author)
Invoked each time an author is assigned to any test/node
|
void |
onCategoryAssigned(Test test,
Category category)
Invoked each time a category is assigned to any test/node
|
void |
onLogAdded(Test test,
Log log)
Invoked each time a log is added to any test/node
|
void |
onNodeStarted(Test node)
Invoked when a node is started using
createNode(args) |
void |
onScreenCaptureAdded(Test test,
ScreenCapture screenCapture)
Invoked each time a screencapture is added
|
void |
onTestStarted(Test test)
Invoked when a test is started using
createTest(args) |
void |
setTestList(java.util.List<Test> reportTestList)
Allows sharing the complete list of tests with the reporter
|
void |
start()
Starts passing run information to the reporter
|
void |
stop()
Stops the reporter.
|
getCategoryContextInfo, getEndTime, getExceptionContextInfo, getRunDuration, getStartTime, getStatusCount, getSystemAttributeContext, getTestRunnerLogs, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, setCategoryContextInfo, setEndTime, setExceptionContextInfo, setStartTime, setStatusCount, setSystemAttributeContext, setTestRunnerLogspublic ExtentXReporter(java.lang.String host)
public ExtentXReporter(java.lang.String host,
com.mongodb.MongoClientOptions options)
public ExtentXReporter(java.lang.String host,
int port)
public ExtentXReporter(com.mongodb.MongoClientURI uri)
public ExtentXReporter(com.mongodb.ServerAddress addr)
public ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds)
public ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds,
java.util.List<com.mongodb.MongoCredential> credentialsList)
public ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds,
java.util.List<com.mongodb.MongoCredential> credentialsList,
com.mongodb.MongoClientOptions options)
public ExtentXReporter(java.util.List<com.mongodb.ServerAddress> seeds,
com.mongodb.MongoClientOptions options)
public ExtentXReporter(com.mongodb.ServerAddress addr,
java.util.List<com.mongodb.MongoCredential> credentialsList)
public ExtentXReporter(com.mongodb.ServerAddress addr,
java.util.List<com.mongodb.MongoCredential> credentialsList,
com.mongodb.MongoClientOptions options)
public ExtentXReporter(com.mongodb.ServerAddress addr,
com.mongodb.MongoClientOptions options)
public ExtentXReporterConfiguration config()
public void start()
ExtentReporterpublic void stop()
ExtentReporterpublic void flush()
public void onTestStarted(Test test)
TestListenercreateTest(args)test - Test objectpublic void onNodeStarted(Test node)
TestListenercreateNode(args)node - Test objectpublic void onLogAdded(Test test, Log log)
TestListenerpublic void onCategoryAssigned(Test test, Category category)
TestListenerpublic void onAuthorAssigned(Test test, Author author)
TestListenerpublic void onScreenCaptureAdded(Test test, ScreenCapture screenCapture) throws java.io.IOException
TestListenertest - Test objectscreenCapture - ScreenCapture objectjava.io.IOException - Exception thrown if the media object is not foundpublic void setTestList(java.util.List<Test> reportTestList)
ReportAggregatesListenerreportTestList - list of all tests created by ExtentReportspublic java.util.List<Test> getTestList()
Copyright © 2016. All Rights Reserved.