Interface IQtafTestEventPayload

All Known Implementing Classes:
CucumberScenarioEventPayload, QtafTestEventPayload, TestNGTestEventPayload

public interface IQtafTestEventPayload
Interface that all test event entity classes have to implement
  • Method Details

    • getFeatureId

      int getFeatureId()
      Get the ID of a feature
      Returns:
      feature ID
    • getFeatureName

      String getFeatureName()
      Get the name of a feature
      Returns:
      feature name
    • getFeatureDescription

      String getFeatureDescription()
      Get the description of a feature
      Returns:
      feature description
    • getScenarioId

      String getScenarioId()
      Get the ID of a scenario
      Returns:
      scenario ID
    • getScenarioName

      String getScenarioName()
      Get the name of a scenario
      Returns:
      scenario name
    • getScenarioDescription

      String getScenarioDescription()
      Get the description of a scenario
      Returns:
      scenario description
    • getScenarioStatus

      ScenarioStatus getScenarioStatus()
      Get the status of a scenario
      Returns:
      scenario status
    • getScenarioStart

      Date getScenarioStart()
      Get the start date of a scenario
      Returns:
      scenario start date
    • getScenarioEnd

      Date getScenarioEnd()
      Get the end date of a scenario
      Returns:
      scenario end date
    • getThreadId

      long getThreadId()
      Get the thread ID of a scenario
      Returns:
      scenario thread ID
    • getThreadName

      String getThreadName()
      Get the name of the thread the scenario was executed in
      Returns:
      scenario thread name
    • getGroups

      String[] getGroups()
      Get groups that the test belongs to
      Returns:
      groups
    • getGroupDependencies

      String[] getGroupDependencies()
      Get all groups that the current test depends on
      Returns:
      group dependencies
    • getMethodDependencies

      String[] getMethodDependencies()
      Get all other test methods this tests depends on
      Returns:
      method dependencies
    • getOriginalEvent

      Object getOriginalEvent()
      Get the original event fired by the test framework (like TestNG, Cucumber, ...)
      Returns:
      original test event