| 注册
首页|期刊导航|计算机工程与应用|基于页面聚类的Web应用测试方法研究

基于页面聚类的Web应用测试方法研究

尤枫 张雅峰 赵瑞莲 马金慧

计算机工程与应用2018,Vol.54Issue(5):51-56,137,7.
计算机工程与应用2018,Vol.54Issue(5):51-56,137,7.DOI:10.3778/j.issn.1002-8331.1609-0338

基于页面聚类的Web应用测试方法研究

Page cluster based research on Web application test method

尤枫 1张雅峰 1赵瑞莲 1马金慧1

作者信息

  • 1. 北京化工大学 信息科学与技术学院,北京100029
  • 折叠

摘要

Abstract

The existing Web testing technologies mostly start from the front end,by analyzing the page DOM structure to obtain the state and the state jump condition. But all the technologies treat any DOM node changes as a new formation DOM,if any operation that leads to the change of DOM is considered as a new operation and regenerates test cases,this is a waste of time and human force.In this paper,a Web application unit test method that is based on page DOM similarity is proposed.First it uses a crawl to get the page state and the corresponding DOM structure then uses Dom similarity to evaluate and classifies the DOM,finally uses the center of the cluster as corresponding operation's result,and returns to the application to find the code block for testing.The experimental result shows that this method can effectively reduce the redundant state jumping in"single DOM to single state"mode, and it can achieve reasonable function discovery rate,effectively reduces the redundancies of the test state.

关键词

页面相似度/页面聚类/Web应用测试

Key words

page similarity/page cluster/Web application testing

分类

信息技术与安全科学

引用本文复制引用

尤枫,张雅峰,赵瑞莲,马金慧..基于页面聚类的Web应用测试方法研究[J].计算机工程与应用,2018,54(5):51-56,137,7.

基金项目

国家自然科学基金(No.61472025). (No.61472025)

计算机工程与应用

OA北大核心CSCDCSTPCD

1002-8331

访问量1
|
下载量0
段落导航相关论文