Test purpose-based test generation for web applications
Liping Li, Zhongsheng Qian, Tao He · 2009
A testing approach based on FSM and UML for Web applications is proposed in this paper in order to generate test cases automatically. Web applications are modeled using FSM and the test purpose which is a partial behavior of the SUT (system under testing) are specified by UML sequence diagrams, which can be converted automatically into FSM. Synchronous product is used to combine these two kinds of FSM for validating the test purpose against the specification of the Web application. The resulting synchronous product is called on-the-fly test model. Test cases are generated automatically while the test model is constructed on the fly based on depth-first search algorithm. This approach can solve the state explosion problem in some degree and reduces the number of test cases.