Setting QC Memo Fields Required/Visible in Realtime
Question ID: 104259
0
0

I am attempting to manipulate a memo field in Quality Center 10 via workflow code. This particular memo field is located in the Test Lab module, in the Test Set details. I have included a sample of the code I tried from the Test Lab workflow module:

Sub TestSet_MoveTo
  'memo field - Approver Comments
  TestSet_Fields("Approver Comments").IsRequired = False
  TestSet_Fields("Approver Comments").IsVisible = False
End Sub

Sub TestSet_FieldChange(FieldName) 
  'If the Status field is modified
  If FieldName = TestSet_Fields("Status").FieldName Then 
    TestSet_Fields("Approver Comments").IsVisible = True
    TestSet_Fields("Approver Comments").IsRequired = True
  End If
End Sub

The memo field is hidden and non-required on move to, but when I change the value of my Status field nothing happens. I’m thinking it may just be a limitation of QC but I would love to be proven wrong.

Upate: This is no longer a project requirement but I am still curious as to the functional limits of QC.

Marked as spam
Posted by (Questions: 2, Answers: 1)
Asked on October 27, 2010 1:07 pm
51 views
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top