【问题标题】:Steps to download Test Scripts as attachments from Quality Center从 Quality Center 以附件形式下载测试脚本的步骤
【发布时间】:2016-02-16 00:19:03
【问题描述】:

我知道我们可以创建一个 excel 宏来连接到 QC 并将测试用例计数和类似的详细信息下载到 excel 行中。但是有没有办法将测试脚本以文件的形式下载到本地桌面。

请分享一些相同的指针。

谢谢, 前言

【问题讨论】:

    标签: hp-quality-center


    【解决方案1】:

    您可以使用ExtendedStorage 对象下载文件。为了获得测试用例的 VAPI-XP 脚本,我使用了这个函数(它在 Ruby 中,但我希望你能明白……test 是 Test 类型的对象,local_dir 是字符串):

    def download_script(test, local_dir)
      test_storage = test.ExtendedStorage
      test_storage.ClientPath = local_dir
      test_storage.Load("*.*", true)
    end
    

    【讨论】:

    • 您能否分享任何提供有关此方法的更多详细信息的链接
    • 您可以查阅 HP ALM 开放式测试架构 API 参考,您可以在 ALM 文档库中找到该参考。或online.
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多