Interface ITestCase

All Superinterfaces:
IItem

public interface ITestCase extends IItem
This interface represents a test case item, which is a specialized PTC RV&S item that stores information needed to execute a concrete test in an external testing tool.
  • Method Details

    • getTestSession

      ITestSession getTestSession()
      Get the test session that this test case is being executed via.
      Returns:
      The test session.
    • createTestResultDelta

      ITestResultDelta createTestResultDelta() throws TMAPIException
      Create a test result delta for this test case. Test result deltas can be collected and then used to generate a zip file packaging up all the added attachment content and an XML file that defines the test results via the ITestSession.createTestResultsZip method. The changes recorded in the zip file can then be stored into the server repository via the ITestSession.setTestResults method.
      Returns:
      The template test result delta for this test case.
      Throws:
      TMAPIException - Reserved exception.