Capture-Replay Testing for Android Applications
Chien‐Hung Liu, Chien Yu Lu, Shan Cheng, Koan Yuh Chang, Yung Chia Hsiao, Weng Ming Chu · 2014
With the widespread popularity of Android devices, the number of Android applications has increased dramatically in recent years. In order to assure the quality of the applications, Android testing has drawn extensive attention. This paper proposes an approach to automate the testing of Android applications based on the Capture and Replay method. Particularly, the user events of Android applications are captured and converted into Robotium test scripts that can be executed to replay the recorded actions of users. The approach also allows inserting assertions when capturing user interactions for verifying the outputs of Android UI components. A supporting tool is implemented to illustrate the usefulness of the proposed approach.