A Static Analysis Approach for Automatic Generating Test Cases for Web Applications

  • Authors:
  • Minghui Wang;Jie Yuan;Huaikou Miao;Gemiao Tan

  • Affiliations:
  • -;-;-;-

  • Venue:
  • CSSE '08 Proceedings of the 2008 International Conference on Computer Science and Software Engineering - Volume 02
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.