Closed fmlyman02 closed 5 years ago
Closing as outdated (mea culpa for not looking into it earlier).
Tested with the following code:
TestCase createdTestCase = api.createTestCase("My TC", testSuiteId, testProjectId, "admin", "Created!", Collections.emptyList(), null,
TestCaseStatus.FINAL, TestImportance.HIGH, ExecutionType.AUTOMATED, 1, null, false, null);
System.out.println(createdTestCase);
Which contains just the last part of your example code. The response:
TestCase [id=6, name=My TC, testSuiteId=2, testProjectId=1, authorLogin=admin, summary=Created!, steps=[], preconditions=null, testCaseStatus=7, testImportance=3, executionType=2, executionOrder=null, order=1, internalId=null, fullExternalId=null, checkDuplicatedName=false, actionOnDuplicatedName=null, versionId=null, version=1, parentId=null, customFields=null, executionStatus=null, platform=null, featureId=null, keywords= null]
Tested with latest code, almost ready to be released and compatible with 1.9.19.
I've created some simple calls to the api method's. Here's a snippet:
The problem I am encountering is that this appears to create the test case successfully, but the code throws an exception.
Exception I am seeing is:
If someone could provide me with some insight of what I may be doing wrong in the call, that would really help my understanding of the usage. Thanks