使用 QC 本身存储函数库、存储库是否更好?

发布于 2024-09-16 15:36:45 字数 143 浏览 6 评论 0原文

我计划使用 QC 作为库、对象存储库和其他数据文件的存储库。我将执行 QC 的所有测试用例。如果我使用 QC 来处理这些,那会是更好的意见吗?执行速度会比平时更快吗?

注意:通常的方法是函数,本地存储库,只需更新 QC 中的驱动程序脚本并从 QC 运行它。

I 'm planning to use QC as a place for Repositories for Libraries, Object repositories , other data files. I'll be executing the all the test cases from QC. If i use QC for these, Will that be a better opinion? Will the execution be more faster than usually?

Note: usual Method is functions, repo on local and just updating the Driver script in QC and running it from QC.

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

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

发布评论

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

评论(3

女中豪杰 2024-09-23 15:36:45

QC 上存储的任何内容都必须下载到执行 QTP 测试运行的计算机上。增加从 QC 下载的项目数量不会提高性能。

Whatever is stored on QC will have to be downloaded to the machine on which the QTP test run is executed. Increasing the number of items to be downloaded from QC will not increase performance.

网白 2024-09-23 15:36:45

想了一段时间后,我决定提出自己的答案:

如果您

  • 与多个人一起进行 QTP 测试,
  • 和/或在多于一台或两台机器上执行测试,
  • 和/或使用 QC工作流脚本功能来跟踪测试的状态(或其他属性)
  • 和/或想要做的不仅仅是使用 Run/F5 从 QTP 直接(“交互地”)执行测试
  • 和/或想要使用 QC 的版本控制来进行 QTP 测试(呃..)

那么强烈建议将测试放入 QC,因为

  • 中央存储库在这种情况下很有用,
  • 这是使用 QC 的需求树、测试实验室和缺陷管理器以及自动化测试集成(包括图形/报告)的唯一方法设施。

在 QC 中使用它们的最大缺点是,您

  • 将永远不会再看到这些测试的可用分层文件系统(但是嘿!没有 QC 的 QTP 是否会为每个测试创建一个有用的文件系统?不!),
  • 因此必须通过以下方式执行所有操作QC 界面(忘记使用 Windows 资源管理器删除或复制树)
  • 将付出性能损失,因为每次打开或保存操作时,测试都必须从 QC 传输到本地文件系统或从本地文件系统传输到 QC。 (一旦它在那里,你就拥有了完整的本地性能,至少在大多数情况下。)
  • 大大增加了对本地网络稳定性的依赖
  • ,应该始终拥有最新的 QTP 和 QTP。 QC 版本(特别是在补丁/SR 方面)
  • 会看到一些罕见的情况,其中 QTP IDE 崩溃,而如果测试在本地文件系统中则不会崩溃(之间的接口实现中似乎仍然存在一些错误)两者)

因此,只有在您可以忍受缺点的情况下,才将这些东西放入质量控制中。

After thinking about it for a while, I decided to come up with my own answer:

If you

  • work with more than one people on the QTP tests,
  • AND/OR execute the tests on more than one or two machines,
  • AND/OR use QC's workflow scripting features to keep track of tests' stati (or other attributes)
  • AND/OR want to do more than execute tests directly ("interactively") from QTP using Run/F5
  • AND/OR want to use QC's version control for QTP tests (urgh..)

then it is highly recommended to put the tests into QC because

  • a central repository is useful in such situations
  • it is the only way to use QC's requirements tree, test lab and defect manager with automated test integration, including the graphing/reporting facilities.

The biggest disadvantages of having them in QC is that you

  • never will see a usable hierarchical file system of those tests again (but hey! Does QTP without QC create a useful file system for every test? No!),
  • thus must do all operations via the QC interface (forget about deleting or copying while trees with Windows Explorer)
  • Will pay a performance penalty since upon every open or save operation, the test must be transferred to/from the local file system from/to QC. (Once it is there, you have full local performance, though, at least in most cases.)
  • heavily increase the dependency on stability of your local network
  • should always have the most current QTP & QC releases (especially in terms of patches/SRs),
  • will see some rare cases where the QTP IDE crashes when it would not have crashed if the test was in the local file system (there still seem to be some bugs in the interface implementation between both)

So only put the stuff into QC if you can live with the disadvantages.

可可 2024-09-23 15:36:45

过去,我使用了一个名为 StarTeam 的工具,其中包含一个包含所有存储库的工作文件夹。这是版本控制的,意味着任何一位工程师都可以访问它或签出它以对其进行更改。

执行速度很快,因为您自己的个人版本的工作文件夹保存在本地驱动器上,使您可以快速访问。

然而,最好将其放在 QC 中,以提高其他测试人员的可见性。个人喜好确实每个解决方案都有优点和缺点。

In the past ive used a tool called StarTeam which contains a working folder with all your repositories in. This is version controlled and means that any one of the engineers can access it or check it out to make changes to it.

Execution is quick because your own personal version of the working folder is held on your local drive, giving you speedy access.

However it may be better having it in QC to increase visibility to the other testers. Its personal preference really each solution has good and bad points.

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