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

Method for implementing code programming by graphical operations

A graphical and code technology, applied in the field of code programming, can solve problems such as inability to automatically execute, parse errors, and inability to execute test programs, and achieve the effect of reducing programming time, avoiding incompatibilities, and reducing requirements.

Active Publication Date: 2013-02-06
CHINA TECHENERGY +1
View PDF4 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Excessive reliance on the participation of testers: testers are required to send corresponding operation commands according to changes in the tested objects and test plans;
[0005] 2. Based on static structure: it can only save test data organized by testers, operation commands and text descriptions of test activities, but it cannot be automatically executed according to existing test cases;
[0006] 3. There is no better command import mechanism: since the commands are implemented through hard coding, new test commands can only be added through the upgrade of the test tool
[0007] In addition, each test program in the prior art has a limited application environment, and testers can only write codes according to the specified script format, which requires higher requirements for testers, and requires testers to be familiar with the function library information, otherwise, improper use will lead to parsing An error prevents the test program from executing

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
  • Method for implementing code programming by graphical operations
  • Method for implementing code programming by graphical operations
  • Method for implementing code programming by graphical operations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Such as figure 1 As shown, the method of the present invention utilizing graphical operations to realize code programming,

[0026] Including node modules: according to different tested devices and their related test equipment and corresponding test programs, establish test nodes corresponding to this test program; the test nodes in the node module include variable nodes that provide basic value type variable definitions, provide Array node for array definition, timestamp node for timestamp definition, expression node for regular operations on supported variables and arrays, function node for function call, judgment node and loop node for test judgment and loop Each node provides the user with an input interface according to its own attributes. The content of the test node in the specific node module is composed of a type identification indicating the type of the current node, a name identification indicating the name of the current testing node, a numerical identifica...

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 method for implementing code programming by graphical operations. The method is involved with a node module, a testing environment module, a flow chart module, a function module and a code output module. The node module is used for establishing test nodes corresponding to test programs according to different devices to be tested, related test devices and the corresponding test programs. The testing environment module is used for establishing a current operating environment for the flow chart module according to information of the device to tested, selected by a user. The flow chart module is used by the user to sequentially establish graphic flow charts formed by the test nodes according to the devices predicted for testing and the test nodes selected in correspondence to the corresponding test devices. The function module is used for storing and recording new functions and for supporting function calls regarding to the node module and the flow chart module. The code output module is used for converting the generated graphic flow charts into executable files formed by codes and outputting the files. The method is compatible with various testing environments (operating systems and CPU (central processing unit) environments) and is capable of providing graphical interface editing and testing logics to users and visually displaying the operating process and testing implication of function modules.

Description

technical field [0001] The invention relates to a programming method, in particular to a method for realizing code programming by using graphical operations. Background technique [0002] At present, in the development of software testing, various test logic description methods such as scripts, commands, and charts have emerged. Using scripts to describe the test logic, such as IBM's Rational software, describes the test logic through an industrially standardized scripting language, which is easy to use, maintainable, and expandable, and can well support automated testing. However, for system testing, The test script is less intuitive and requires higher coding ability of testers. [0003] In the field of nuclear power automatic control for board-level testing, a scheme has gradually been formed to execute the test by controlling the test equipment and the object under test for real-time data interaction through the command mechanism. This solution is easy to operate, has ...

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): G06F9/44G06F11/36
Inventor 刘建龙张亚栋程建明余春秀
Owner CHINA TECHENERGY
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