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

Automation software black box testing system and method based on Android

A black-box testing and software technology, applied in the field of Android automation software black-box testing system, can solve the problem of high labor cost, achieve high degree of automation, ensure integrity, and excellent scalability.

Active Publication Date: 2013-10-02
BEIHANG UNIV
View PDF2 Cites 53 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Most importantly, the premise of model-based automatic generation technology is that a model with high applicability is required, while the modeling process in existing technologies is manual, which requires too much labor cost

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
  • Automation software black box testing system and method based on Android
  • Automation software black box testing system and method based on Android
  • Automation software black box testing system and method based on Android

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be further described in detail with reference to the accompanying drawings and embodiments. These implementation examples are described in sufficient detail to enable those skilled in the art to understand and practice the present invention. Logical, implementation and other changes may be made in the implementation without departing from the spirit and scope of the invention. Therefore, the following detailed description should not be taken in a limiting sense, and the scope of the present invention is defined only by the claims.

[0044] Such as figure 1 As shown, the Android-based automated software black-box testing system of the present invention mainly includes: event injection module, event dynamic execution and filtering module, GUI information automatic recording module, GUI state transition diagram establishment module, and test generation composition.

[0045] The whole implementation process is as follows:

[0046] 1. Use open s...

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 automation software black box testing system and method based on Android. The system comprises an event injection module, an event dynamic execution and filtering module, a GUI (Graphical User Interface) information automation recording module and a GUI state conversion diagram building module; under the condition of no application program code, the critical UI event of the Android and the system intent event are acquired through manpower, and are injected into the corresponding application of the Android equipment in the form of training scripts through a customized test tool, then in the process of execution of the training scripts, the system event is subjected to dynamic execution and filtering, GUI new window control information and window conversion relation both triggered by the relative event are recorded, and the GUI state conversion diagram model is automatically built according to the recorded information; finally, the test use case is generated according to the GUI state conversion diagram model. The method and the system can add the system event into the GUI model fast and efficiently, so that the integrity of the test is ensured, and the method and the system have the characteristics of higher degree of automation, strong reusability, excellent expandability and the like.

Description

technical field [0001] The invention belongs to the technical field of software testing, and relates to a model-based Android automated software black-box testing system and method, which are used to solve the problem of automated software testing of the Android system. Background technique [0002] With the rapid development of Android applications, the research on Android testing is relatively lagging behind, which has an immeasurable impact on the entire software development and testing process. Android automated testing came into being, and the problem of automated test case generation is the core of software testing, so the research on Android-specific automated test case generation technology is of great significance. [0003] At present, the automated test generation technology based on the Android system mainly includes: [0004] Automated test generation technology based on Monkey tool. Monkey is a command-line tool in the Android system that can run in an emulato...

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 BEIHANG UNIV
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