| || |
Unable to get test link when adding new defect
In QC 9.0 Workflow I added the following script in order to copy a value from a testcase to a newly created defect.
However it doesn't work.
Dim TestCaseID, TestCase
TestCaseID = Bug_Fields.Field("BG_TEST_REFERENCE").Value
Set TestCase = TDConnection.TestFactory.item(TestCaseID)
Bug_Fields.Field("BG_USER_01").Value = TestCase.Field("TS_USER_01").Value