CN106294154A - Flow chart automated testing method based on FLEX exploitation - Google Patents
Flow chart automated testing method based on FLEX exploitation Download PDFInfo
- Publication number
- CN106294154A CN106294154A CN201610655788.9A CN201610655788A CN106294154A CN 106294154 A CN106294154 A CN 106294154A CN 201610655788 A CN201610655788 A CN 201610655788A CN 106294154 A CN106294154 A CN 106294154A
- Authority
- CN
- China
- Prior art keywords
- node
- outlet
- flow chart
- check
- test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses flow chart automated testing method based on FLEX exploitation, step is, collects flow chart node object, puts in node listing;Collect flow chart middle outlet object, put in outlet list;From node listing, search start node be labeled as N;Check the legitimacy of nodal community;If node is archival one, flow testing terminates, and test is passed through;Searching start node from outlet list is the outlet of N, exports outlet information after export inspection, starts to check the end node of outlet;Repeat step;After all nodes and outlet are completed, whether there is contact between start node and the archival one on checking flow chart, do not pass through if there is no then flow testing, logical error message cannot be walked to user interface output.The present invention can be to the Flow Chart Design automatic test of FLEX exploitation after completing, thus decision flow chart whether reasonable, it is achieved that the full automation of test, it is not necessary to manually participate in, and result is accurate, and time fugitive rate is high.
Description
Technical field
The present invention relates to the exploitation of the automatic test function of a kind of Flow Chart Design, refer in particular to based on FLEX exploitation
Flow chart automated testing method.
Background technology
FLEX refers to Adobe Flex, and based on the Macromedia Flash platform that it is proprietary, it is to cover support RIA
The exploitation of (Rich Internet Applications) and a series of technical combinations of deployment.Can be used for the design of flow chart.
At present, after Flow Chart Design completes, can only remove to observe whole flow chart and judge to design by artificial and whether close
Reason, if flow chart is a lot, workload will be very big, and be easy to appearance and judge inaccurate situation.Present stage existing one
A little functions for test flow chart, but it still suffers from many deficiencies.Such as, the automatic test of flow chart is not reserved connects
Mouthful, it is impossible to test custom content.If node is the most, test process may be long.
Summary of the invention
The invention provides a kind of flow chart automated testing method based on FLEX exploitation, its object is to solve flow process
G-Design is not available for automatic test problem after completing.
Flow chart automated testing method based on FLEX exploitation, comprises the following steps:
1) collect all node objects in whole flow chart, be then placed in node List list;
2) collect all outlet ports (line between node and the node) object in whole flow chart, be then placed in exporting List row
In table;
3) from node List, the start node of flow process is searched, if failing to find, to user interface output error message, test
Terminate;If finding, carry out step 4)
4) labelling is currently examined node for " N ";
5) check the legitimacy of nodal community, check complete rear line interface outgoing inspection result, and with to hooking mark check
Complete;
6) if node N is archival one, flow testing terminates, and test is passed through;
7) searching start node from outlet List is the outlet of N, if the most do not found, then believes to user node output error
Breath, if there is 1 and above outlet, then starts simultaneously at inspection outlet, and when checked outlet starts to check, color is become
For orange, and a green arrow is had to move about along outlet along with the progress checked;
8) export outlet information after export inspection, start to check the end node of outlet;
9) above step 4 is repeated) ~ 8);
10), after all nodes and outlet are completed, whether exist between start node and the archival one on checking flow chart
Contact, does not passes through if there is no then flow testing, cannot walk logical error message to user interface output.
The Flow Chart Design automatic test that FLEX can be developed after completing by the present invention, thus decision flow chart is the most reasonable
Feasible, it is achieved that the full automation of test, it is not necessary to manually participate in, and result is accurate, and time fugitive rate is high.
Detailed description of the invention
The detailed description of the invention of the present invention is as follows:
Flow chart automated testing method based on FLEX exploitation, step is:
1) collect all node objects in whole flow chart, be then placed in node List list;
2) collect all outlet ports (line between node and the node) object in whole flow chart, be then placed in exporting List row
In table;
3) from node List, the start node of flow process is searched, if failing to find, to user interface output error message, test
Terminate;If finding, carry out step 4)
4) labelling is currently examined node for " N ";
5) checking the legitimacy of nodal community, in user interface, the node N upper right corner shows a dynamic hourglass, then starts to check
Its nodal community the most legal (nodename, type, little attribute), checks complete rear line interface outgoing inspection result,
And with complete to hooking mark check;
6) if node N is archival one, flow testing terminates, and test is passed through;
7) searching start node from outlet List is the outlet of N, if the most do not found, then believes to user node output error
Breath, if there is 1 and above outlet, then starts simultaneously at inspection outlet, and when checked outlet starts to check, color is become
For orange, and a green arrow is had to move about along outlet along with the progress checked;
8) export outlet information after export inspection, start to check the end node of outlet;
9) above step 4 is repeated) ~ 8);
10), after all nodes and outlet are completed, whether exist between start node and the archival one on checking flow chart
Contact, does not passes through if there is no then flow testing, cannot walk logical error message to user interface output.
Foregoing description has illustrated explanation and the description of invention.It is not configured to limit the invention to disclosed
Form and mode.According to above mode, can revise accordingly or change.It is to be better described that example is discussed
The principle of the present invention and practicality thereof, thus utilize the present invention carry out various amendment and meet other specific demand.All this
A little modifications and variations are when understanding according to fair and legal right, and according to accessory claim, these modifications and variations are all
It is within the scope of the present invention.
Claims (1)
1. flow chart automated testing method based on FLEX exploitation, comprises the following steps:
1) collect all node objects in whole flow chart, be then placed in node listing;
2) collect all outlet ports (line between node and the node) object in whole flow chart, be then placed in exporting list
In;
3) from node listing, the start node of flow process is searched, if failing to find, to user interface output error message, test
Terminate;If finding, carry out step 4);
4) labelling is currently examined node for " N ";
5) check the legitimacy of nodal community, check complete rear line interface outgoing inspection result, and with to hooking mark check
Complete;
6) if node N is archival one, flow testing terminates, and test is passed through;
7) searching start node from outlet list is the outlet of N, if the most do not found, then believes to user node output error
Breath, if there is 1 and above outlet, then starts simultaneously at inspection outlet, and when checked outlet starts to check, color is become
For orange, and a green arrow is had to move about along outlet along with the progress checked;
8) export outlet information after export inspection, start to check the end node of outlet;
9) above step 4 is repeated) ~ 8);
10), after all nodes and outlet are completed, whether exist between start node and the archival one on checking flow chart
Contact, does not passes through if there is no then flow testing, cannot walk logical error message to user interface output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610655788.9A CN106294154B (en) | 2016-08-11 | 2016-08-11 | Flow chart automated testing method based on FLEX exploitations |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610655788.9A CN106294154B (en) | 2016-08-11 | 2016-08-11 | Flow chart automated testing method based on FLEX exploitations |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106294154A true CN106294154A (en) | 2017-01-04 |
CN106294154B CN106294154B (en) | 2018-08-24 |
Family
ID=57668790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610655788.9A Active CN106294154B (en) | 2016-08-11 | 2016-08-11 | Flow chart automated testing method based on FLEX exploitations |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294154B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107452043A (en) * | 2017-07-27 | 2017-12-08 | 东软集团股份有限公司 | Network graphic bus connection method, application and visualization terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040103402A1 (en) * | 2002-11-25 | 2004-05-27 | International Business Machines Corporation | Conformance of computer programs with predetermined design structures |
CN101464797A (en) * | 2008-12-09 | 2009-06-24 | 北京星网锐捷网络技术有限公司 | Method and system for automatically generating test use case based on unified modeling language activity graph |
CN102053912A (en) * | 2011-01-06 | 2011-05-11 | 中国工商银行股份有限公司 | Device and method for automatically testing software based on UML (unified modeling language) graphs |
CN102566988A (en) * | 2010-12-14 | 2012-07-11 | 苏州工业园区谱芯科技有限公司 | Test case automatic generation method based on use utilization procedure digraphs and test method |
CN102662644A (en) * | 2012-02-29 | 2012-09-12 | 浙江大学 | Method for generating test case by using flow chart |
US20160103761A1 (en) * | 2014-10-11 | 2016-04-14 | Toshiba Global Commerce Solutions Holdings Corporation | Systems and methods for preparing an application testing environment and for executing an automated test script in an application testing environment |
-
2016
- 2016-08-11 CN CN201610655788.9A patent/CN106294154B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040103402A1 (en) * | 2002-11-25 | 2004-05-27 | International Business Machines Corporation | Conformance of computer programs with predetermined design structures |
CN101464797A (en) * | 2008-12-09 | 2009-06-24 | 北京星网锐捷网络技术有限公司 | Method and system for automatically generating test use case based on unified modeling language activity graph |
CN102566988A (en) * | 2010-12-14 | 2012-07-11 | 苏州工业园区谱芯科技有限公司 | Test case automatic generation method based on use utilization procedure digraphs and test method |
CN102053912A (en) * | 2011-01-06 | 2011-05-11 | 中国工商银行股份有限公司 | Device and method for automatically testing software based on UML (unified modeling language) graphs |
CN102662644A (en) * | 2012-02-29 | 2012-09-12 | 浙江大学 | Method for generating test case by using flow chart |
US20160103761A1 (en) * | 2014-10-11 | 2016-04-14 | Toshiba Global Commerce Solutions Holdings Corporation | Systems and methods for preparing an application testing environment and for executing an automated test script in an application testing environment |
Non-Patent Citations (2)
Title |
---|
ALINA BEYGELZIMER ET AL: "Test-Based Diagnosis: Tree and Matrix Representations", 《INTEGRATED NETWORK MANAGEMENT, 2005. IM 2005. 2005 9TH IFIP/IEEE INTERNATIONAL SYMPOSIUM ON》 * |
SUKHAMAY KUNDU: "Finite-State Modeling in Software Design: Some Fundamental Techniques", 《PROCEEDINGS OF THE NINTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107452043A (en) * | 2017-07-27 | 2017-12-08 | 东软集团股份有限公司 | Network graphic bus connection method, application and visualization terminal |
CN107452043B (en) * | 2017-07-27 | 2021-08-03 | 东软集团股份有限公司 | Network graph connection method, application and visual terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106294154B (en) | 2018-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105760296B (en) | Automatic test control method, device and terminal | |
CN105718371B (en) | A kind of regression testing method, apparatus and system | |
CN103761189B (en) | Test case management method and system | |
CN104991777A (en) | System and method for implementing view development of Web application automatic testing | |
CN108459967A (en) | Web application method for generating test case based on user interface state flow-chart | |
CN107563628A (en) | The method for building up and system of BIM components and construction task incidence relation | |
CN106355375B (en) | A kind of automatic materiel affirmation method | |
CN105589837B (en) | A kind of automatic errordetecting method of electronic document | |
CN104516813B (en) | The choosing method and device of the test node of Webpage | |
CN101350429A (en) | Hierarchical pairing method for lithium ion battery | |
WO2022183675A1 (en) | Semiconductor intelligent inspection system, intelligent inspection method, and storage medium | |
CN106126416B (en) | A kind of service combination path derivation method based on process layout | |
CN105389255B (en) | Automatic test method for comparing BMC OEM command return value with fixed information | |
CN109491913A (en) | Battery management system test method and system based on Internet of Things | |
CN109669363A (en) | A kind of automation simulation test optimization method based on state behavior tree | |
CN106294154A (en) | Flow chart automated testing method based on FLEX exploitation | |
CN112231201A (en) | Automatic batch regression testing method and system for functions of automatic machine of CTC system | |
CN114818601A (en) | Three-order RC equivalent circuit model parameter identification method for lithium ion battery | |
CN104301186B (en) | A kind of method and system for testing route forwarding table correctness | |
CN103365778B (en) | A kind of method and apparatus testing control | |
CN101650799A (en) | Discovery method of mismatched interaction between operation flows | |
CN103457957B (en) | A kind of network penetration test macro and method with adaptation function | |
CN105159835B (en) | A kind of pitching pile location acquiring method based on global superblock dominating figure | |
CN103440339B (en) | Method, device and system for searching application system change association objects | |
CN107329873A (en) | A kind of ICT test control systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |