public class Feature extends Object implements Reportable
| Constructor and Description |
|---|
Feature() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getDeviceName()
In case of running the same tests on many devices it displays name of the device.
|
String |
getDurations()
Returns formatted duration for this element.
|
Element[] |
getElements() |
int |
getFailedScenarios()
Returns number of failed scenarios for this element.
|
int |
getFailedSteps()
Returns number of failed steps for this element.
|
String |
getId() |
String |
getKeyword() |
int |
getMissingSteps()
Returns number of missing steps for this element.
|
String |
getName()
Returns name of the element that will be displayed to user.
|
int |
getPassedScenarios()
Returns number of passed scenarios for this element.
|
int |
getPassedSteps()
Returns number of passed steps for this element.
|
int |
getPendingSteps()
Returns number of pending steps for this element.
|
String |
getRawStatus() |
String |
getReportFileName() |
int |
getScenarios()
Returns number of scenarios related to this element.
|
int |
getSkippedSteps()
Returns number of skipped steps for this element.
|
Status |
getStatus()
Returns status for this element.
|
int |
getSteps()
Returns number of all steps for this element.
|
Tag[] |
getTags() |
int |
getUndefinedSteps()
Returns number of undefined steps for this element.
|
boolean |
hasTags() |
void |
setMetaData(String jsonFile,
int jsonFileNo,
Configuration configuration)
Sets additional information and calculates values which should be calculated during object creation.
|
public String getDeviceName()
ReportablegetDeviceName in interface Reportablepublic String getId()
public Element[] getElements()
public String getReportFileName()
public boolean hasTags()
public Tag[] getTags()
public Status getStatus()
ReportablegetStatus in interface Reportablepublic String getName()
ReportablegetName in interface Reportablepublic String getKeyword()
public String getRawStatus()
public String getDescription()
public int getScenarios()
ReportablegetScenarios in interface Reportablepublic int getSteps()
ReportablegetSteps in interface Reportablepublic int getPassedSteps()
ReportablegetPassedSteps in interface Reportablepublic int getFailedSteps()
ReportablegetFailedSteps in interface Reportablepublic int getPendingSteps()
ReportablegetPendingSteps in interface Reportablepublic int getSkippedSteps()
ReportablegetSkippedSteps in interface Reportablepublic int getMissingSteps()
ReportablegetMissingSteps in interface Reportablepublic int getUndefinedSteps()
ReportablegetUndefinedSteps in interface Reportablepublic String getDurations()
ReportablegetDurations in interface Reportablepublic int getPassedScenarios()
ReportablegetPassedScenarios in interface Reportablepublic int getFailedScenarios()
ReportablegetFailedScenarios in interface Reportablepublic void setMetaData(String jsonFile, int jsonFileNo, Configuration configuration)
Copyright © 2016. All rights reserved.