Proceedings of the 2017 5th International Conference on Machinery, Materials and Computing Technology (ICMMCT 2017)

A Generation Method of Automation Test Cases Based on Android

Authors
Ming Zhang, Baolei Cheng, Weizhong Zha, Jiwen Yang
Corresponding Author
Ming Zhang
Available Online April 2017.
DOI
10.2991/icmmct-17.2017.167How to use a DOI?
Keywords
Automated Testing, Test Case, Standard Path, Control Traversal, Depth-First Search
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.

Copyright
© 2017, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the 2017 5th International Conference on Machinery, Materials and Computing Technology (ICMMCT 2017)
Series
Advances in Engineering Research
Publication Date
April 2017
ISBN
10.2991/icmmct-17.2017.167
ISSN
2352-5401
DOI
10.2991/icmmct-17.2017.167How to use a DOI?
Copyright
© 2017, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Ming Zhang
AU  - Baolei Cheng
AU  - Weizhong Zha
AU  - Jiwen Yang
PY  - 2017/04
DA  - 2017/04
TI  - A Generation Method of Automation Test Cases Based on Android
BT  - Proceedings of the 2017 5th International Conference on Machinery, Materials and Computing Technology (ICMMCT 2017)
PB  - Atlantis Press
SP  - 825
EP  - 831
SN  - 2352-5401
UR  - https://doi.org/10.2991/icmmct-17.2017.167
DO  - 10.2991/icmmct-17.2017.167
ID  - Zhang2017/04
ER  -