提出了一种活动图(AD)模型驱动的Web应用程序测试方法,从活动图中生成满足往返路径覆盖准则的测试序列,基于测试输入语法生成驱动测试序列执行的测试数据,将测试数据整合到测试序列中生成测试用例,运行测试用例进行测试并生成测试结果的报告。实现了一个原型工具以支持活动图模型驱动的Web应用程序测试方法,设计并完成了一个实验,验证了该方法的可行性与有效性。
A testing method driven by Activity Diagram ( AD) model for Web applications was proposed. This approach generated test sequences from activity diagrams that satisfied round-trip coverage criteria, generated test data that drive the execution of test sequences based on test input syntax, integrated test data to test sequences for test case generation, ran the test cases for Web application testing, and reported the test results. A prototype tool that supported the proposed approach was implemented. An experiment has been carried out to validate the feasibility and effectiveness of the presented approach.