public class TestCaseFactory
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static TestCase |
findTestCase(String testCaseRelativeId)Finds TestCase by its id or relative id |
|
public static String |
getTestCaseId(String testCaseRelativeId)Returns test case id of a its relative id. |
|
public static String |
getTestCaseRelativeId(String testCaseId)Returns relative id of a test case's id. |
Finds TestCase by its id or relative id
testCaseRelativeId is null or test case doesn't existtestCaseRelativeId
- Can be test case full id or test case relative id
Eg: Using "Test Cases/Sample Test Case" (full id) OR "Sample Test Case" (relative id) as
testCaseRelativeId is accepted for the test case with id "Test Cases/Sample Test Case"Returns test case id of a its relative id.
testCaseRelativeId
- Relative test object's id.null if testObjectRelativeId is null.