public class TestStep extends QTestBaseModel<TestStep>
NL, properties, RESERVED_NAME| Constructor and Description |
|---|
TestStep() |
| Modifier and Type | Method and Description |
|---|---|
TestStep |
addAttachment(Attachment attachment)
Adds attachment to test step.
|
protected TestStep |
clone() |
java.lang.String |
elementName() |
java.util.List<Attachment> |
getAttachments() |
java.lang.String |
getCalledTestCaseName() |
java.lang.String |
getDescription() |
java.lang.String |
getExpected() |
java.lang.Integer |
getGroup() |
java.lang.Long |
getId() |
java.lang.Integer |
getOrder() |
java.lang.Long |
getParentTestStepId() |
java.lang.Long |
getRootCalledTestCaseId() |
java.lang.String |
jsonElementName() |
TestStep |
setAttachments(java.util.List<Attachment> attachments)
Sets the list of teststep's attachments.
|
TestStep |
setCalledTestCaseName(java.lang.String calledTestCaseName)
Sets called test case name.
|
TestStep |
setDescription(java.lang.String description)
Sets the test step description.
|
TestStep |
setExpected(java.lang.String expected)
Sets the expected result of an individual test step.
|
TestStep |
setGroup(java.lang.Integer group)
Sets the test step group.
|
TestStep |
setId(java.lang.Long id)
Sets the test step id.
|
TestStep |
setOrder(java.lang.Integer order)
Sets the order of test step in test case.
|
TestStep |
setParentTestStepId(java.lang.Long parentTestStepId) |
TestStep |
setRootCalledTestCaseId(java.lang.Long rootCalledTestCaseId)
Sets the called test case id.
|
TestStep |
withAttachments(java.util.List<Attachment> attachments)
Sets the list of teststep's attachments.
|
TestStep |
withCalledTestCaseName(java.lang.String calledTestCaseName)
Sets called test case name.
|
TestStep |
withDescription(java.lang.String description)
Sets the test step description.
|
TestStep |
withExpected(java.lang.String expected)
Sets the expected result of an individual test step.
|
TestStep |
withGroup(java.lang.Integer group)
Sets the test step group.
|
TestStep |
withId(java.lang.Long id)
Sets the test step id.
|
TestStep |
withOrder(java.lang.Integer order)
Sets the order of test step in test case.
|
TestStep |
withParentTestStepId(java.lang.Long parentTestStepId) |
TestStep |
withRootCalledTestCaseId(java.lang.Long rootCalledTestCaseId)
Sets the called test case id.
|
getBinaryFromInputStream, getLinks, getWebUrl, setLinks, setWebUrl, validateInputStream, withLinks, withWebUrlappendPropertiesTo, appendPropertiesTo, asDate, asDate, asInteger, asInteger, asLong, asLong, asString, asString, getProperties, getProperty, getPropertyMap, hasProperties, hasProperty, isVisible, removeProperty, setPropertiesFrom, setProperty, toJson, toStringpublic java.lang.Long getId()
public TestStep setId(java.lang.Long id)
id - the given test step identifier to set.public TestStep withId(java.lang.Long id)
id - the given test step identifier to set.public java.lang.String getDescription()
public TestStep setDescription(java.lang.String description)
description - the given test step description to set.public TestStep withDescription(java.lang.String description)
description - the given test step description to set.public java.lang.String getExpected()
public TestStep setExpected(java.lang.String expected)
expected - the given expected result to set.public TestStep withExpected(java.lang.String expected)
expected - the given expected result to set.public java.lang.Integer getOrder()
public TestStep setOrder(java.lang.Integer order)
order - the given test step's order to set.public TestStep withOrder(java.lang.Integer order)
order - the given test step's order to set.public java.lang.Integer getGroup()
public TestStep setGroup(java.lang.Integer group)
group - the given test step group.public TestStep withGroup(java.lang.Integer group)
group - the given test step group.public java.lang.String getCalledTestCaseName()
public TestStep setCalledTestCaseName(java.lang.String calledTestCaseName)
calledTestCaseName - the given called test case name to set.public TestStep withCalledTestCaseName(java.lang.String calledTestCaseName)
calledTestCaseName - the given called test case name to set.public java.lang.Long getRootCalledTestCaseId()
public TestStep setRootCalledTestCaseId(java.lang.Long rootCalledTestCaseId)
rootCalledTestCaseId - the given called test case id to set.public TestStep withRootCalledTestCaseId(java.lang.Long rootCalledTestCaseId)
rootCalledTestCaseId - the given called test case id to set.public java.util.List<Attachment> getAttachments()
public TestStep setAttachments(java.util.List<Attachment> attachments)
attachments - the given list of teststep's attachment to set.public TestStep withAttachments(java.util.List<Attachment> attachments)
attachments - the given list of teststep's attachment to set.public TestStep addAttachment(Attachment attachment)
attachment - the given attachment to add to test step.TestStep object.public java.lang.Long getParentTestStepId()
public TestStep setParentTestStepId(java.lang.Long parentTestStepId)
public TestStep withParentTestStepId(java.lang.Long parentTestStepId)
protected TestStep clone()
clone in class PropertyContainerpublic java.lang.String elementName()
elementName in class PropertyContainerpublic java.lang.String jsonElementName()
jsonElementName in class PropertyContainer