Research Articles in Computer Science
Permanent URI for this collectionhttps://repository.nileuniversity.edu.ng/handle/123456789/50
Browse
Search Results
Item Test Case Generation Approach for Android Applications using Reinforcement Learning(Engineering, Technology & Applied Science Research, 2024-04-27) Moussa Mahamat Boukar; Muhammed Aliyu Suleiman; Ibrahim Anka SalihuMobile 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.