首页> 中文期刊> 《计算机应用》 >基于SilkTest和XML的通用高效的用户界面测试方法

基于SilkTest和XML的通用高效的用户界面测试方法

         

摘要

In software testing, User Interface ( UI) testing plays an important role to ensure software quality and reliability. Concerning the lack of stability and generality in the UI testing method for handle recognition, an improved method of recognizing and testing UI controls based on Extensible Markup Language (XML) was proposed through the introduction of XML. The method used the features of XML which processed data conveniently and combined the automation testing tool SilkTest to improve the traditional UI testing. Concerning the features of multi-language and multi-version in AutoCAD, the automation testing scheme was designed on the basis of the proposed method to test dialog box in a series of AutoCAD products. The experimental results show that the improved method reduces recognition time of the controls and the redundancy of the program. Also it improves the efficiency of the testing and the stability of UI controls recognition.%在软件测试中,用户界面(UI)测试是保证软件质量、提高软件可靠性的不可或缺的一部分.针对句柄识别UI的测试方法缺乏稳定性和通用性,通过引入可扩展标记语言(XML),提出了一种基于XML对UI控件识别并测试的改进方法.利用XML处理数据便捷的特点,结合自动化测试工具SilkTest,对传统UI测试进行了改进.并且根据所提方法,针对AutoCAD产品多语言多版本的特点,设计了对其系列产品对话框的自动化测试方案.实验结果表明,改进后的方法能够缩短控件的识别时间,减少了测试脚本的冗余量,提高了测试的效率,也提高了UI识别的稳定性.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号