会议专题

An Interaction-Based Test Sequence Generation Approach for Testing Web Applications

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 P, there must exist a test sequence in which both P and P 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.

Wenhua Wang Sreedevi Sampath Yu Lei Raghu Kacker

Dept.of Comp.Sci.& Eng.U.of Texas at Arlington Arlington, Texas 76019 Dept.of Information Systems U.of Maryland, Baltimore County Baltimore, Maryland 21250 Info.Technology Laboratory National Institute of Standards & Technology Gaithersburg, Maryland 20899

国际会议

11th IEEE High Assurance Systems Engineering Symposium(HASE 2008)(第十一届IEEE高可信系统工程国际研讨会)

南京

英文

209-218

2008-12-03(万方平台首次上网日期,不代表论文的发表时间)