Class Feature

    • Constructor Detail

      • Feature

        public Feature()
    • Method Detail

      • getId

        public String getId()
      • getUri

        public String getUri()
      • addElements

        public void addElements​(Element[] newElements)
      • getElements

        public Element[] getElements()
      • getReportFileName

        public String getReportFileName()
      • getQualifier

        public String getQualifier()
      • setQualifier

        public void setQualifier​(String qualifier)
        Parameters:
        qualifier - name of the JSON file with report, used for parallel testing
      • getTags

        public Tag[] getTags()
      • getName

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

        public String getKeyword()
      • getLine

        public Integer getLine()
      • getDescription

        public String getDescription()
      • getFeatures

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

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

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

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

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

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

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

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

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

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

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

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

        public void setMetaData​(int jsonFileNo,
                                Configuration configuration)
        Sets additional information and calculates values which should be calculated during object creation.
        Parameters:
        jsonFileNo - index of the JSON file
        configuration - configuration for the report