Package de.qytera.qtaf.core.events
Class QtafEvents
java.lang.Object
de.qytera.qtaf.core.events.QtafEvents
This class manages events emitted by the Qtaf framework
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final rx.subjects.BehaviorSubject<AbstractDriver>Subject that emits an event when the driver is initialized.static final rx.subjects.PublishSubject<TestSuiteLogCollection>Subject that emits an event before the logs are persisted to the disk.static final rx.subjects.PublishSubject<StepExecutionInfo>Subject that emits an event before a step method is executed and transfers information about the executed stepstatic final rx.subjects.BehaviorSubject<ConfigMap>Subject that emits an event when the configuration is loadedstatic final rx.subjects.BehaviorSubject<Void>Subject that emits an event when the event listeners are initializedstatic final rx.subjects.PublishSubject<IQtafTestingContext>Subject that emits events when all tests are finished.static final rx.subjects.BehaviorSubject<Void>Subject that emits an event when the framework is initializedstatic final rx.subjects.PublishSubject<String>Subject that emits an event when the logs were persisted successfully to the disk.static final rx.subjects.PublishSubject<File>Subject that emits an event when a screenshot is takenstatic final rx.subjects.PublishSubject<IQtafTestingContext>Subject that emits events when all tests are finished.static final rx.subjects.PublishSubject<StepExecutionInfo>Subject that emits an event when a step method fails and transfers information about the executed stepstatic final rx.subjects.PublishSubject<StepExecutionInfo>Subject that emits an event when a step method is executed successfully and transfers information about the executed stepstatic final rx.subjects.PublishSubject<IQtafTestStepEventPayload>Subject that emits an event when a new LogMessage object is createdstatic final rx.subjects.PublishSubject<IQtafTestEventPayload>Subject that emits an event when a test is skipped.static final rx.subjects.PublishSubject<IQtafTestEventPayload>Subject that emits an event when a test finishes with error.static final rx.subjects.PublishSubject<IQtafTestEventPayload>Subject that emits an event when a test is skipped.static final rx.subjects.PublishSubject<IQtafTestEventPayload>Subject that emits events when all tests are finished.static final rx.subjects.PublishSubject<IQtafTestEventPayload>Subject that emits an event when a test finishes successfully. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
eventListenersInitialized
Subject that emits an event when the event listeners are initialized -
configurationLoaded
Subject that emits an event when the configuration is loaded -
frameworkInitialized
Subject that emits an event when the framework is initialized -
afterDriverInitialization
Subject that emits an event when the driver is initialized. It transports the driver information object. -
startTesting
Subject that emits events when all tests are finished. -
finishedTesting
Subject that emits events when all tests are finished. -
testStarted
Subject that emits events when all tests are finished. -
testSuccess
Subject that emits an event when a test finishes successfully. -
testFailure
Subject that emits an event when a test finishes with error. -
testSkipped
Subject that emits an event when a test is skipped. -
testFailedButWithinSuccessPercentage
public static final rx.subjects.PublishSubject<IQtafTestEventPayload> testFailedButWithinSuccessPercentageSubject that emits an event when a test is skipped. -
beforeStepExecution
Subject that emits an event before a step method is executed and transfers information about the executed step -
stepExecutionSuccess
Subject that emits an event when a step method is executed successfully and transfers information about the executed step -
stepExecutionFailure
Subject that emits an event when a step method fails and transfers information about the executed step -
stepLog
Subject that emits an event when a new LogMessage object is created -
screenshotTaken
Subject that emits an event when a screenshot is taken -
beforeLogsPersisted
Subject that emits an event before the logs are persisted to the disk. It transports the log collection. -
logsPersisted
Subject that emits an event when the logs were persisted successfully to the disk. It transports the file path where the log file is stored.
-
-
Constructor Details
-
QtafEvents
public QtafEvents()
-