Skip to Main Content
Software testing is a challenging work and Web application testing may be even more challenging owing to its dynamic behaviors and heterogeneous representations. In this paper, we propose a static analysis approach to automatically generate test cases for Web application. In our approach, application source code is analyzed to extract interfaces which are composed of input parameters with domain information and user navigation map which is composed of all the possible URLs from Web application source code, then through the navigation graph, a set of paths is selected and test cases are generated for each path. Our approach is illustrated by analyzing a simplified login validation JSP page in a student information management system.