采用JavaME测试Agent的嵌入式设备自动测试框架  

Automatic test framework for embedded devices using JavaME test agent

在线阅读下载全文

作  者:张小国[1] 王庆[1] 龚福祥[1] 李传君[1] 

机构地区:[1]东南大学仪器科学与工程学院,南京210096

出  处:《计算机工程与应用》2010年第31期5-9,35,共6页Computer Engineering and Applications

基  金:"十一五"国家科技支撑计划(No.2008BAJ11B00;No.2008BAJ11B01)

摘  要:提出了一个将手工测试转换为自动测试的轻量级框架。经过扩展Java ME APIJ,ava ME程序(MIDlets)具备拦截和模拟用户输入能力。Java ME测试Agent建立HTTP服务,根据配置文件或Web浏览器控制命令决定工作方式:学习模式或测试模式。在学习方式,Agent根据用户输入生成测试脚本;在测试模式,Agent利用测试脚本模拟测试。在GPS/PDA上实现了测试框架并用实验验证。该解决方案用模拟自动测试代替手工费时费力交互手工测试,提高了测试效率。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 intercept 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 inputs;and in the testing mode,the agent simulates user inputs to run tests according to test script.Finally, tests are done to evaluate the solution.The given automatic test solution can save test efforts and increase software productivities.

关 键 词:测试自动化 嵌入式设备 远程控制 虚拟机 代理程序 超文本传输协议 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象