首页> 外文会议>ITI International Conference on Information Communications Technology >Specification-Driven Automated Testing of Java Swing GUIs Using XML
【24h】

Specification-Driven Automated Testing of Java Swing GUIs Using XML

机译:使用XML规范驱动的Java Swing Guis自动化测试

获取原文

摘要

A Common method for GUI testing is the Capture and Replay (CR) technique. While commonly used this technique can not be used until an Application Under Test (AUT) is completely developed. In this paper we propose a specification-driven approach to test GUI-Based java programs as an alternative to the CR technique. We introduce a GUI-event test specification language based on XML from which an automated test engine is generated. The popularity of XML as a scripting language, its ease of use and its standard format have made writing a test script using our proposed specification language an easy task. Beside the ability to test AUT before being completely developed we have implemented a visual editor that can generate the test specification file for an already existing AUT. The engine generates GUI events and captures event responses to automatically verify the results of the test cases which are written to a test log file. This approach supports N-version testing, where each version of the application is intended to satisfy the same specification.
机译:GUI测试的常用方法是捕获和重放(CR)技术。虽然常用使用此技术,直到完全开发出测试(AUT)之前无法使用。在本文中,我们提出了一种规范驱动的方法来测试基于GUI的Java程序作为CR技术的替代方案。我们介绍了一种基于XML的GUI-Event测试规范语言,从中生成自动测试引擎。 XML作为脚本语言的普及,它的易用性及其标准格式使用我们提出的规范语言简单的任务来编写测试脚本。除了在完全开发之前测试AUT的能力,我们已经实现了一种可视编辑器,可以为已存在的AUT生成测试规范文件。引擎生成GUI事件并捕获事件响应,以自动验证写入测试日志文件的测试用例的结果。此方法支持N-Version测试,其中每个版本的应用程序旨在满足相同的规范。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号