A Generation Method of Automation Test Cases Based on Android

Ming Zhang,Baolei Cheng,Weizhong Zha,Jiwen Yang
DOI: https://doi.org/10.2991/icmmct-17.2017.167
2017-01-01
Abstract:Aiming at the problems that complex testing process, incomplete testing and poor reusability of test cases for Android automated testing methods, we propose a generation method of automation test cases based on control traversal under the guidance of standard path. The method firstly records a test script as a standard path by the tester, then automatically acquires the control in the interface and generates the control relationship graph. Finally, the test case generation method based on the depth-first search was used to traverse the control relationship graph to generate test cases. The test case was used to test the Android mobile App. The results show that the test case generated by this method improves the test coverage and script reusability, simplifies the test operation and proves the feasibility of the method.
What problem does this paper attempt to address?