Selenium 之于 Web UI 测试就像 ________ 之于 Windows 应用程序 UI 测试 [英] Selenium is to Web UI testing as ________ is to Windows application UI testing

查看:22
本文介绍了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 框架.如果我没记错的话,这就是之前所说的方丈.我用这个做自动化测试,看起来很简单方便.简单的事情变得容易,复杂的事情在那里不是火箭科学.我考虑过 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天全站免登陆