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.
CN103336742AActive Publication Date: 2013-10-02BEIHANG UNIV

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
BEIHANG UNIV
Publication Date
2013-10-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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