Android application software automation testing method based on pile pitching technology

A technology for automated testing and application software, applied in software testing/debugging, etc., can solve the problems of unable to automate GoogleMap testing, not supporting automated testing, etc., and achieve the effect of reliable testing and simple methods

Inactive Publication Date: 2014-08-06
刘玉光
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since Google Map (V2) is integrated by the test software as a third-party library, and Google Map (v2) does not support automated testing, automated testing of Google Map (v2) cannot be performed under the robotium framework

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android application software automation testing method based on pile pitching technology
  • Android application software automation testing method based on pile pitching technology
  • Android application software automation testing method based on pile pitching technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] The present invention will be described in detail below with reference to the drawings and specific embodiments. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation mode and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0075] Such as figure 1 As shown, in order to ensure the original logic integrity of the tested Android application and the feasibility of plugging, the method of the present invention is divided into the following steps:

[0076] 1. Decompile the tested Android application

[0077] After decompiling the Android application, resource files and smali source files will be generated.

[0078] 2. Implement the probe code and insert the probe code

[0079] According to the grammar of the Smali language and the characteristics of object-oriented programming, the probe code insertion is realized through th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an Android application software automation testing method based on the pile pitching technology. The method comprises the following steps of (1) decompiling tested Android application software, generating a resource file and a smali source file, (2) compiling probe codes, inserting the probe codes into the smali source file, obtaining the corrected smali file, (3) performing recompilation on the smali file obtained in the step (2), generating the application software for testing, and adopting the application software for completing the test of the tested Android application software. Compared with the prior art, the pile pitching technology is adopted to compile the probe codes and achieve inserting of the probe codes, finally the test of the Android application software is completed, and the method has the advantages of being simple and convenient to implement, reliable in test and the like.

Description

Technical field [0001] The invention relates to a software testing method, in particular to an automatic testing method for Android application software based on instrumentation technology. Background technique [0002] 1. Difficulties of current automated testing of Android applications [0003] The current automated testing of Android application software generally uses the robotium framework to write automated test cases. Through the robotium framework, when automated test cases are executed, the UI information of the tested Android application software can be obtained, and the user can also simulate the user's button or touch screen operation, so that the logic of the tested Android application software can be tested. [0004] However, due to the security limitations of the Android system, the robotium framework has problems in the following automated test scenarios: [0005] 1. The test case requires checking the Intent issued by the tested Android application to confirm the int...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 刘玉光
Owner 刘玉光
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products