检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:朱方祥 顾乃杰[1,2,3] Zhu Fangxiang;Gu Naijie(School of Computer Science and Technology,University of Science and Technology of China,Hefei 230027,Anhui,China;Anhui Province Key Laboratory of Computing and Communication Software,Hefei 230027,Anhui,China;Institute of Advanced Technology,University of Science and Technology of China,Hefei 230027,Anhui,China)
机构地区:[1]中国科学技术大学计算机科学与技术学院,安徽合肥230027 [2]安徽省计算与通信软件重点实验室,安徽合肥230027 [3]中国科学技术大学先进技术研究院,安徽合肥230027
出 处:《计算机应用与软件》2018年第11期26-32,共7页Computer Applications and Software
摘 要:基于模型驱动的自动化测试研究大多需要事先对应用程序GUI进行遍历进而构建模型。然而以往自动化遍历的研究大部分局限于移动端并且GUI覆盖率并不高。为此,提出一种Windows应用程序的GUI自动化遍历方法。该方法基于事件触发动态探测应用程序GUI,通过对比应用软件窗口集合判断GUI状态是否迁移,提出步骤回溯以及样式过滤思想,解决了GUI遍历过程中的回环、遍历不充分、遍历效率低三个关键问题。基于Pwinauto实现了可以自动遍历Windows应用程序GUI的原型工具。实验表明,该方法平均近似GUI覆盖率可以达到57. 8%~74. 3%。Researches based on model-driven automated testing need to traverse the application’s GUI to build model in advance.However,previous studies of automated traversal were mostly limited to mobile terminal and the coverage of GUI was not high enough.This paper proposed a GUI automation traversal method for Windows applications.This method could detect application’s GUI dynamically based on event-triggered.By comparing the set of application windows to judge whether the GUI state was migrated or not,the idea of step backtracking and style filtering were proposed,which solved three key problems of loopback,inadequate traverse,and low traversal efficiency in the GUI traversal process.We implemented a prototype tool based on Pwinatuo that could automatically traverse the GUI of the Windows application.Experiments show that this method can achieve a 57.8%to 74.3%average approximate GUI coverage.
关 键 词:图形用户界面 自动化 WINDOWS应用程序 遍历 GUI状态模型 平均近似覆盖率
分 类 号:TP3[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.170