Atom manipulation encapsulation apparatus and method

A technology of atomic operation and encapsulation of modules, applied in the field of communication, can solve problems such as inconsistency in control acquisition and inability to identify custom controls

Inactive Publication Date: 2009-10-28
ZTE CORP
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention is made in consideration of the above-mentioned problems. Therefore, the main purpose of the present invention is to provide an atomic operation encapsulation mechanism to solve the problems in the related art that controls are not uniformly obtained and cannot identify custom controls.

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
  • Atom manipulation encapsulation apparatus and method
  • Atom manipulation encapsulation apparatus and method
  • Atom manipulation encapsulation apparatus and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Device embodiment

[0028] A series of automatic operations of the interface (simulating mouse and keyboard) can be refined into some most basic units, and these basic units can be called atomic operations. Atomic operations, or primitives, refer to instructions that can complete an interface operation. This instruction interacts with the interface of the system under test to simulate the mouse and keyboard to operate the interface, which can realize automated testing of the GUI. The atomic operation device (module) to be described below is the bottom layer of the automated test platform. It mainly completes the encapsulation of interface actions and interface controls. Since this layer only focuses on the operation of the interface, it does not add any business logic and only completes three Commonly used interfaces: get controls, perform actions, and wait. The present invention will be described in detail below.

[0029] In this embodiment, an atomic operation encap...

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 an atomic operation encapsulation device, comprising: a control action encapsulation module for encapsulating the controls; a graphical user interface entry, wherein the interface of the current active window is obtained through the graphical user interface entry; an atomic operation factory, wherein, The keyword execution entity obtains the atomic operation and the controls in the interface of the current active window through the atomic operation factory; the keyword execution entity is used to call the atomic operation to implement the corresponding business logic on the interface of the current active window; and the event trigger, It is used to execute the instruction generated by the atomic operation called by the entity according to the keyword, and simulate the corresponding operation on the control in the interface of the former active window. By using the present invention, the functions of control capture and event triggering can be performed stably, and a unified interface and a flexible expansion mechanism are used as the basic automation underlying driver to provide a technical basis for various automation applications.

Description

technical field [0001] The present invention relates to the field of communication, and in particular, to an atomic operation encapsulation apparatus and method. Background technique [0002] With business changes, there are more and more types of software products, and software product upgrades are getting faster and faster. Therefore, in many software development organizations, the testing department is under tremendous pressure. On the one hand, more and more software products have to be tested, on the other hand, it has to deal with shorter and shorter testing time, and in addition, it has to face stretched testing resources. [0003] Usually, software development organizations will use automated testing tools. Among them, automated testing based on GUI (graphical user interface) interface and Web mode is a relatively difficult field. The commonly used automated testing framework technology is based on Data-Driven Engine (DDE ) technology and test plan-driven framework,...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 李江
Owner ZTE CORP
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