节点文献
采用JavaME测试Agent的嵌入式设备自动测试框架
Automatic test framework for embedded devices using JavaME test agent
【摘要】 提出了一个将手工测试转换为自动测试的轻量级框架。经过扩展Java ME APIJ,ava ME程序(MIDlets)具备拦截和模拟用户输入能力。Java ME测试Agent建立HTTP服务,根据配置文件或Web浏览器控制命令决定工作方式:学习模式或测试模式。在学习方式,Agent根据用户输入生成测试脚本;在测试模式,Agent利用测试脚本模拟测试。在GPS/PDA上实现了测试框架并用实验验证。该解决方案用模拟自动测试代替手工费时费力交互手工测试,提高了测试效率。
【Abstract】 A novel lightweight solution to make manual tests run in an automation style with remote http control interface for embedded devices is proposed in this paper.By extending Java ME API,we enable Java ME MIDlets the ability to inter-cept and simulate user key inputs.Via a HTTP service in certain port,according to configuration files and control commands from remote web browsers,a Java ME agent works in different mode:learning mode or testing mode.In the learning mode,the agent creates test scripts according to user inputsa;nd in the testing modet,he agent simulates user inputs to run tests ac-cording to test script.Finallyt,ests are done to evaluate the solution.The given automatic test solution can save test efforts and increase software productivities.
【Key words】 test automatione; mbedded devicer; emote controli; rtual machine; agent; HTTP protocol;
- 【文献出处】 计算机工程与应用 ,Computer Engineering and Applications , 编辑部邮箱 ,2010年31期
- 【分类号】TP311.52
- 【被引频次】1
- 【下载频次】57