Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System and method for mobile terminal application testing based on code injection

A code injection and application testing technology, applied in the mobile terminal application testing system and field based on code injection, can solve the problems of unfavorable large-scale automated testing, cumbersome procedures, troublesome operation, etc., to improve the efficiency of testing, simple and convenient operation The effect of the test

Active Publication Date: 2016-10-26
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to obtain the smooth operation of the application, the automated test platform often requires the developer to embed the relevant development kit and corresponding code according to the process before uploading the application for testing. The procedures are cumbersome and the operation is troublesome, which is not conducive to large-scale automated testing.

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
  • System and method for mobile terminal application testing based on code injection
  • System and method for mobile terminal application testing based on code injection
  • System and method for mobile terminal application testing based on code injection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Principle of the present invention:

[0036] 1. Code injection technology does not need to obtain the source code of the application and does not need to modify the source code of the application. It uses memory code injection to directly write the code into the system process, and can detect and analyze multiple applications running on mobile devices. Compared with the traditional method, the operation is simpler, saves time and effort, and has high accuracy.

[0037] Existing tools for analyzing application smooth performance often require application source code such as Systrace or data that cannot record and retain smooth application running, such as FPS Meter. According to the characteristics of the mobile terminal testing process, the code injection technology is designed to realize the real-time detection of the application and record the running data without modifying the application source code, which greatly facilitates the automated testing.

[0038] Such as ...

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 discloses a system and method for mobile terminal application testing based on code injection. The system comprises a process hijacking module and a full-automatic testing module, wherein the process hijacking module detects a system process, a unique identifier of the process is acquired and the process is hijacked if the process exists, a code used to acquire process information is injected and can be used to detect and acquire running information of the process in real time if hijacking is successful, a failure code is returned if the hijacking fails, and a process inexistence code is returned if the process does not exist; and the full-automatic testing module executes a cycle to acquire information of frame drawing time in graphic drawing. The system and the method disclosed by the invention are characterized in that automatic testing and analysis are carried out to graphic running fluency during application running; testing efficiency is increased; source codes of an application do not need to be modified; the method is applicable to mobile Android equipment with diversified screen sizes; and an automatic testing platform and a developer can test the application much more conveniently.

Description

technical field [0001] The invention belongs to the technical field of software testing, and relates to a mobile terminal application software testing method and a complete software testing system. In particular, the code injection technology is used to automatically obtain the frame rate and frame drawing time information of the graphic drawing of the application operation, which can be applied Automatic testing of mobile software, compatibility testing and performance testing of smooth operation of software such as game videos. Background technique [0002] As an open and open source platform, Android has developed rapidly. At present, in terms of the number of applications, the number of developers and market share, Android has achieved success. According to statistics, mobile devices have a variety of screen sizes and resolutions, the number of which has exceeded tens of billions, and the number of applications is also countless. Whether they can run smoothly on the devi...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3692
Inventor 黄甜张震宇
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products