使用Python或Java自动化HP Quality Center [英] Automating HP Quality Center with Python or Java

查看:138
本文介绍了使用Python或Java自动化HP Quality Center的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个使用惠普质量中心的项目,我们面临的一个常见问题是人们没有更新有关缺陷的评论。

We have a project that uses HP Quality Center and one of the regular issues we face is people not updating comments on the defect.

所以我想我们可以提出了一个小脚本或工具,可用于定期发出提醒并强制用户更新评论。

So I was thinkingif we could come up with a small script or tool that could be used to periodically throw up a reminder and force the user to update the comments.

我遇到了Open Test Architecture API并且想知道我能看到的是否有任何好的Python或java示例。

I came across the Open Test Architecture API and was wondering if there are any good Python or java examples for the same that I could see.

谢谢
Hari

Thanks Hari

推荐答案

我不确定Java是否有任何好的示例,因为OTA不能直接被Java使用,它需要像Java一样的Java to COM bridnge href =http://j-integra.intrinsyc.com/ =nofollow noreferrer> JIntegra 。

I'm not sure there are any good samples for Java, because OTA can't be consumed by Java directly, it needs a Java to COM bridnge like JIntegra.

关于Python,你可以使用 Python COM api。然后任何OTA示例都可以。你在OTA的QC文档中有很多。

About Python, well you can use Python COM api's. And then any OTA example will do. You got plenty in QC documentation of OTA.

但我认为真正的问题是,你为什么要用Python或Java来做。为什么不使用它的工作流功能直接在QC中编写您需要的内容。这将允许您在VBScript中编写逻辑,并在用户操作的QC UI中调用它。例如,您可以绑定到缺陷/错误的Post事件,并检查是否有注释,如果没有提示用户直接显示消息。

But I think the real question here is, why would you want to do it in Python or Java. Why not write what you need directly in QC using it's Workflow feature. Which will allow you to write your logic in VBScript, and have it invoked inside QC UI on user actions. For instance you can bind to the Post event of a Defect / Bug and check if there is a comment and if there is not prompt the user directly with a message.

这篇关于使用Python或Java自动化HP Quality Center的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆