• DocumentCode
    635195
  • Title

    Guided test generation for web applications

  • Author

    Thummalapenta, Suresh ; Lakshmi, K.V. ; Sinha, S. ; Sinha, N. ; Chandra, Swarup

  • Author_Institution
    IBM Res., Bangalore, India
  • fYear
    2013
  • fDate
    18-26 May 2013
  • Firstpage
    162
  • Lastpage
    171
  • Abstract
    We focus on functional testing of enterprise applications with the goal of exercising an application´s interesting behaviors by driving it from its user interface. The difficulty in doing this is focusing on the interesting behaviors among an unbounded number of behaviors. We present a new technique for automatically generating tests that drive a web-based application along interesting behaviors, where the interesting behavior is specified in the form of “business rules.” Business rules are a general mechanism for describing business logic, access control, or even navigational properties of an application´s GUI. Our technique is black box, in that it does not analyze the application´s server-side implementation, but relies on directed crawling via the application´s GUI. To handle the unbounded number of GUI states, the technique includes two phases. Phase 1 creates an abstract state-transition diagram using a relaxed notion of equivalence of GUI states without considering rules. Next, Phase 2 identifies rule-relevant abstract paths and refines those paths using a stricter notion of state equivalence. Our technique can be much more effective at covering business rules than an undirected technique, developed as an enhancement of an existing test-generation technique. Our experiments showed that the former was able to cover 92% of the rules, compared to 52% of the rules covered by the latter.
  • Keywords
    Internet; authorisation; formal specification; graphical user interfaces; information systems; program testing; GUI states; Web applications; abstract state-transition diagram; access control; automatic test generation; business logic; business rules; enterprise applications; functional specification; functional testing; guided test generation; navigational properties; rule-relevant abstract paths; state equivalence; user interface; Abstracts; Access control; Business; Graphical user interfaces; Manuals; Navigation; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2013 35th International Conference on
  • Conference_Location
    San Francisco, CA
  • Print_ISBN
    978-1-4673-3073-2
  • Type

    conf

  • DOI
    10.1109/ICSE.2013.6606562
  • Filename
    6606562