摘要
针对图形用户界面(GUI)软件的层次性,采用分层有限自动机(HFSM)模型对被测GUI软件建模,将GUI测试转换为预期HFSM和实际HFSM的一致性测试。模型自动搜索GUI控件,提供接口,采用均匀设计思想自动产生测试数据,由测试数据驱动测试执行。根据GUI软件的特点,采用增量方式进行模型构造和测试,从而避免错误积累。
This paper focuses on Graphical User Interface(GUI)'s automatic test. The most difficult thing is test case generation. This paper adopts a new technique to test GUIs automatically. It describes GUIs with Hierarchical Finite State Machine(HFSM), and then the work is converted into the consistency testing of the expected HFSM and the actual HFSM. It searches GUIs' controls initiatively and automatically, and generates the tesing data with 'uniform design' method. Testing data drive the test to be executed. According to the characteristics of GUIs, this paper adopts incremental mode to construct the model and to do test, to avoid error accumulation.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第3期94-95,129,共3页
Computer Engineering
关键词
GUI自动测试
分层有限自动机
数据驱动
增量测试
automatic Graphical User Interface(GUI) test
Hierarchical Finite State Machine(HFSM)
data driving
incremental test