Testing Component-Based Web Applications Using Component Automata
Zhongsheng Qian · 2009
Web testing is a promising technique to ensure the high quality of Web applications. This work regards a Web application as the composition of different interacting components. A composite component consists of several other components. A Component Interaction Diagram (CID) is constructed from the specification of the Web application under test. The CID is described in XML fashion. For each component, a component automaton is established. According to the CID, the Component Test Sequences (CTSs) are generated. The CTSs are in fact the interacting sequences of the components. The test cases, which are individual XML documents, are the CTSs with input data and then the Web testing becomes the testing of component interaction automata. Finally, the evaluation of Component Test Sequence Coverage (CTSC) is performed and a method to increase the CTSC is presented.