UI自动化测试工具

发布于 2024-10-05 00:22:27 字数 1539 浏览 9 评论 0原文

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

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

发布评论

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

评论(4

骄兵必败 2024-10-12 00:22:27

这是商业的还是个人的——即您有预算吗?这将影响您是否考虑 Mercury 或 HP 套件,或者直接使用开源;)

http:// /en.wikipedia.org/wiki/List_of_GUI_testing_tools 提供了一个很好的 GUI 测试工具列表。 AutoIT 非常好用,而且易于学习和使用,尤其是如果您是一名程序员的话。 Phantom AL 和 IcuTest 对于 WPF 应用程序都很有用。

如果您有预算,没有比 Mercury/HP 工具集更好的了 - QTP (QuickTest Pro) 和 WinRunner - 前者使用 VBScript,而后者使用自定义测试脚本语言 - 非常适合快速编写测试。

我不会提供所有这些内容的链接,因为 Wiki 文章已经提供了这些链接,但我希望这会有所帮助。

至于定位名称,假设您可以计算出它们的加载顺序,并以这种方式浏览它们,忽略名称和向导。或者,如果您知道按钮的位置,则可以将点击发送到应用程序上的目标坐标。

Is this commercial or personal - ie do you have a budget? That'll affect whether you might consider the Mercury or HP suites, or just go straight to opensource ;)

http://en.wikipedia.org/wiki/List_of_GUI_testing_tools provides a good list of GUI testing tools. AutoIT is nice and easy to learn and use, especially if you're a coder anyway. Phantom AL and IcuTest are both useful for WPF applications.

If you have a budget, there's not much better than the Mercury/HP toolsets - QTP (QuickTest Pro) and WinRunner - the former uses VBScript while the later uses a custom Test Script Language - very clever for quickly writing tests.

I won't provide links to them all as the Wiki article already has that, but I hope that helps.

As for targeting the names, hypothetically you could work out the order in which they're being loaded and tab through them that way, ignoring names and guids. Alternatively you could send clicks to targetted coordinates on the app if you know where the buttons are going to be.

星星的軌跡 2024-10-12 00:22:27

马克,

你提到的没有什么是 bewildr 做不到的。即使您不知道对象的名称、id 甚至类型,您始终可以使用 .children 方法动态获取元素...有关简短介绍,请参阅:http://www.natontesting.com/2010/11/27/bewildr-0-1-7/< /a>

...这里的代码示例:

https:// /github.com/natritmeyer/bewildr/blob/82cd1e907484583be26bc22024ca6a8f34c0d6a4/features/step_definitions/hierarchy_steps.rb

Mark,

There's nothing you mention that bewildr can't already do. Even if you don't know the name, id or even the type of object, you can always get elements dynamically using the .children method... See this for a brief intro: http://www.natontesting.com/2010/11/27/bewildr-0-1-7/

...and here for code examples:

https://github.com/natritmeyer/bewildr/blob/82cd1e907484583be26bc22024ca6a8f34c0d6a4/features/step_definitions/hierarchy_steps.rb

小苏打饼 2024-10-12 00:22:27

@Jon Abaca

据我所知,这取决于您要测试哪些接口(移动/网络),以及您是否要使用代码知识人员来测试这些应用程序。

对编码、移动测试、交叉浏览和 ci/cd 的了解较少。你可以使用 Katalon-studio,是的,它是免费的

,否则最好使用 Selenium。

@Jon Abaca

As my knowledge, It depends on which interfaces you are going to test(mobile/web) and you are going to test those applications with code knowledge staff or not.

with less knowledge of coding, mobile testing, cross browsing and ci/cd. you can go with Katalon-studio, yes it's free

or else better to go with Selenium.

莳間冲淡了誓言ζ 2024-10-12 00:22:27

https://github.com/last-hit-aab/last-hit 是一个 UI 自动化测试工具,供 chrome 开发人员测试他们的网站而无需更改测试脚本

https://github.com/last-hit-aab/last-hit is a UI automation testing tool for chrome developer to test their web site without change test script

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