检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海大学计算机工程与科学学院,上海200072
出 处:《计算机应用研究》2016年第1期136-140,共5页Application Research of Computers
基 金:国家自然科学基金资助项目(61073050)
摘 要:回归测试对修改后的软件重新进行测试,确认修改没有引入新的错误或导致其他代码产生错误。研究图形用户界面(GUI)回归测试脚本的自动化修复技术,采用有限状态机描述GUI的交互行为,并基于有限状态机(FSM)产生测试用例集;使用自动化测试工具生成测试脚本,建立状态迁移和测试脚本的映射关系表;通过比较GUI新旧版本的FSM得到GUI的变化信息,根据变化信息和映射表对原测试脚本自动修复。实例验证了脚本修复方法的可行性和有效性,修复了失效的测试脚本,保证了修复后的测试脚本的完备性和一致性。Regression testing retests the modified software to confirm that the modifications do not cause new errors or make other code disabled. This paper addressed automated repair techniques of graphical user interface (GUI) regression testing. It used finite state machine (FSM) to descript the GUI interactions and to generate test case suite. It generated test scripts ac- cording to the test case suite by using the automated test tool and established a mapping table which mapped transitions to test scripts. It obtained the changed GUI information by comparing the old and new version FSM models. It repaired the original test scripts according to the changed GUI information and mapping table automatically. It used an example to verify the feasi- bility and effectiveness of the proposed method. It repairs the disabled test scripts and ensures the completeness and consisten- cy.
关 键 词:图形用户界面 回归测试 有限状态机 模型比较 测试脚本修复
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.45