从托管的 HP 质量中心导出错误跟踪数据的最佳方式是什么?

发布于 2024-07-04 19:58:00 字数 172 浏览 6 评论 0原文

这个问题可能过于特定于产品,但我想知道是否有人从 HP 质量中心导出错误跟踪数据。

HP 质量中心 (QC) 有一个老式的 COM API,但我宁愿使用 Web 服务甚至屏幕抓取工具将数据导出到 Excel 电子表格中。

无论如何,从托管的 HP 质量中心导出错误跟踪数据的最佳方法是什么?

This question may be too product specifc but I'd like to know if anyone is exporting bug track data from HP Quality Center.

HP Quality Center (QC) has an old school COM API but I'd rather use a web service or maybe even screen scraper to export the data into an excel spreadsheet.

In any case, what's the best way to export bug tracking data from hosted HP Quality Center?

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

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

发布评论

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

评论(4

怪我闹别瞎闹 2024-07-11 19:58:00

您可以使用此 QC API 代码来修改错误/要求。

TDAPIOLELib.TDConnection connection = new TDAPIOLELib.TDConnection(); 
connection.InitConnectionEx("http://SERVER:8080/qcbin"); 
connection.Login("USERNAME", "PASSWORD"); 
connection.Connect("QCDOMAIN", "QCPROJECT"); 
TDAPIOLELib.BugFactory bugFactory = connection.BugFactory as TDAPIOLELib.BugFactory; 
TDAPIOLELib.List bugList = bugFactory.NewList(""); 
foreach (TDAPIOLELib.Bug bug in bugList) 
{ 
  // View / Modify the properties 
  // bug.ID, bug.Name, etc. 
  // Save them when done 
  // bug.Post(); 
}

You can use this QC API Code to modify bugs/requirements.

TDAPIOLELib.TDConnection connection = new TDAPIOLELib.TDConnection(); 
connection.InitConnectionEx("http://SERVER:8080/qcbin"); 
connection.Login("USERNAME", "PASSWORD"); 
connection.Connect("QCDOMAIN", "QCPROJECT"); 
TDAPIOLELib.BugFactory bugFactory = connection.BugFactory as TDAPIOLELib.BugFactory; 
TDAPIOLELib.List bugList = bugFactory.NewList(""); 
foreach (TDAPIOLELib.Bug bug in bugList) 
{ 
  // View / Modify the properties 
  // bug.ID, bug.Name, etc. 
  // Save them when done 
  // bug.Post(); 
}
羁客 2024-07-11 19:58:00

就我个人而言,我喜欢 COM API,我用它来生成 Word 和 Excel 报告。 我用VS2005做了一些实验,结果令人鼓舞。

如果你不想走这条路,我有一些建议。

  1. 如果您使用图表选项(分析>图表)。 每个图表都有一个称为数据网格的选项卡,可让您将数据导出到 Excel 和许多其他数据格式。
  2. 如果您是管理员,或者与管理员关系良好,您可以将整个数据库转储到 Access 中,然后导入到 Excel 中。 当然,您将失去所有的表关系,但这总比没有好。 这也是学习数据库模式的一个非常好的方法。

Personally, I like the COM API and I use it to generate both Word and Excel reports. I have done some experiments with VS2005 and the results are encouraging.

If you don't want to go this route, I have a couple of suggestions.

  1. If you use the charting options (Analysis > Graphs). Each graph has a tab called data grid that lets you export data to Excel and a bunch of other data formats.
  2. If you are an admin, or friendely with your admin, you can dump the whole database into access and then import into Excel. Of course, you'll loose all your table relationships, but it's better than nothing. It's also a really good way to learn the db schema.
沉溺在你眼里的海 2024-07-11 19:58:00

不幸的是,QC 目前没有公开任何网络服务。
我认为最简单的方法是直接查询数据库。 您要查找的数据位于 BUG 表中的项目架构中。

QC 还有一个 Excel 插件,您可能想尝试一下,但它主要用于将 Excel 中的缺陷添加到 QC。

Unfortunately QC doesn't expose any web-services at the moment.
I think the easiest way would be to query the DB directly. The data you are looking for is in the project's schema in BUG table.

QC also have an excel add-in you might want to try that, but it's mainly for adding defects from excel to QC.

花之痕靓丽 2024-07-11 19:58:00

如果您可以手动导出(即不使用程序),则以下将是导出缺陷数据的最简单方法。

在 QC 9.2 中(可能也存在于早期版本中),Defects 菜单中有 Export/All,可将缺陷网格中的缺陷导出到 Excel 工作表中。

导出的字段是缺陷网格中显示的字段,可以使用“选择列”按钮(看起来像绿色网格)进行自定义。

If manual export (i.e., not using a program) is possible for you, the following will be the easiest way to export defect data.

In QC 9.2 (maybe present in earlier versions, too), there is Export/All in the Defects menu, which exports defects in your defects grid into an Excel sheet.

The fields exported are those shown in the defects grid, which can be customized using the "Select Columns" button (looks like a green grid).

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