verifGetReqProp
verifGetReqProp(
g_sessionId
t_reqId
t_propName
[ g_inherited ]
)
=>t_propValue / nil
Description
Returns the value of the specified property of a requirement in a Verifier session.
Arguments
|
g_sessionId
|
Integer, string number, or window specifying the Verifier session ID. For example, 0, "0", or window(2).
|
|
t_reqId
|
ID of the requirement.
|
|
t_propName
|
Name of the requirement property.The valid property names are Parent, HierId, ID, Title, Type, MinSpec, MaxSpec, Unit, Owner, ReadOnly, Description, and VerificationSpace.
|
|
g_inherited
|
Boolean value that controls the retrieval of property values. Setting it to t retrieves the inherited property value, whereas setting it to nil or a blank retrieves its own property value.
This argument is optional. The default is nil.
|
Value Returned
|
t_propValue
|
Value of the specified property of a requirement in a Verifier session.
|
|
nil
|
Specified property of the requirement was not found.
|
Examples
The following example opens a Verifier cellview and retrieves the inherited MaxSpec value of a requirement because it does not have its own MaxSpec, but its parent has the MaxSpec value:
sessionId = verifOpenCellView("test" "setup" "verifier")
=> 1
verifGetReqProp(1 "ID_1" "MaxSpec" t)
=> "9.98"
Related Topics
verifGetReferencedCellViews
verifGetReqs
verifGetReqParent
verifGetReqProps
verifGetReqStatus
Return to top