Quality Center VAPI-XP-TEST - 修改默认 Python 脚本

发布于 2024-12-26 12:25:57 字数 297 浏览 2 评论 0原文

我对 Quality Center 10 有一个简单的需求

如果您注意到 IE 8 上的 Quality Center 客户端 ->测试计划。如果您创建一个测试类型=“VAPI-XP-TEST”的新测试用例,它将要求您提供脚本语言和脚本名称。我选择的脚本语言是Python。一旦您完成了创建新测试用例的过程,该测试用例就会预先填充默认的 Python 脚本。

我想知道如何修改基本默认 Python 脚本,以便未来的新测试用例将具有我的默认 Python 脚本?有没有办法通过 OTA API 实现同样的功能?

谢谢, 阿米特

I have a simple need with Quality Center 10

If you noticed in Quality Center Client on IE 8 -> Test Plan. If you create a new Testcase with Test Type = 'VAPI-XP-TEST', it will ask you for Script Language and Script Name. I have selected Script Language to be Python. Once you have gone through this process of creating a new testcase, the testcase is pre-populated with a Default Python Script.

I wish to know how I can modify that Base Default Python Script so that the future new testcases will have my default Python Script? Is there any way to do the same through OTA API?

Thanks,
Amit

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

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

发布评论

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

评论(1

梦年海沫深 2025-01-02 12:25:57

您可以在这里发布默认脚本吗?我不知道为什么你不能编辑它?您可以根据需要编辑脚本。

有两种方法可以运行 QC 脚本,一种是使用 VAPI-XP-TEST 来运行,在这种情况下,您可以使用 tdhelper 对象来更新结果。

其次是 OTA-API,您可以在外部使用 python 脚本连接到 QC 并执行测试并更新运行结果。有很多关于 OTA-API 的 QC 帮助的文档

Can you post the default script here ? Iam not sure why you cant edit it ? You can edit the script as you want.

There are 2 ways you can run the QC script one using VAPI-XP-TEST as you are doing , in that case you can use tdhelper object for updating the results.

Second is OTA-API which you can use python script externally to connect to QC and execute your tests and also update run results. there is lot of documentation available on QC help for OTA-API

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