public class TestDesignServiceClient extends QTestApiWebServiceClient<TestDesignServiceClient> implements TestDesignService
credentialsProvider, exceptionUnmarshallers, executorService, signerclient, configuration, endpoint, requestHandlers, timeOffset| Constructor and Description |
|---|
TestDesignServiceClient()
Constructs a new client to invoke service method on TestDesignService using
the default qTest credentials provider and default client configuration options.
|
TestDesignServiceClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestDesignService using
the default qTest credentials provider and client configuration options.
|
TestDesignServiceClient(QTestCredentials credentials)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials.
|
TestDesignServiceClient(QTestCredentials credentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials and client configuration options.
|
TestDesignServiceClient(QTestCredentialsProvider credentialsProvider)
Constructs a new client to invoke service method on TestExecutionService using
the specified qTest credentials provider and client configuration options.
|
TestDesignServiceClient(QTestCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service method on TestDesignService using
the specified qTest credentials provider and client configuration options.
|
| Modifier and Type | Method and Description |
|---|---|
TestCase |
addComment(CreateObjectCommentRequest createObjectCommentRequest)
Creates testcase comment from the given request.
|
TestCase |
approveTestCase(ApproveTestCaseRequest testCaseRequest)
Approve testcase.
|
AutomationTestCase |
createAutomationTestCase(CreateAutomationTestCaseRequest automationTestCaseRequest)
Creates the
automation test case from the given
create automation test case request |
TestCase |
createTestCase(CreateTestCaseRequest testCaseRequest)
Creates the
test case from the given
create test case request |
TestStep |
createTestStep(CreateTestStepRequest testStepRequest)
Creates the
test step from the given create test step request |
void |
deleteTestCase(DeleteTestCaseRequest testCaseRequest)
Delete the test case from the given delete test-case request.
|
TestCase |
getTestCase(GetTestCaseRequest testCaseRequest)
Gets
TestCase from the given test case request |
java.util.List<Field> |
getTestCaseFields(GetTestCaseFieldsRequest getTestCaseFieldsRequest)
Returns the list of testcase custom fields.
|
TestStep |
getTestStep(GetTestStepRequest testStepRequest)
Gets
TestStep from the given test step request |
java.util.List<TestCase> |
listTestCase(ListTestCaseRequest listTestCaseRequest)
Lists all test case in the current project.
|
java.util.List<TestStep> |
listTestStep(ListTestStepRequest testStepRequest)
Gets list of
TestStep from the given test step request |
TestCase |
moveTestCase(MoveTestCaseRequest testCaseRequest)
Move test-case.
|
TestCase |
updateTestCase(UpdateTestCaseRequest testCaseRequest)
Update test-case.
|
init, invoke, shutdown, withEndpointaddRequestHandler, createExecutionContext, createHttpAuthClient, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setTimeOffset, withConfiguration, withRequestHandler, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, shutdownpublic TestDesignServiceClient()
public TestDesignServiceClient(ClientConfiguration clientConfiguration)
clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServicepublic TestDesignServiceClient(QTestCredentials credentials)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.public TestDesignServiceClient(QTestCredentials credentials, ClientConfiguration clientConfiguration)
credentials - The qTest credentials which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServicepublic TestDesignServiceClient(QTestCredentialsProvider credentialsProvider)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.public TestDesignServiceClient(QTestCredentialsProvider credentialsProvider, ClientConfiguration clientConfiguration)
credentialsProvider - The qTest credentials provider which will provide
credentials to authenticate request with qTest services.clientConfiguration - The client configuration options controlling how this
client connects to TestDesignServicepublic TestCase getTestCase(GetTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServiceTestCase from the given test case requestgetTestCase in interface TestDesignServicetestCaseRequest - the given test case requestTestCase instance.AuthServiceException - if an error occurs during getting the test case.public java.util.List<TestStep> listTestStep(ListTestStepRequest testStepRequest) throws AuthServiceException
TestDesignServiceTestStep from the given test step requestlistTestStep in interface TestDesignServicetestStepRequest - the given test step requestTestStep instance.AuthServiceException - if an error occurs during getting the test step.public TestStep getTestStep(GetTestStepRequest testStepRequest) throws AuthServiceException
TestDesignServiceTestStep from the given test step requestgetTestStep in interface TestDesignServicetestStepRequest - the given test step requestTestStep instance.AuthServiceException - if an error occurs during getting the test case.public TestCase createTestCase(CreateTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServicetest case from the given
create test case requestcreateTestCase in interface TestDesignServicetestCaseRequest - the given create test case request
instance.test case instance.AuthServiceException - if an error occurs during creating test case instance.public TestStep createTestStep(CreateTestStepRequest testStepRequest) throws AuthServiceException
TestDesignServicetest step from the given create test step requestcreateTestStep in interface TestDesignServicetestStepRequest - the given create test step request
instance.test step instance.AuthServiceException - if an error occurs during creating test step instance.public java.util.List<TestCase> listTestCase(ListTestCaseRequest listTestCaseRequest) throws AuthServiceException
TestDesignServicelistTestCase in interface TestDesignServicelistTestCaseRequest - the given list test case request
object.test case object.AuthServiceException - if an error occurs during listing all test case objects.public java.util.List<Field> getTestCaseFields(GetTestCaseFieldsRequest getTestCaseFieldsRequest) throws AuthServiceException
TestDesignServicegetTestCaseFields in interface TestDesignServicegetTestCaseFieldsRequest - the given get testcase field request
informationAuthServiceException - if an error occurs during getting testcase fields.public TestCase addComment(CreateObjectCommentRequest createObjectCommentRequest) throws AuthServiceException
TestDesignServiceaddComment in interface TestDesignServicecreateObjectCommentRequest - the given create testcase comment request
instance.TestCase instance.AuthServiceException - if an error occurs during adding comment.public AutomationTestCase createAutomationTestCase(CreateAutomationTestCaseRequest automationTestCaseRequest) throws AuthServiceException
TestDesignServiceautomation test case from the given
create automation test case requestcreateAutomationTestCase in interface TestDesignServiceautomationTestCaseRequest - the given create automation test case request
instance.automation test case instance.AuthServiceException - if an error occurs during creating test case instance.public void deleteTestCase(DeleteTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServicedeleteTestCase in interface TestDesignServicetestCaseRequest - the given test-case request.AuthServiceException - if an error occurs during deleting test-case.public TestCase updateTestCase(UpdateTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServiceupdateTestCase in interface TestDesignServicetestCaseRequest - the given update test-case request.AuthServiceException - if an error occurs during updating test-case.public TestCase moveTestCase(MoveTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServicemoveTestCase in interface TestDesignServicetestCaseRequest - the given move test-case request.AuthServiceException - if an error occurs during moving test-case.public TestCase approveTestCase(ApproveTestCaseRequest testCaseRequest) throws AuthServiceException
TestDesignServiceapproveTestCase in interface TestDesignServicetestCaseRequest - the given approve testcase request.TestCase instance.AuthServiceException - if an error occurs during approving testcase.