摘要
由于Web应用系统的迅速发展,如何进行有效的Web测试对于保证Web系统的可靠性越来越重要。设计的Web功能测试用例自动执行系统,改进了传统的录制/回放方式,可以模拟用户操作,对Web系统进行功能性测试。提出一种基于XML的测试用例的结构描述,称之为X-Case,对于经常更新的Web系统,修改X-Case结构内的相关数据就可以进行回归测试,不需要重新生成大量的测试用例,节约Web测试的成本。该系统支持部分测试数据自动生成,对动态和静态网页均能执行自动化测试。
Web applications have grown faster and faster and become more and more complex.How to confirm the quality and the reliability of these systems has been ever important.This paper proposed a test case automatic execution system,which based on a X-Case structure,which authors designed using Extensible Markup Language(XML).It can perform like a real user in the terminal system to test any Web application.The system is characterized by high reusability of test cases,only the first testing of test cases needs to be generated.For some of the changes of a Web system,authors just need to change the relevant parameter of X-Case and do the test procedure again.This system supports parts of the test data auto-generating and does the test well no matter the pages are static or dynamic.
出处
《计算机工程与应用》
CSCD
北大核心
2009年第4期82-85,共4页
Computer Engineering and Applications
基金
天津市自然科学基金No.06YFJMJC00300~~