Proceedings ArticleDOI
State-Based Testing of Ajax Web Applications
Alessandro Marchetto,Paolo Tonella,Filippo Ricca +2 more
- pp 121-130
Reads0
Chats0
TLDR
A novel state-based testing approach specifically designed to exercise Ajax Web applications that evaluates the approach on a case study in terms of fault revealing capability and the amount of manual interventions involved in constructing and refining the model required.Abstract:
Ajax supports the development of rich-client Web applications, by providing primitives for the execution of asynchronous requests and for the dynamic update of the page structure and content. Often, Ajax Web applications consist of a single page whose elements are updated in response to callbacks activated asynchronously by the user or by a server message. These features give rise to new kinds of faults that are hardly revealed by existing Web testing approaches. In this paper, we propose a novel state-based testing approach, specifically designed to exercise Ajax Web applications. The document object model (DOM) of the page manipulated by the Ajax code is abstracted into a state model. Callback executions triggered by asynchronous messages received from the Web server are associated with state transitions. Test cases are derived from the state model based on the notion of semantically interacting events. We evaluate the approach on a case study in terms of fault revealing capability. We also measure the amount of manual interventions involved in constructing and refining the model required by this approach.read more
Citations
More filters
Proceedings ArticleDOI
A practical guide for using statistical tests to assess randomized algorithms in software engineering
Andrea Arcuri,Lionel C. Briand +1 more
TL;DR: It is shown that randomized algorithms are used in a significant percentage of papers but that, in most cases, randomness is not properly accounted for, which casts doubts on the validity of most empirical results assessing randomized algorithms.
Proceedings ArticleDOI
Using GUI ripping for automated testing of Android applications
Domenico Amalfitano,Anna Rita Fasolino,Porfirio Tramontana,Salvatore De Carmine,Atif M. Memon +4 more
TL;DR: The results show that the GUI-based test cases are able to detect severe, previously unknown, faults in the underlying code, and the structured exploration outperforms a random approach.
Patent
Method and system for testing websites
TL;DR: In this article, a representative embodiment of a test-enabled web browser is presented, in which a user can select between alternative testing and analysis functional capabilities, selecting files in which to store recordings (scripts), choosing files into which to place test results and messages, and setting various parameters that affect how the test and analysis functions are performed.
Proceedings ArticleDOI
Invariant-based automatic testing of AJAX user interfaces
Ali Mesbah,Arie van Deursen +1 more
TL;DR: This work proposes a method for testing AJAX applications automatically, based on a crawler to infer a flow graph for all (client-side) user interface states, and identifies AJAX-specific faults that can occur in such states as well as DOM-tree invariants that can serve as oracle to detect such faults.
Proceedings ArticleDOI
A GUI Crawling-Based Technique for Android Mobile Application Testing
TL;DR: This paper presents a technique for rapid crash testing and regression testing of Android applications based on a crawler that automatically builds a model of the application GUI and obtains test cases that can be automatically executed.
References
More filters
Journal ArticleDOI
Comparing the Effectiveness of Software Testing Strategies
TL;DR: This study applies an experimentation methodology to compare three state-of-the-practice software testing techniques: a) code reading by stepwise abstraction, b) functional testing using equivalence partitioning and boundary value analysis, and c) structural testing using 100 percent statement coverage criteria.
Proceedings ArticleDOI
Analysis and testing of Web applications
Filippo Ricca,Paolo Tonella +1 more
TL;DR: A UML model of Web applications is proposed for their high-level representation, which is the starting point for several analyses, which can help in the assessment of the static site structure and drives Web application testing.
Journal ArticleDOI
Testing Web applications by modeling with FSMs
TL;DR: A system-level testing technique that combines test generation based on finite state machines with constraints with the goal of reducing the state space explosion otherwise inherent in using FSMs is proposed.
Book ChapterDOI
Document Object Model (DOM)
TL;DR: This chapter is the starting point to put everything covered to this point to practical usage and an understanding of what the DOM is and how to write code using the DOM extension.
Journal ArticleDOI
An event-flow model of GUI-based applications for testing
TL;DR: All of the models for various aspects of GUI testing are consolidated into one scalable event‐flow model and algorithms to semi‐automatically reverse‐engineer the model from an implementation are outlined.