DocumentCode
1955100
Title
A Static Analysis Approach for Automatic Generating Test Cases for Web Applications
Author
Wang, Minghui ; Yuan, Jie ; Miao, Huaikou ; Tan, Gemiao
Author_Institution
Sch. of Comput. Eng. & Sci., Shanghai Univ., Shanghai
Volume
2
fYear
2008
fDate
12-14 Dec. 2008
Firstpage
751
Lastpage
754
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.
Keywords
Internet; graph theory; program diagnostics; program testing; Web application testing; application source code; automatic generating test cases; navigation graph; software testing; static analysis; Algorithm design and analysis; Application software; Automatic testing; Data mining; Explosions; Information analysis; Navigation; Software testing; State-space methods; Uniform resource locators; Web application; path slicing; static analysis; symbolic execution; test case;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Science and Software Engineering, 2008 International Conference on
Conference_Location
Wuhan, Hubei
Print_ISBN
978-0-7695-3336-0
Type
conf
DOI
10.1109/CSSE.2008.716
Filename
4722159
Link To Document