AddCoverageEx Method
Description
Assigns all the tests in the specified subject folder to cover this current requirement.
Syntax
Visual Basic
Public Function AddCoverageEx( _
   ByVal SubjectId As Long, _
   ByVal Order As Long _
) As Long
Parameters
SubjectId
The ID of the subject folder containing the tests to be added to the requirement.
Order

The position of the first test in the folder in the requirement coverage list. Possible values are:

  • A number representing the position.
  • TDPOSITION_LAST [-4] - Indicates that the test is inserted last
Return Type
Zero on success, or -1 on error.
Remarks
The actual position of the first test in the folder in the requirement coverage list.
See Also