用于测试的小程序的最佳机制是什么? [英] What is the best mechanism for testing applets?
问题描述
我试图有效地建立一个功能测试套件的小程序,我试图找到一个很好的框架了。
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的应用程序,或者至少是某种形式的基于服务的应用程序,并我用类似磨床建立测试脚本,并利用它们来模拟用户。
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?
推荐答案
有一个看的 FEST摇摆。这使得它容易驾驶和测试的Swing的GUI。它支持小程序。
Have a look at FEST Swing. It makes it easy to drive and test Swing GUIs. It supports applets.
这篇关于用于测试的小程序的最佳机制是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!