本文已被:浏览 2334次 下载 3917次
Received:November 13, 2014 Revised:January 22, 2015
Received:November 13, 2014 Revised:January 22, 2015
中文摘要: 基于Robot Framework提出了一种面向MVC GUI模块的自动化测试框架. 该框架将GUI自动化测试分为四大方面: 用户界面功能测试、信息设置功能测试、信息查询功能测试和特殊项测试. 整个框架将上层GUI和底层Database进行结合测试, 使GUI自动化测试范围得以全面覆盖; 并根据不同系统环境, 编写Python脚本, 灵活调用底层数据; 而选用黑盒与白盒有机结合的测试方式, 使测试者可以迅速锁定代码缺陷, 保证了开发程序的正确性和完整性. 同时, 就OpenWRT LuCI模块作为具体实例, 验证了本框架的适用性.
Abstract:This article proposes an automated test framework for MVC GUI module, based on Robot Framework. The GUI automation test framework is divided into four aspects: user interface function testing, information set function testing, information query function testing, and special items testing. The whole framework, making the GUI test and the Database test combined together, fully completes the coverage of GUI automation test. According to different system environment, by writing Python scripts, the underlying data can be flexibly called. The combination of black-box and white-box test makes the tester quickly focus the code defect, and guarantees the correctness and completeness of the development program effectively. At the same time, the applicability of this test framework has been verified, as OpenWRT LuCI module specifically addressed.
keywords: MVC GUI automation test robot framework OpenWRT LuCI Python
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
梁思秋,葛华勇.基于Robot Framework的MVC GUI模块自动化测试框架.计算机系统应用,2015,24(7):83-87
Liang Si-Qiu,GE Hua-Yong.Automation Test Framework for MVC GUI Based on Robot Framework.COMPUTER SYSTEMS APPLICATIONS,2015,24(7):83-87
梁思秋,葛华勇.基于Robot Framework的MVC GUI模块自动化测试框架.计算机系统应用,2015,24(7):83-87
Liang Si-Qiu,GE Hua-Yong.Automation Test Framework for MVC GUI Based on Robot Framework.COMPUTER SYSTEMS APPLICATIONS,2015,24(7):83-87