Class QtafEvents

java.lang.Object
de.qytera.qtaf.core.events.QtafEvents

public class QtafEvents extends Object
This class manages events emitted by the Qtaf framework
  • Field Details

    • eventListenersInitialized

      public static final rx.subjects.BehaviorSubject<Void> eventListenersInitialized
      Subject that emits an event when the event listeners are initialized
    • configurationLoaded

      public static final rx.subjects.BehaviorSubject<ConfigMap> configurationLoaded
      Subject that emits an event when the configuration is loaded
    • frameworkInitialized

      public static final rx.subjects.BehaviorSubject<Void> frameworkInitialized
      Subject that emits an event when the framework is initialized
    • afterDriverInitialization

      public static final rx.subjects.BehaviorSubject<AbstractDriver> afterDriverInitialization
      Subject that emits an event when the driver is initialized. It transports the driver information object.
    • startTesting

      public static final rx.subjects.PublishSubject<IQtafTestingContext> startTesting
      Subject that emits events when all tests are finished.
    • finishedTesting

      public static final rx.subjects.PublishSubject<IQtafTestingContext> finishedTesting
      Subject that emits events when all tests are finished.
    • testStarted

      public static final rx.subjects.PublishSubject<IQtafTestEventPayload> testStarted
      Subject that emits events when all tests are finished.
    • testSuccess

      public static final rx.subjects.PublishSubject<IQtafTestEventPayload> testSuccess
      Subject that emits an event when a test finishes successfully.
    • testFailure

      public static final rx.subjects.PublishSubject<IQtafTestEventPayload> testFailure
      Subject that emits an event when a test finishes with error.
    • testSkipped

      public static final rx.subjects.PublishSubject<IQtafTestEventPayload> testSkipped
      Subject that emits an event when a test is skipped.
    • testFailedButWithinSuccessPercentage

      public static final rx.subjects.PublishSubject<IQtafTestEventPayload> testFailedButWithinSuccessPercentage
      Subject that emits an event when a test is skipped.
    • beforeStepExecution

      public static final rx.subjects.PublishSubject<StepExecutionInfo> beforeStepExecution
      Subject that emits an event before a step method is executed and transfers information about the executed step
    • stepExecutionSuccess

      public static final rx.subjects.PublishSubject<StepExecutionInfo> stepExecutionSuccess
      Subject that emits an event when a step method is executed successfully and transfers information about the executed step
    • stepExecutionFailure

      public static final rx.subjects.PublishSubject<StepExecutionInfo> stepExecutionFailure
      Subject that emits an event when a step method fails and transfers information about the executed step
    • stepLog

      public static final rx.subjects.PublishSubject<IQtafTestStepEventPayload> stepLog
      Subject that emits an event when a new LogMessage object is created
    • screenshotTaken

      public static final rx.subjects.PublishSubject<File> screenshotTaken
      Subject that emits an event when a screenshot is taken
    • beforeLogsPersisted

      public static final rx.subjects.PublishSubject<TestSuiteLogCollection> beforeLogsPersisted
      Subject that emits an event before the logs are persisted to the disk. It transports the log collection.
    • logsPersisted

      public static final rx.subjects.PublishSubject<String> 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()