开发者

Attaching Files to QC defect by Java code from local machine

开发者 https://www.devze.com 2022-12-27 06:40 出处:网络
When we open a defect in QC开发者_JAVA技巧 generally we need to attach the logs of the server i want to Make an application such that It will take files(logs from all the relevant server) and stores i

When we open a defect in QC开发者_JAVA技巧 generally we need to attach the logs of the server i want to Make an application such that It will take files(logs from all the relevant server) and stores in our local machine and then we can rar those files and directly attach it to QC defect mentioned by person opening defect Now my question is how can i access the defect and attach the files to that particular defect

Please give your suggestions if any


QC has a published COM API called Open Test Architecture, (OTA) you can use that to load the relevant defect and attach the file to it. You can find relevant examples in QC Help for OTA.

Note that this is a COM API, if you insist using Java client to communicate with it, then you will have to use a Java to COM bridge like JIntegra (there is a free one as well, but I don't remember it's name).

But if you can write your client in VB6, C++ or .NET it will be much simpler (and cheaper) than writing it in Java.

For more Java to COM bridges, check out this question

0

精彩评论

暂无评论...
验证码 换一张
取 消