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

      String 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
    • getAbstractScenarioId

      String getAbstractScenarioId()
      Get the ID of the abstract scenario.
      Returns:
      scenario ID
    • getInstanceId

      String getInstanceId()
      Get the instance ID of a scenario. If there are multiple instances of a scenario (in case you use data providers) each instance has its own instance ID.
      Returns:
      scenario instance ID
    • getScenarioMethodName

      String getScenarioMethodName()
      Get the method name of the scenario.
      Returns:
      scenario method name
    • 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
    • getOriginalTestInstance

      Object getOriginalTestInstance()
      Get original test instance object.
      Returns:
      test instance object
    • getRealClassAnnotations

      Annotation[] getRealClassAnnotations()
      Get annotations.
      Returns:
      annotations
    • getMethodInfoEntity

      MethodInfoEntity getMethodInfoEntity()
      Get an entity that contains information about the original method.
      Returns:
      Method info entity