The number of Web applications handling online transaction is increasing, but verification of the correctness of Web application development has been done manually. This paper proposes a method for modeling, verifying and testing Web applications. In our method, a Web application is modeled using two finite-state automata, i.e., a page automaton which specifies Web page transitions, and an internal state automaton which specifies internal state transitions of the Web application. General properties for checking the Web application design are presented in LTL formulae and they are verified using the model checker Spin. Test cases examining the behavior of the Web application are also generated by utilizing the counterexamples obtained as the result of model checking. We applied our method to an example Web application to confirm its effectiveness.
A similar model checking approach is presented in REF , where a web application is modeled as a pair of automata (one for page navigation, another for internal state transitions), and properties about reachability of pages etc.
Modeling, Verification and Testing of Web Applications Using Model Checker
IEICE Transactions
IEICE Transactions
Computer Science