public class TRCase extends Object
| Constructor and Description |
|---|
TRCase()
No args constructor for use in serialization
|
TRCase(Long createdBy,
Long createdOn,
String estimate,
String estimateForecast,
Long id,
Long milestoneId,
Long priorityId,
String refs,
Long sectionId,
Long suiteId,
String title,
Long typeId,
Long templateId,
Long updatedBy,
Long updatedOn,
String customSteps,
String customExpected,
String customPreconds,
String customMission,
String customGoals,
Long customAutomationType,
List<TRStep> customStepsSeparated) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Long |
getCreatedBy()
The ID of the user who created the test case
|
Long |
getCreatedOn()
The date/time when the test case was created (as UNIX timestamp)
|
Long |
getCustomAutomationType()
Automation Type.
|
String |
getCustomExpected()
Test Case (Text) template expected result
|
String |
getCustomGoals()
Exploratory Session template goals
|
String |
getCustomMission()
Exploratory Session template mission
|
String |
getCustomPreconds()
Test Case (Text) template preconditions
|
String |
getCustomSteps()
Test Case (Text) template steps
|
List<TRStep> |
getCustomStepsSeparated()
Test Case (Steps) template steps
|
String |
getEstimate()
The estimate, e.g.
|
String |
getEstimateForecast()
The estimate forecast, e.g.
|
Long |
getId()
The unique ID of the test case
|
Long |
getMilestoneId()
The ID of the milestone that is linked to the test case
|
Long |
getPriorityId()
The ID of the priority that is linked to the test case
|
String |
getRefs()
A comma-separated list of references/requirements
|
Long |
getSectionId()
The ID of the section the test case belongs to
|
Long |
getSuiteId()
The ID of the suite the test case belongs to
|
Long |
getTemplateId()
The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later)
|
String |
getTitle()
The title of the test case
|
Long |
getTypeId()
The ID of the test case type that is linked to the test case
|
Long |
getUpdatedBy()
The ID of the user who last updated the test case
|
Long |
getUpdatedOn()
The date/time when the test case was last updated (as UNIX timestamp)
|
int |
hashCode() |
void |
setCreatedBy(Long createdBy)
The ID of the user who created the test case
|
void |
setCreatedOn(Long createdOn)
The date/time when the test case was created (as UNIX timestamp)
|
void |
setCustomAutomationType(Long customAutomationType)
Automation Type.
|
void |
setCustomExpected(String customExpected)
Test Case (Text) template expected result
|
void |
setCustomGoals(String customGoals)
Exploratory Session template goals
|
void |
setCustomMission(String customMission)
Exploratory Session template mission
|
void |
setCustomPreconds(String customPreconds)
Test Case (Text) template preconditions
|
void |
setCustomSteps(String customSteps)
Test Case (Text) template steps
|
void |
setCustomStepsSeparated(List<TRStep> customStepsSeparated)
Test Case (Steps) template steps
|
void |
setEstimate(String estimate)
The estimate, e.g.
|
void |
setEstimateForecast(String estimateForecast)
The estimate forecast, e.g.
|
void |
setId(Long id)
The unique ID of the test case
|
void |
setMilestoneId(Long milestoneId)
The ID of the milestone that is linked to the test case
|
void |
setPriorityId(Long priorityId)
The ID of the priority that is linked to the test case
|
void |
setRefs(String refs)
A comma-separated list of references/requirements
|
void |
setSectionId(Long sectionId)
The ID of the section the test case belongs to
|
void |
setSuiteId(Long suiteId)
The ID of the suite the test case belongs to
|
void |
setTemplateId(Long templateId)
The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later)
|
void |
setTitle(String title)
The title of the test case
|
void |
setTypeId(Long typeId)
The ID of the test case type that is linked to the test case
|
void |
setUpdatedBy(Long updatedBy)
The ID of the user who last updated the test case
|
void |
setUpdatedOn(Long updatedOn)
The date/time when the test case was last updated (as UNIX timestamp)
|
String |
toString() |
TRCase |
withCreatedBy(Long createdBy) |
TRCase |
withCreatedOn(Long createdOn) |
TRCase |
withCustomAutomationType(Long customAutomationType) |
TRCase |
withCustomExpected(String customExpected) |
TRCase |
withCustomGoals(String customGoals) |
TRCase |
withCustomMission(String customMission) |
TRCase |
withCustomPreconds(String customPreconds) |
TRCase |
withCustomSteps(String customSteps) |
TRCase |
withCustomStepsSeparated(List<TRStep> customStepsSeparated) |
TRCase |
withEstimate(String estimate) |
TRCase |
withEstimateForecast(String estimateForecast) |
TRCase |
withId(Long id) |
TRCase |
withMilestoneId(Long milestoneId) |
TRCase |
withPriorityId(Long priorityId) |
TRCase |
withRefs(String refs) |
TRCase |
withSectionId(Long sectionId) |
TRCase |
withSuiteId(Long suiteId) |
TRCase |
withTemplateId(Long templateId) |
TRCase |
withTitle(String title) |
TRCase |
withTypeId(Long typeId) |
TRCase |
withUpdatedBy(Long updatedBy) |
TRCase |
withUpdatedOn(Long updatedOn) |
public TRCase()
public TRCase(Long createdBy, Long createdOn, String estimate, String estimateForecast, Long id, Long milestoneId, Long priorityId, String refs, Long sectionId, Long suiteId, String title, Long typeId, Long templateId, Long updatedBy, Long updatedOn, String customSteps, String customExpected, String customPreconds, String customMission, String customGoals, Long customAutomationType, List<TRStep> customStepsSeparated)
suiteId - updatedBy - customExpected - customAutomationType - milestoneId - customPreconds - sectionId - updatedOn - title - templateId - createdOn - customStepsSeparated - priorityId - createdBy - refs - customSteps - customGoals - estimate - customMission - typeId - estimateForecast - id - public Long getCreatedBy()
public void setCreatedBy(Long createdBy)
public Long getCreatedOn()
public void setCreatedOn(Long createdOn)
public String getEstimate()
public void setEstimate(String estimate)
public String getEstimateForecast()
public void setEstimateForecast(String estimateForecast)
public Long getId()
public void setId(Long id)
public Long getMilestoneId()
public void setMilestoneId(Long milestoneId)
public Long getPriorityId()
public void setPriorityId(Long priorityId)
public String getRefs()
public void setRefs(String refs)
public Long getSectionId()
public void setSectionId(Long sectionId)
public Long getSuiteId()
public void setSuiteId(Long suiteId)
public String getTitle()
public void setTitle(String title)
public Long getTypeId()
public void setTypeId(Long typeId)
public Long getTemplateId()
public void setTemplateId(Long templateId)
public Long getUpdatedBy()
public void setUpdatedBy(Long updatedBy)
public Long getUpdatedOn()
public void setUpdatedOn(Long updatedOn)
public String getCustomSteps()
public void setCustomSteps(String customSteps)
public String getCustomExpected()
public void setCustomExpected(String customExpected)
public String getCustomPreconds()
public void setCustomPreconds(String customPreconds)
public String getCustomMission()
public void setCustomMission(String customMission)
public String getCustomGoals()
public void setCustomGoals(String customGoals)
public Long getCustomAutomationType()
public void setCustomAutomationType(Long customAutomationType)
public List<TRStep> getCustomStepsSeparated()
public void setCustomStepsSeparated(List<TRStep> customStepsSeparated)
Copyright © 2019. All rights reserved.