Selenium是Web UI测试,因为________是Windows应用程序UI测试 [英] Selenium is to Web UI testing as ________ is to Windows application UI testing

查看:445
本文介绍了Selenium是Web UI测试,因为________是Windows应用程序UI测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对仅测试客户端Java应用程序的UI感兴趣。这样做最流行的框架是什么?你推荐的框架是什么?另外,为什么Selenium不这样做(或者是这样做)?在我看来,任何可以测试Web应用程序的东西都应该能够测试Windows应用程序。

I'm interested in UI testing a client only Java application. What is the most popular framework for doing so? What is your recommended framework? Also, why doesn't Selenium do this (or does it)? It seems to me that anything that can test a web app should be able to test a windows app.

推荐答案

尝试 FEST框架
如果我没弄错的话,这就是以前称为Abbot的东西。我用它进行自动化测试,看起来非常简单方便。简单的东西变得容易,复杂的东西不是那里的火箭科学。我考虑过UISpecj4j,但它不适合我,因为没有技术可能来测试Drag'n'Drop,而这是必须的。此外,当你实际上看不到发生的事情时,开发测试是相当困难的(UISpec4J使用假的,看不见的外观)。

Try FEST framework. This is what was previously known as Abbot, if I'm not mistaken. I use this for automated testing and it seems to be very simple and convenient. Simple things are made easy and complex things are not a rocket science there. I considered UISpecj4j, but it didn't suite me, because there is no technical possibility to test Drag'n'Drop while it's a must. Besides it's quite difficult to develop tests when you don't actually see what's happening (UISpec4J uses fake, invisible look'n'feel)

唯一的问题是制造麻烦FEST(也是设计) - 它抓取鼠标,并且在运行测试时不会让你做任何事情。

The only thing is making troubles in FEST (also, by design) - it grabs a mouse and doesn't let you do anything while it running a test.

这篇关于Selenium是Web UI测试,因为________是Windows应用程序UI测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆