Automatic Test Generation From GUI Applications For Testing Web Services

Graphical User Interface (GUI) Applications (GAPs) are ubiquitous and provide various services. Since many GAPs are not designed to exchange information (i.e., intemperate), companies replace legacy GAPs with web services, that are designed to intemperate over the Internet. However, it is laborious and inefficient to create unit test cases to test the web services. We propose a novel approach for generating tests for web services from legacy GAPs. This approach combines accessibility technologies for accessing and controlling GAPs in a uniform way with a visualization mechanism that enables nonprogrammers to generate unit test cases for web services by performing drag-and-drop operations on GUI elements of legacy GAPs. We built a tool based on our approach, and we used this tool to generate unit test cases from different GAPs. We believe that our approach is unique, and our evaluation suggests that our approach is effective and it can be used to generate test cases from nontrivial GAPs.

[1]  Tao Xie,et al.  Automated Robustness Testing of Web Services , 2006 .

[2]  Frank Leymann,et al.  Web Services , 2004, Informatik-Spektrum.

[3]  Sheila A. McIlraith,et al.  Simulation, verification and automated composition of web services , 2002, WWW.

[4]  Robert C. Miller End User Programming for Web Users , 2003 .

[5]  David Lorge Parnas,et al.  Generating a test oracle from program documentation: work in progress , 1994, ISSTA '94.

[6]  Paul R. Ritter,et al.  Experience in testing the Motif interface , 1991, IEEE Software.

[7]  Sebastián Uchitel,et al.  Model-based verification of Web service compositions , 2003, 18th IEEE International Conference on Automated Software Engineering, 2003. Proceedings..

[8]  Debra J. Richardson,et al.  TAOS: Testing with Analysis and Oracle Support , 1994, ISSTA '94.

[9]  Peter A. Vogel,et al.  An integrated general purpose automated test environment , 1993, ISSTA '93.

[10]  Debra J. Richardson,et al.  Specification-based test oracles for reactive systems , 1992, International Conference on Software Engineering.

[11]  Brad A. Myers User interface software technology , 1996, CSUR.

[12]  Shihong Huang,et al.  WSDLTest - A Tool for Testing Web Services , 2006, 2006 Eighth IEEE International Symposium on Web Site Evolution (WSE'06).

[13]  Alex Groce,et al.  Randomized Differential Testing as a Prelude to Formal Verification , 2007, 29th International Conference on Software Engineering (ICSE'07).

[14]  Chen Fu,et al.  Testing of java web services for robustness , 2004, ISSTA '04.

[15]  Guido Dedene,et al.  Realities of Off-Shore Reengineering , 1995, IEEE Softw..

[16]  Qing Yu,et al.  Oracles for checking temporal properties of concurrent systems , 1994, SIGSOFT '94.

[17]  Carol Boyer Libraries and Section 508 of the Rehabilitation Act , 2000 .

[18]  W. M. McKeeman,et al.  Differential Testing for Software , 1998, Digit. Tech. J..