Font Size: a A A

Discovery And Analysis Of Android Application Crash Based On Traversal Algorithm

Posted on:2018-09-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2348330518493480Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
In recent years, with the rapid progress of mobile network, user demand for android applications' quality are constantly changing. With the shortened development cycle and increased in application functional complexity, traditional manual testing has been unable to guarantee the projects' quality and meet the business needs of the user. Therefore, the automated testing has become an inevitable trend. But the need of improving test efficiency and guaranteeing test quality with low-cost in the environments of in high-iterative, demand fluctuant network has brought the automated testing technology great challenges. In addition,the choice of the best traversal path need to refer to multiple factors because of the environment of the Android application's architecture is complex. The mobile traversal testing has to control the path's depth and breadth in order to guarantee the path is effective during the process of testing. Therefore, in the future mobile internet testing, low-cost automated testing, effective traversal testing and comprehensive testing will be the explicit aim of the automated testing technology development.Aiming at this problem this article has conducted the thorough research to the technology. And on this basis the article proposes a comprehensive framework to achieve high efficiency of discovering crash.Details are as follows: the research status of Android system technology and the automated testing technology, the path traversal algorithm,performance-testing tools, implement the functions of the proposed scheme and analysis the test results. Based on the summary of the testing technology, the achievements of this article are described as follows:(1)The selective path traversal algorithm is proposed. The article presents three traversal methods based on the traditional depth-first traversal algorithm. Selective traversal testing technology is implemented by the three traversal methods which are key path traversal, probable path traversal and all-path traversal. The testing based on traditional traversal method, which has a low efficiency and a high-cost, can not guarantee the coverage efficiently and is not in accord with the development tendency of mobile internet. The testing results show that the proposed algorithm can avoid traversing activity aimlessly, make a path analysis pointedly,and guarantee the test tools' low-cost maintainability and high coverage rates effectively.(2) The automated testing framework integrative scheme is proposed.This article designs the client performance-testing tools which is integrated with the framework from the point of the expansible. The framework makes a full performance testing with the traversal testing,guarantees the module independence and interconnection with the configuration parameters and the test-case, and improves the maintainability.The framework can make a specific performance-testing according to the business requirements and collect test data effectively. A comprehensive and low-cast testing is implemented successfully which has comprehensive and reliable testing results. The framework can shorten the test cycle, discover the crash accurately and analysis the log files concretely, and raise the quality of software.
Keywords/Search Tags:Android application, traversal algorithm, automated testing, performance testing
PDF Full Text Request
Related items