Class TagObject

    • Constructor Detail

      • TagObject

        public TagObject​(String tagName)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface Reportable
        Returns:
        name of the element that will be displayed to user.
      • getReportFileName

        public String getReportFileName()
      • addElement

        public boolean addElement​(Element element)
      • getFeatures

        public int getFeatures()
        Specified by:
        getFeatures in interface Reportable
        Returns:
        number of features for this element.
      • getPassedFeatures

        public int getPassedFeatures()
        Specified by:
        getPassedFeatures in interface Reportable
        Returns:
        number of passed features for this element.
      • getFailedFeatures

        public int getFailedFeatures()
        Specified by:
        getFailedFeatures in interface Reportable
        Returns:
        number of failed features for this element.
      • getScenarios

        public int getScenarios()
        Specified by:
        getScenarios in interface Reportable
        Returns:
        number of scenarios for this element.
      • getPassedScenarios

        public int getPassedScenarios()
        Specified by:
        getPassedScenarios in interface Reportable
        Returns:
        number of passed scenarios for this element.
      • getFailedScenarios

        public int getFailedScenarios()
        Specified by:
        getFailedScenarios in interface Reportable
        Returns:
        number of failed scenarios for this element.
      • getDuration

        public long getDuration()
        Specified by:
        getDuration in interface Reportable
        Returns:
        duration as milliseconds for this element.
      • getSteps

        public int getSteps()
        Specified by:
        getSteps in interface Reportable
        Returns:
        number of all steps for this element.
      • getNumberOfStatus

        public int getNumberOfStatus​(Status status)
      • getPassedSteps

        public int getPassedSteps()
        Specified by:
        getPassedSteps in interface Reportable
        Returns:
        number of passed steps for this element.
      • getFailedSteps

        public int getFailedSteps()
        Specified by:
        getFailedSteps in interface Reportable
        Returns:
        number of failed steps for this element.
      • getSkippedSteps

        public int getSkippedSteps()
        Specified by:
        getSkippedSteps in interface Reportable
        Returns:
        number of skipped steps for this element.
      • getUndefinedSteps

        public int getUndefinedSteps()
        Specified by:
        getUndefinedSteps in interface Reportable
        Returns:
        number of undefined steps for this element.
      • getPendingSteps

        public int getPendingSteps()
        Specified by:
        getPendingSteps in interface Reportable
        Returns:
        number of pending steps for this element.
      • getRawStatus

        public String getRawStatus()