arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1108.2357cs.SE
收藏

基于Web应用导航的自动化功能测试

Automated Functional Testing based on the Navigation of Web Applications

Boni García, Juan Carlos Dueñas

摘要:

Web应用程序变得越来越复杂。测试这样的应用程序是一个复杂的困难和耗时的活动。因此,实践者经常执行不好或跳过测试。测试自动化可以帮助避免这种情况。因此,本文提出了一种新的方法来执行自动化的软件测试的Web应用程序的基础上,其导航。一方面,Web导航是使用浏览器遍历Web应用程序的过程。另一方面,功能需求是应用程序必须执行的操作。因此,对Web应用程序的正确导航的评估导致对指定功能需求的评估。所提出的方法来执行自动化是在四个层次:测试用例生成,测试数据推导,测试用例执行,测试用例报告。该方法由三种输入驱动:i)UML模型; ii)Selenium脚本; iii)XML文件。我们已经在一个名为自动测试平台的开源测试框架中实现了我们的方法。这项工作的验证已经进行了一个案例研究,其中的目标是一个真正的发票管理系统开发使用模型驱动的方法。

英文摘要:

Web applications are becoming more and more complex. Testing such applications is an intricate hard and time-consuming activity. Therefore, testing is often poorly performed or skipped by practitioners. Test automation can help to avoid this situation. Hence, this paper presents a novel approach to perform automated software testing for web applications based on its navigation. On the one hand, web navigation is the process of traversing a web application using a browser. On the other hand, functional requirements are actions that an application must do. Therefore, the evaluation of the correct navigation of web applications results in the assessment of the specified functional requirements. The proposed method to perform the automation is done in four levels: test case generation, test data derivation, test case execution, and test case reporting. This method is driven by three kinds of inputs: i) UML models; ii) Selenium scripts; iii) XML files. We have implemented our approach in an open-source testing framework named Automatic Testing Platform. The validation of this work has been carried out by means of a case study, in which the target is a real invoice management system developed using a model-driven approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑