Selenium 或 Rational 功能测试器

发布于 2024-08-27 23:38:49 字数 1539 浏览 5 评论 0原文

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

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

发布评论

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

评论(6

半枫 2024-09-03 23:38:49

这两种自动化测试工具都提供了一些基本的自动化功能。然而,Rational Function Tester (RFT) 和 Selenium 之间存在巨大差异。如果您的目标是基本测试,结果是短期 -1-3 个月,并且您不介意脚本需要高水平的维护,那么 Selenium 就可以了。 RFT 提供了与 Selenium 的许多关键差异,这些差异会影响您拥有长期自动化解决方案的能力。它们是:

  1. RFT 在脚本和被测应用程序之间使用对象映射。这意味着当应用程序发生更改时,您无需在脚本中查找和替换对象属性。这将为您节省大量时间,
  2. RFT 使用数据池将大型数据集驱动到测试中。这允许创建排列和组合。
  3. RFT 具有非常强大的连接器,可连接多种应用程序风格,如 SAP、Siebel、Oracle、VB、PowerBuilder、各种 Web 和终端服务器功能。这意味着硒仅提供一种解决方案的每种情况都有一种工具。
  4. RFT 与 RQM 配合进行完整的端到端测试管理。
    所有这一切的最终结果是自动化的时间和寿命。我不会选择 Selenium 作为长期解决方案,因为 RFT 的维护成本比 RFT 低得多 - 即使对于新手来说也是如此。

Both automated test tools offer some of the basic capabilities of automation. However there is a massive difference between Rational Functional Tester (RFT) and Selenium. IF your aim is basic testing, where the outcome is short term -1-3 months and you don't mind that the scripts will need a high level of maintenance, then Selenium is fine. RFT provides a number of critical differences from Selenium that impact your ability to have a long term automation solution. These are:

  1. RFT uses an object map between the script and the application under test. This means that as the application changes you don’t need to find and replace object properties in the scripts. This will save you a lot of time
  2. RFT uses datapools for driving large datasets into a test. this allows permutations and combinations to be created.
  3. RFT has very powerful connectors to multiple application styles like SAP, Siebel, Oracle, VB, PowerBuilder, various web and terminal server functions. This means one tool for every situation where selenium provides only one solution.
  4. RFT works with RQM for full end to end test management.
    The net result of all this is time and longevity of the automation. I would not choose Selenium for a long term solution because RFT will cost substantially less in maintenance than RFT ever will - even for a novice.
我不在是我 2024-09-03 23:38:49

请澄清“Java 环境”。

如果 Java 环境 == 通过浏览器交付的基于 Web 的应用程序,那么您有大量的选择可供选择,而不仅仅是 Selenium、Rational Technical Tester 和 TestPartner。有许多开源和商业工具可用于测试 Web 应用程序。

但是,如果 Java 环境 == 在桌面上运行的独立 Java 应用程序,那么您的选择就更加有限。 Selenium 将无法工作,因为 Selenium 仅支持基于浏览器的 Web 应用程序。 Function Tester 和 TestPartner 都是很好的工具,我广泛使用过这两个工具,并且都支持 Java 平台。还有其他工具,例如 HP QuickTest Pro,并且可能还有一些特定于 Java 的开源工具。

Please clarify 'Java environment'.

If Java environment == a web based application delivered through a browser, then you have tons of choices at your disposal, not just Selenium, Rational Functional Tester and TestPartner. There are a number of open source and commercial tools for testing web apps.

If, however, Java environment == standalone Java application, that runs on your desktop, then your choices are more limited. Selenium will not work, as Selenium only supports browser-based web apps. Functional Tester and TestPartner are both good tools, I have worked extensively with both, and both support the Java platform. There are other tools, such as HP QuickTest Pro, and there are probably some Java-specific open source tools.

喜你已久 2024-09-03 23:38:49

我建议将两者混合使用:当您在 RFT 中无法执行某些操作时,您可以从 Selenium 获得帮助,它只是一个可以在 RFT 中使用的 Java API。编写跨浏览器脚本可以是使用这种混合方法的一个好点。

还需要考虑的一点是:Selenium 是一种免费的开源工具。

另一点是:Selenium 在其论坛中的活动要多得多。它更有可能从 Selenium 的其他用户那里得到更快的答案。

I'd recommend mixing the two: When there are things that you cannot do in RFT, you can get help from Selenium, which is simply a Java API which can be used in RFT. Writing cross-browser script can be a good point to use this mixed approach.

One more point to consider is: Selenium is a free and open source tool.

Another point is: Selenium has a much more activity in its discussion forums. Its is more likely to get a faster answer from other users of Selenium.

故人爱我别走 2024-09-03 23:38:49

既然您提到 TestPartner 这是一个商业工具。
QTP 和 TestPartner 的定价水平相当。因此,您应该考虑其他重要因素:工具的完整性、学习曲线、商业支持的水平和质量、社区支持的水平。
您可能还想看看 TestComplete,它也非常强大,并且包含对负载测试和单元测试的支持,但价格明显较低。
一般来说,我想说,自动化的成功更多地取决于 一个人的自动化技能,而不是特定工具的能力。

谢谢你,
阿尔伯特·加里耶夫
http://automation-beyond.com/

Since you mentioned TestPartner which is a commercial tool.
QTP and TestPartner have a comparable pricing level. So you should consider other important factors: integrity of the tool, learning curve, level and quality of commercial support, level of community support.
You may also want to look at TestComplete, which is also very powerful, and incorporates support for Load Testing, and Unit Testing, but has significantly lower price.
Generally, I would say, automation success is much more dependant on automation skills of a person rather than on capacities of a specific tool.

Thank you,
Albert Gareev
http://automation-beyond.com/

墨落画卷 2024-09-03 23:38:49

看看 PushToTest.com 的 TestMaker。它是用 Java 编写的,运行 Java 和 Selenium 脚本以及soapUI、Groovy、Ruby、Python、PHP、VB 和 .Net。 TestMaker 允许您采用 Selenium 脚本并将其作为自动回归测试、负载或性能测试以及生产 SLA 监控脚本运行,而无需使用多种语言或多种工具编写测试。您还可以在 EC2、GoGrid、Rackspace 和 CollabNet 等云中运行它们。

有免费的社区版本和商业企业版本。当您购买企业版时,您将获得对工具的支持,包括对 Selenium 的支持。您可以从网站下载 TestMaker。

如果您不确定,每月有几次免费网络研讨会,介绍如何充分利用最新的经过验证的开源测试工具。绝对值得一看。

Take a look at TestMaker by PushToTest.com . It's written in Java and runs Java and Selenium scripts as well as soapUI, Groovy, Ruby, Python, PHP, VB and .Net. TestMaker allows you to take the Selenium scripts and run them as automated regression tests, load or performance tests and production SLA monitoring scripts without having to write the tests in multiple languages or for multiple tools. You can also run them in clouds such as EC2, GoGrid, Rackspace and CollabNet.

There is a free community version and a commercial Enterprise Version. When you purchase the Enterprise version, you get support for the tools including support on Selenium. You can download TestMaker from the website.

If you're not sure, there are free webinars several times a month on how to get the most out of the latest proven Open Source Testing tools. Definitely worth checking out.

§普罗旺斯的薰衣草 2024-09-03 23:38:49

如果您仅针对具有 HTML UI 的基于 Web 的应用程序,我们可以使用 selenium。
如果你想使用商业工具,你可以使用 RFT,与 selenium 相比,它支持不同的 UI 界面

If you are targeting only web based application with UI having HTML , we can use selenium.
If you want to use commerical tool you can go ahead with RFT and it supports different UI interfaces when compared to selenium

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