Font Size: a A A

The Design And Implementation Of Android UI Automated Testing Tool Based On Recording And Playback Method

Posted on:2016-11-05Degree:MasterType:Thesis
Country:ChinaCandidate:S C ZhongFull Text:PDF
GTID:2308330482451610Subject:Software engineering
Abstract/Summary:PDF Full Text Request
As a result of the high development of the Mobile Internet, the Android mobile phones are used by more and more people. A good design and friendly User Interface (UI) has become the most important factor for the user to choose an application, as the UI of mobile phone is the main way to interact with the user. So the testing of the UI has become crucial. The UI and functional testing is performed manually in most of the software companies. The UI automatic testing is used rarely because the UI automatic tests are hard to develop and maintain. There are many UI automatic testing tools developed by the domestic and foreign companies. But most of the known tools have problems. For instance, some tools do not work very well of recording and playback the multi-touch gesture such as pan or zoom. And some other tools use specific development language which is hard to learn and develop automation test scripts.This thesis is aim to solve the problem of automatic testing which is hard to develop the automatic test scripts and simulate the multi-touch gesture. The main works of this thesis are as follows.First, this thesis investigated the framework and the multi-touch technology of the Android system, and then implemented a method to simulate the multi-touch gesture and encapsulated it to a library which can be used in the automatic testing.Second, this thesis developed an Android client application which are used to perform the instructions from the sever on PC, capture the screen shots and monitor the status of the application under test.Third, this thesis designed and implemented a test server, which is running on the computer, to record test script, run test cases and perform testing verification. It works with the client on the mobile to finish the testing tasks.This automated testing tool is applied in the Tencent Map project. It is proved that the tool is very easy to use and convenient to record script. It is also stable and effective when running cases. It greatly improved the efficiency of automatic testing.
Keywords/Search Tags:Android automatic testing, UI automation, recording and playback method, simulation of multi-touch gesture on Android
PDF Full Text Request
Related items