Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Absent Member.. vzamoraz Absent Member..
Absent Member..
144 views

QTP/UFT support tip: How to download attachments of a test stored in QC/ALM

Below example downloads all the attachments of the QC-stored-test currently running using Open Test Architecture

 

Dim oAttach
Dim oAttachList
'Get list of attachments in current test
Set oAttachList = QCUtil.CurrentTest.Attachments.NewList("")
For Each oAttach In oAttachList
'Download attachment
oAttach.Load True, ""
'Display path and name of where attachment was downloaded
msgbox oAttach.FileName
Next

 

DISCLAIMER OF WARRANTY
The example software above are experimental and are provided as a courtesy, free of charge, "AS-IS" by Hewlett-Packard Development Company, L.P. ("HP"). HP shall have no obligation to maintain or support this software. HP MAKES NO EXPRESS OR IMPLIED WARRANTY OF ANY KIND REGARDING THIS SOFTWARE. HP SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CONTRACT, TORT OR ANY OTHER LEGAL THEORY, IN CONNECTION WITH OR ARISING OUT OF THE FURNISHING, PERFORMANCE OR USE OF THIS SOFTWARE

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.