| || |
How to attach file to QC from qtp
This is the current code that i am using. However it does not attach a file to each run. When i attach it, it just lists as result1, result 2, result 3, and there isnt the green clip beside each run. If there is any other way to upload a file please share, Thank you.
Set ObjCurrentRun = QCUtil.CurrentRun.Attachments
Set ObjAttch = ObjCurrentTest.AddItem(Null)
ObjAttch.FileName = FilePath
ObjAttch.Type = 1