verifSetReqCustomFieldValue
verifSetReqCustomFieldValue(
g_sessionId
t_reqId
t_fieldName
t_fieldValue
)
=> t / nil
Description
Sets the custom field value of the specified requirement in a Verifier session.
Custom fields can be specified using the Preferences form. To access the Preferences form from the Verifier graphical user interface, choose Edit — Preferences. To access the requirement editor form from the Verifier graphical user interface, select the requirement and choose Edit — Open Requirement Editor.
Arguments
|
Integer, string number, or window specifying the Verifier session ID. For example, |
|
Value Returned
|
The value of the custom field is successfully set to the new value. |
|
Examples
Consider that you have defined the custom fields Engineer Name and E-mail Address for the requirements of a verification project.
The following example opens a Verifier cellview of the verification project and sets the values in the custom fields for the specified requirement.
uid = verifOpenCellView("test" "results" "verifier")
=> 0
verifGetReqCustomFieldNames(uid)
=> ("Email" "Engineer")
verifGetReqCustomFieldValue(uid "ID1" "Engineer")
=> ""
verifSetReqCustomFieldValue(uid "ID1" "Engineer" "Harry")
=> t
verifGetReqCustomFieldValue(uid "ID1" "Engineer")
=> "Harry"
Related Topics
Return to top