A Context-Aware Approach for Dynamic GUI Testing of Android Applications

Author(s):  
Haowen Zhu ◽  
Xiaojun Ye ◽  
Xiaojun Zhang ◽  
Ke Shen
Author(s):  
Diego Rodrigues de Almeida ◽  
Patrícia D. L. Machado ◽  
Wilkerson L. Andrade

2017 ◽  
Vol 27 (09n10) ◽  
pp. 1603-1612 ◽  
Author(s):  
Woramet Muangsiri ◽  
Shingo Takada

Automated GUI testing based on behavioral model is one of the most efficient testing approaches. By mining user usage, test scenarios can be generated based on statistical models such as Markov chain. However, these works require static analysis before starting the exploration which requires too much prerequisites and time. To address these challenges, we propose a behavioral-based GUI testing approach for mobile applications that achieves faster and higher coverage. The proposed approach does not conduct static analysis. It creates a behavioral model from usage logs by applying a statistical model. The events within the behavioral model are mapped to GUI components in a GUI tree. Finally, it updates the model dynamically to increase the probability of an event that rarely or never occurs when users use the application. The proposed approach was evaluated on four open-source Android applications, and compared with the state-of-the-art tools and manual testing. The main evaluation criteria are code coverage and ability to find errors. The proposed approach performed better than the current state-of-the-art automated testing tools in most aspects.


Author(s):  
Hanan Elazhary ◽  
Alaa Althubyani ◽  
Lina Ahmed ◽  
Bayan Alharbi Alharbi ◽  
Norah Alzahrani ◽  
...  

<p class="0abstract">Building context-aware mobile applications is one of the most ambitious areas of research. Such applications can change their behavior according to context or perform specific tasks in specific contexts. Regardless of the application, all context-aware mobile applications share the need to retrieve and process context information. This paper presents a Context Management tool for the Android platform (ACM). ACM allows easy access to internal on-board mobile sensors and hardware features extracting corresponding raw data. Raw context is processed into higher-level more human-readable context that is provided seamlessly to the mobile applications. Different methods are used for this purpose including fuzzy classifiers. Since different mobiles have different sensors and hardware features, ACM can adapt to the mobile device by deactivating access to unavailable ones. Information regarding the available sensors and hardware features and their specifications can also be queried. Additionally, applications can request notifications regarding context change or specific context values. In addition to providing developers with supporting classes and methods, ACM is accompanied by an application that allows developers to examine its functionality and capabilities before using it. The application can be also used to examine the readings of the different sensors in different situations and thus calibrate them as needed. Additionally, it can be used to modify and personalize default interpretations of raw context values to high-level ones. ACM has been tested empirically and the results show extreme interest of context-aware mobile application developers in its promising capabilities and that it is conducive to facilitating, speeding up and triggering development of many more of such applications.</p>


Sign in / Sign up

Export Citation Format

Share Document