| || |
VBS script to make REQ & TC Trace Relationship
I need to make a scrip that will take the Requirement and create a trace to a test case.
Now for each test case in our test Plan we have a field called Covered REQ, it has the REQ Name that test case covert in the format of FR123;FR234;DW234;Etc These are the names of the requirements.
How do i create the trace link?
Re: VBS script to make REQ & TC Trace Relationship
assuming unique requirements, valid data in test, one-shot processing:
Set rflt = ReqFactory.Filter
For Each rnam In Split(mytst.Field("ts_user_01"), ";")
rflt.Filter("rq_req_name") = rnam
mytst.CoverRequirement rflt.NewList()(1), -4, False