Unlock instant, AI-driven research and patent intelligence for your innovation.

Automated testing method for flowchart based on flex

A technology of automated testing and flowcharts, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem that flowcharts cannot be automated testing, and achieve the effect of short time, accurate results and high efficiency

Active Publication Date: 2018-08-24
上海泛微网络科技股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a flow chart automated testing method developed based on FLEX, the purpose of which is to solve the problem that automatic testing cannot be performed after the flow chart design is completed

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

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0018] Based on the flow chart automated testing method developed by FLEX, the steps are:

[0019] 1) Collect all node objects in the entire flowchart, and then put them into the node List list;

[0020] 2) Collect all the exit objects in the entire flowchart, that is, the connection line objects between nodes, and put them into the exit list list;

[0021] 3) Find the starting node of the process from the node list, if not found, output an error message to the user interface, and the test ends; if found, go to step 4)

[0022] 4) Mark the currently checked node as "N";

[0023] 5) Check the legitimacy of node attributes. A dynamic hourglass is displayed in the upper right corner of node N on the user interface, and then start to check whether its node attributes are legal (node ​​name, type, small attributes), and output the inspection results to the user interface after the inspection is completed. And check it with a tick mark;

[0024] 6) If node N is an archiving node,...

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 flow chart automatic testing method based on FLEX development. The method comprises the following steps: collecting a flow chart node object to be placed in a node list; collecting an outlet object in the flow chart to be placed in an outlet list; searching an initial node from the node list and marking as N; checking the legality of the node attribute; if the node is anarchiving node, ending the flow testing and passing the testing; searching the outlet whose initial node is N from the outlet list, outputting outlet information after the outlet checking is finished, starting checking the end node of the outlet; repeating the steps; verifying whether the startnode on the flow chart has relation with the archiving node after all node and outlet testing is finished, if the relation is inexistent, not passing the flow testing, and outputting error information of passing failure to a user interface. The flow chart design of the FLEX development can be automatically tested after the testing method is finished, thereby judging whether the flow chart is reasonable and feasible, the full automation of the testing is realized without artificial participation; the result is accurate, the time is short, and the efficiency is high.

Description

technical field [0001] The invention relates to the development of an automated testing function for flowchart design, in particular to an automated testing method for flowcharts developed based on FLEX. Background technique [0002] FLEX refers to Adobe Flex, based on its proprietary Macromedia Flash platform, which is a series of technology combinations that support the development and deployment of RIA (Rich Internet Applications). Can be used for flowchart design. [0003] At present, after the flow chart design is completed, it is only possible to judge whether the design is reasonable by artificially observing the entire flow chart. If there are many flow charts, the workload will be heavy, and it is easy to make inaccurate judgments. At this stage, there are some functions for testing flowcharts, but there are still many deficiencies. For example, the automated test of the flow chart has no reserved interface and cannot test custom content. If there are many nodes,...

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): G06F11/36
CPCG06F11/3688
Inventor 韦利东
Owner 上海泛微网络科技股份有限公司