为了产生更有效的测试用例,以Web应用为研究对象,按功能将Web应用划分成若干个功能构件,把Web应用看成是功能构件的集合,针对其相应的交互功能,用FSM对其功能交互行为进行建模。在此基础上提出了完整消息传递序列测试准则,并根据该测试准则生成抽象的测试用例集,以实现对Web应用交互性的测试,提高Web应用测试的有效性,力图实现Web应用测试的自动化。最后设计了一个工具原型用于测试用例的生成。
To generate more efficient test case,the web application is divided into a number of functional components,and the web ap-plication is be viewed as a set of functional components. FSM is used to model the functional interactive behavioral relationship. On the basis of it,a complete message pass sequence test criteria is proposed to generate abstract test cases and realize the test for the interaction of the web applications,to improve the efficiency of the web application and realize the automation of the testing. Additionally,a test case generation prototype is designed for the approach proposed.