DocumentCode
1835649
Title
An Interaction-Based Test Sequence Generation Approach for Testing Web Applications
Author
Wang, Wenhua ; Sampath, Sreedevi ; Lei, Yu ; Kacker, Raghu
Author_Institution
Dept. of Comp. Sci. & Eng., U. of Texas at Arlington, Arlington, TX
fYear
2008
fDate
3-5 Dec. 2008
Firstpage
209
Lastpage
218
Abstract
Web applications often use dynamic pages that interact with each other by accessing shared objects, e.g., session objects. Interactions between dynamic pages need to be carefully tested, as they may give rise to subtle faults that cannot be detected by testing individual pages in isolation. Since it is impractical to test all possible interactions, a trade-off must be made between test coverage (in terms of number of interactions covered in the tests) and test effort. In this paper, we present a test sequence generation approach to cover all pairwise interactions, i.e., interactions between any two pages. Intuitively, if a page P could reach another page Ppsila, there must exist a test sequence in which both P and Ppsila are visited in the given order. We report a test sequence generation algorithm and two case studies in which test sequences are generated to achieve pairwise interaction coverage for two Web applications. The empirical results indicate that our approach achieves good code coverage and is effective for detecting interaction faults in the subject applications.
Keywords
Web sites; dynamic pages; interaction-based test sequence generation approach; pairwise interaction coverage; testing Web applications; Companies; Fault detection; Government; Information systems; Laboratories; NIST; Navigation; Software testing; System testing; Systems engineering and theory; Software Testing; Web Application Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
High Assurance Systems Engineering Symposium, 2008. HASE 2008. 11th IEEE
Conference_Location
Nanjing
ISSN
1530-2059
Print_ISBN
978-0-7695-3482-4
Type
conf
DOI
10.1109/HASE.2008.53
Filename
4708879
Link To Document