问题描述
我正在努力为小程序有效地构建一个功能测试套件,我正在努力为它找到一个好的框架.
I'm trying to effectively build a functional test suite for an applet, and I'm trying to find a good framework for it.
过去,当我想设计一个测试套件既可以对应用程序进行功能测试又可以用于负载测试时,它一直是基于 Web 的应用程序,或者至少是某种基于服务的应用程序,并且我已经使用了诸如grinder 之类的东西来构建测试脚本并使用它们来模拟用户.
In the past, when I wanted to design a test suite that would serve as both functional and load testing on an application, it has always been a web-based application, or at least some kind of service-based application, and I've used something like grinder to build up test scripts and use them to simulate users.
对于 Java 小程序,我不清楚可能存在什么机制(如果有的话)来针对 GUI 使用和运行使用脚本,从而模拟用户单击表单控件.
With a Java applet, it's not clear to me what, if any, mechanism may exist for me to consume and run usage scripts against the GUI and thus simulate a user clicking on form controls.
有人有这方面的经验吗?
Does anyone have any experience with this?
推荐答案
看看 节日秋千.它使驱动和测试 Swing GUI 变得容易.它支持小程序.
Have a look at FEST Swing. It makes it easy to drive and test Swing GUIs. It supports applets.
这篇关于测试小程序的最佳机制是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!