Versioning

Versioning

Custom tests that change ALM entities that are subject to versioning must check in and out when changing the entities affected. Use the check-in and check-out resources of the REST API. For more information, see the HP ALM REST API Reference. Alternatively, you can use TDAPIOLELib.IVersionControl.CheckOut and CheckIn. For more information, see the ALM Open Test Architecture Reference and the HP ALM User Guide

To enable any of the versioning and baseline functionality to apply to your test type, you must provide a configuration file. The file provides meta-data for versioning and baseline-related operations on the custom test. Legacy applications will run without adding this file. However, we strongly recommend that you add this file to your application to improve performance and reduce storage requirements. See Configuring Support for Versions.

Methods ShowResults and ShowTest do not support versioning and baselining. Implement methods, ShowResultEx and ShowTestEx.

To support pinning a test set to a version, implement RemoteAgent.run so that it acquires the Test reference from the TSTest. The Test reference returned by the TSTest.Test property is the correct pinned version. See the Remote Agent Example.


© 1993 - 2013 Hewlett-Packard Development Company, L.P.