Author:
Usman Asmau,Boukar Moussa Mahamat,Suleiman Muhammed Aliyu,Salihu Ibrahim Anka
Abstract
Mobile applications can recognize their computational setting and adjust and respond to actions in the context. This is known as context-aware computing. Testing context-aware applications is difficult due to their dynamic nature, as the context is constantly changing. Most mobile testing tools and approaches focus only on GUI events, adding to the deficient coverage of applications throughout testing. Generating test cases for various context events in Android applications can be achieved using reinforcement learning algorithms. This study proposes an approach for generating Android application test cases based on Expected State-Action-Reward-State-Action (E-SARSA), considering GUI and context events for effective testing. The proposed method was experimentally evaluated on eight Android applications, showing 48-96% line of code coverage across them, which was higher than Q-testing and SARSA.
Publisher
Engineering, Technology & Applied Science Research
Reference50 articles.
1. I. A. Salihu, R. Ibrahim, B. S. Ahmed, K. Z. Zamli, and A. Usman, "AMOGA: A static-dynamic model generation strategy for mobile apps testing," IEEE Access, vol. 7, pp. 17158–17173, Jan. 2019, https://doi.org/10.1109/ACCESS.2019.2895504.
2. H. Muccini, A. Di Francesco, and P. Esposito, "Software testing of mobile applications: Challenges and future research directions," in 2012 7th International Workshop on Automation of Software Test (AST), Zurich, Switzerland, Jun. 2012, pp. 29–35.
3. A. S. Alkarim, A. Al-Malaise Al-Ghamdi, and M. Ragab, "Ensemble Learning-based Algorithms for Traffic Flow Prediction in Smart Traffic Systems," Engineering, Technology & Applied Science Research, vol. 14, no. 2, pp. 13090–13094, Apr. 2024.
4. I. A. Salihu, R. Ibrahim, and A. Usman, "A Static-dynamic Approach for UI Model Generation for Mobile Applications," in 2018 7th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, India, Aug. 2018, pp. 96–100.
5. D. Chaffey, "Statistics on consumer mobile usage and adoption to inform your mobile marketing strategy mobile site design and app development," Smart Insights, 2021.