Title :
Test purpose-based test generation for web applications
Author :
Li, Liping ; Qian Zhongsheng ; He, Tao
Author_Institution :
Comput. & Inf. Inst., Shanghai Second Polytech. Univ., Shanghai, China
Abstract :
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.
Keywords :
Internet; Unified Modeling Language; finite state machines; program testing; search problems; FSM; UML; Web application; depth-first search algorithm; finite state machine; on-the-fly test model; system under testing; test purpose-based test generation; Application software; Automata; Automatic testing; Explosions; Finance; Information technology; Java; System testing; Unified modeling language; Web pages;
Conference_Titel :
Networked Digital Technologies, 2009. NDT '09. First International Conference on
Conference_Location :
Ostrava
Print_ISBN :
978-1-4244-4614-8
Electronic_ISBN :
978-1-4244-4615-5
DOI :
10.1109/NDT.2009.5272184