通过本地机器上的 Java 代码将文件附加到 QC 缺陷

发布于 2024-08-28 13:36:22 字数 165 浏览 4 评论 0原文

当我们在QC中打开缺陷时,通常我们需要附加服务器的日志 我想制作一个应用程序,它将获取文件(来自所有相关服务器的日志)并存储在我们的本地计算机中,然后我们可以 rar 这些文件并将其直接附加到打开缺陷的人提到的质量控制缺陷 现在我的问题是如何访问缺陷并将文件附加到该特定缺陷

请提供您的建议(如果有)

When we open a defect in QC 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

硪扪都還晓 2024-09-04 13:36:22

QC 有一个已发布的 COM API,名为 开放测试架构,(OTA)您可以使用它来加载相关缺陷并将文件附加到其中。您可以在 OTA 的 QC 帮助中找到相关示例。

请注意,这是一个 COM API,如果您坚持使用 Java 客户端与其进行通信,那么您将必须使用 Java 到 COM 的桥接器,例如 JIntegra (还有一个免费的,但我不记得它的名字了)。

但是,如果您可以用 VB6、C++ 或 .NET 编写客户端,那么它将比用 Java 编写要简单得多(也更便宜)。

有关 Java 到 COM 桥梁的更多信息,请查看此问题< /a>

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文