CN103885883B - A kind of method test process being carried out real-time exhibition by network - Google Patents

A kind of method test process being carried out real-time exhibition by network Download PDF

Info

Publication number
CN103885883B
CN103885883B CN201410141655.0A CN201410141655A CN103885883B CN 103885883 B CN103885883 B CN 103885883B CN 201410141655 A CN201410141655 A CN 201410141655A CN 103885883 B CN103885883 B CN 103885883B
Authority
CN
China
Prior art keywords
test
network
node
definition
framework
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.)
Active
Application number
CN201410141655.0A
Other languages
Chinese (zh)
Other versions
CN103885883A (en
Inventor
张水凌
杨铭
李林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Electric Power Information Technology Co Ltd
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Electric Power Information Technology Co Ltd
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Jiangsu Electric Power Information Technology Co Ltd, Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410141655.0A priority Critical patent/CN103885883B/en
Publication of CN103885883A publication Critical patent/CN103885883A/en
Application granted granted Critical
Publication of CN103885883B publication Critical patent/CN103885883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method test process being carried out real-time exhibition by network: the object taxonomic revision that be there is a need to test in SAP system is become multiple testing process, each testing process comprises function to be tested and for testing the test script of this function.With wall scroll testing process for test list object, by means of SAP NETCHART network, with the function point in frame representation testing process, represent the test script for testing this function with node, link each test script with link according to test executive sequence and form a test operation flow interface constructed by network.The method energy fast and easy Wrong localization position in whole flow process, it is not necessary to test execution completes, and user just can learn the execution state of all test scripts, if wherein certain node performs mistake, end of test, has saved the substantial amounts of testing time.

Description

A kind of method test process being carried out real-time exhibition by network
Technical field
The invention belongs to automatic test field, specifically one, by network, test process is carried out reality Time show method.
Particularly relate to the business object such as the operation flow for SAP modules, functional module and carry out automatization's survey During examination, operation flow is shown with network, relies on the change of real-time monitoring pattern to monitor the one side of test process Method.
Background technology
The development applied in each field along with automatic test, people's demand visual to test process becomes day Benefit is urgent.From the point of view of informatization enterprise uses the analysis result of automated testing method, it is possible to achieve according to business Flow process carries out automatic test, but is essentially all and shows test result in the way of the output of workbench word, Having the disadvantages that 1) testing process is the most directly perceived;2) position made mistakes a little in whole operation flow is lacked fixed Position;3) only show the test log of whole testing process, lack the interactive display to concrete business object daily record. Along with the appearance of above etc. problem, one can be by background test Real-time Feedback test mode and result to foreground page Face, can monitor the real-time condition of current business flow process test clearly, and can quick and precisely alignment error point Demand at graphical user's methods of exhibiting of the particular location of operation flow becomes the most urgent.
Summary of the invention
In order to overcome existing automatic test method of testing can not the problem of Real-time Feedback test mode, the present invention's Purpose is to provide a kind of method test process being carried out real-time exhibition by network, and the method will test object Graphically, according to graphic change real-time monitoring automation test process, by background test Real-time Feedback test mode With result to front page layout, the real-time condition of current business flow process test can be monitored clearly, and can be quickly It is accurately positioned and makes mistakes a little at the particular location of operation flow.
The purpose of the present invention is achieved through the following technical solutions:
A kind of method test process being carried out real-time exhibition by network, it is characterised in that the method include with Lower step:
1) definition shape, including definition graphic attribute and form: i.e. defined function point frame, test script joint Point, the graphic attribute of relational links, including the shape attribute of figure;Framework and node shape all select VC_ARROW_RIGHT flechette-type;SAP NETCHART network framework with in node word describe, figure Element is referred to as field, and the particular location of each field is determined by graphical format, by definition format by framework or joint Point is divided into the field of multiple lines and multiple rows, represents different implication with different symbols.
2) definition color, i.e. framework, node background colour;The difference utilizing background colour represents test object Execution state;Lycoperdon polymorphum Vitt represents and is not carried out, and yellow represents in test process, the red test crash that represents, green table Show and run succeeded.
3) distribution shape is with color is to network three elements, and the CF defined before is connected structure Become framework, node and link;
4) definition option parameter file;Including definition window, session and switching mode;Including: the size of window, Size of node, if allow to move framework by mouse drag.
5) definition graphic parameter file profile, by the framework of definition, node, link, option parameter literary composition Part is combined, and determines the concrete form of network chart;
6) network chart is initialized;Call the initial methods of SAP NETCHART class CL_GUI_NETCHART class It is framework that CNET_GRAPHIC_NETWORK_PBO initializes by function point, and test script is the orderly survey of node Examination flow process;
7) test process changes figure ground color, monitor script in real time by starting timer TIMER class Execution state, according to the brush sub-screen of the result dynamic realtime listened to, reinitializes network chart, thus more New figure ground color.
This method specifically shows the execution process of automatic test by means of SAP NETCHART network.First In conjunction with enterprise practical operation flow list, the object taxonomic revision that be there is a need to test in SAP system is become multiple Testing process, comprises function to be tested and for testing the test foot of this function in each testing process This.With wall scroll testing process for test list object, by means of SAP NETCHART network, SAP NETCHART It is made up of framework, node, link three elements, with the function point in frame representation testing process, represents with node For testing the test script of this function, link each test script with link according to test executive sequence and form one The test operation flow interface that bar is constructed by network, three key elements of SAP network are the most respectively by two parts structure Become: shape is with color.
The method is by dynamically monitoring the execution state real-time Refresh Services flow process of test script in test process Interface, distinguishes execution state and the implementation progress of script by the background color of change interface elements, convenient fast Speed Wrong localization position in whole flow process, it is not necessary to test execution completes, and user just can learn all test feet This execution state, if wherein certain node performs mistake, end of test, has saved the substantial amounts of testing time.
Accompanying drawing explanation
Fig. 1 is that the present invention tests the graphical process schematic of object.
Detailed description of the invention
A kind of method test process being carried out real-time exhibition by network, is shown in that Fig. 1, the method include following Step:
1) definition shape, including definition graphic attribute and form: i.e. defined function point frame, test script joint Point, the graphic attribute of relational links, including the attribute such as shape of figure.This method framework and node shape all select VC_ARROW_RIGHT(flechette-type).SAP NETCHART network describes framework, scheme with the word in node The elements such as shape are referred to as field, and the particular location of each field is determined by graphical format, by definition format by framework Or node allocation becomes the field of multiple lines and multiple rows, represent different implication with different symbols, we are described below The implication of the symbol used in method.
$ title: represent that definition word describes;@title: represent definition figure;--: represent line feed and row with First cut-off rule is had between row;-: represent line feed but there is no cut-off rule;This method frame format is that [$ b] represents The field described by a word forms, i.e. function point describes;Node format is defined as: [$ a--$ b] represent by Two descriptive matter in which there field compositions, be divided into two lines display.Arrow form is that [@a] represents by a graphics field Represent.
2) definition color.I.e. framework, node background colour.This method is exactly that the difference utilizing background colour represents The execution state of test object.Lycoperdon polymorphum Vitt represents and is not carried out, and yellow represents in test process, red represents that test is lost Losing, green expression runs succeeded.
3) distribution shape is with color is to network three elements.By this portion, the CF defined before is joined System gets up to constitute framework, node and link.
4) definition option parameter file.The size of such as window such as including definition window, session and switching mode, Size of node, if allow to move framework etc. by mouse drag.
5) definition graphic parameter file profile.By the framework of definition, node, link, option parameter literary composition Part combination comes together to determine the concrete form of network chart.
6) network chart is initialized.Call the initial methods of SAP NETCHART class CL_GUI_NETCHART class It is framework that CNET_GRAPHIC_NETWORK_PBO initializes by function point, and test script is the orderly survey of node Examination flow process.
7) test process changes figure ground color.This method is supervised in real time by starting timer TIMER class Survey script and perform state, according to the brush sub-screen of the result dynamic realtime listened to, reinitialize network chart, Thus update figure ground color.

Claims (1)

1. method test process being carried out real-time exhibition by network, it is characterised in that the method comprises the following steps:
1) definition shape, including definition graphic attribute and form: i.e. defined function point frame, test script node, the graphic attribute of relational links, including the shape attribute of figure;Framework and node shape all select VC_ARROW_RIGHT flechette-type;SAP NETCHART network calls field framework with the word description in node, graphic element, the particular location of each field is determined by graphical format, by definition format, framework or node allocation are become the field of multiple lines and multiple rows, represents different implication with different symbols;
2) definition color, i.e. framework, node background colour;The difference utilizing background colour represents the execution state of test object;Lycoperdon polymorphum Vitt represents and is not carried out, and yellow represents in test process, the red test crash that represents, green expression runs succeeded;
3) distribution shape is with color is to network three elements, and the CF defined before connects composition framework, node and link;
4) definition option parameter file;Including definition window, session and switching mode;Definition option parameter file includes: the size of window, size of node, if allow to move framework by mouse drag;
5) definition graphic parameter file profile, by the framework of definition, node, link, option parameter file is combined, and determines the concrete form of network chart;
6) network chart is initialized;The initial methods CNET_GRAPHIC_NETWORK_PBO initialization calling SAP NETCHART class CL_GUI_NETCHART class is framework by function point, and test script is the orderly testing process of node;
7) test process changes figure ground color, monitor script execution state in real time by starting timer TIMER class, according to the brush sub-screen of the result dynamic realtime listened to, reinitialize network chart, thus update figure ground color.
CN201410141655.0A 2014-04-10 2014-04-10 A kind of method test process being carried out real-time exhibition by network Active CN103885883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410141655.0A CN103885883B (en) 2014-04-10 2014-04-10 A kind of method test process being carried out real-time exhibition by network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410141655.0A CN103885883B (en) 2014-04-10 2014-04-10 A kind of method test process being carried out real-time exhibition by network

Publications (2)

Publication Number Publication Date
CN103885883A CN103885883A (en) 2014-06-25
CN103885883B true CN103885883B (en) 2016-09-14

Family

ID=50954791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410141655.0A Active CN103885883B (en) 2014-04-10 2014-04-10 A kind of method test process being carried out real-time exhibition by network

Country Status (1)

Country Link
CN (1) CN103885883B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572466A (en) * 2015-01-13 2015-04-29 北京京东尚科信息技术有限公司 Automatic testing method and device
CN106557854A (en) * 2015-09-25 2017-04-05 北京奇虎科技有限公司 A kind of methods of exhibiting and device of operation flow
CN106327213A (en) * 2016-08-26 2017-01-11 易联(北京)物联网科技有限公司 Automatic card writing method based on NFC chip anti-counterfeiting authentication
CN107391383B (en) * 2017-08-11 2021-01-12 上海巍擎信息技术有限责任公司 Test method and test system for application program interface
CN110502421A (en) * 2018-05-17 2019-11-26 长沙博为软件技术股份有限公司 A kind of automated testing method based on work process flow configuration
CN111241186A (en) * 2020-01-17 2020-06-05 中信银行股份有限公司 Rule-based visual parallel data preparation method, system, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459719A (en) * 2002-05-17 2003-12-03 义隆电子股份有限公司 System of pattern development program and method
CN102156784A (en) * 2011-04-18 2011-08-17 烽火通信科技股份有限公司 Verifying environment patterned chip verifying method and device
CN102521125A (en) * 2011-11-30 2012-06-27 福州福大自动化科技有限公司 Method for automatically detecting syntax error in control policy configuration
CN102831060A (en) * 2012-08-24 2012-12-19 东南大学 Modification influence analysis based regression test case updating method of part software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459719A (en) * 2002-05-17 2003-12-03 义隆电子股份有限公司 System of pattern development program and method
CN102156784A (en) * 2011-04-18 2011-08-17 烽火通信科技股份有限公司 Verifying environment patterned chip verifying method and device
CN102521125A (en) * 2011-11-30 2012-06-27 福州福大自动化科技有限公司 Method for automatically detecting syntax error in control policy configuration
CN102831060A (en) * 2012-08-24 2012-12-19 东南大学 Modification influence analysis based regression test case updating method of part software

Also Published As

Publication number Publication date
CN103885883A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN103885883B (en) A kind of method test process being carried out real-time exhibition by network
CN103617576B (en) General fault detecting and maintenance method for equipment
CN110086665A (en) A kind of network topological diagram methods of exhibiting based on jTopo
WO2003050727A2 (en) System and method for testing and/or debugging runtime systems for solving mes (manufacturing execution system) problems
CN104484166A (en) Graphical modeling device and method for automatic testing system
CN105117346A (en) Automatic testing method and system for distributed system of virtualization platform
CN106487568B (en) Network management system-based topological rack diagram display method and device and network management system
CN104270289A (en) ONU automatic testing method based on TCL script
CN105006183A (en) Analog simulation method for practical teaching examination on verification of electric energy meter
CN106982143A (en) A kind of method of utilization topological realization telecommunications index monitoring
CN103545917A (en) Scheduling-automation sub-station simulation system
CN105068980A (en) Graphical display method and system for jump relationship among topics
CN105025254B (en) A kind of multi-platform monitoring terminal system development approach
CN105489102A (en) Three-dimensional interactive training exercise system
CN101789583B (en) Real-time digital emulation automatic test method
CN104219087A (en) Fault location method
CN115480746A (en) Method, device, equipment and medium for generating execution file of data processing task
CN111045757B (en) Visual display system and method for IT resource running state and storage medium
Khalid et al. MiniNAM: A network animator for visualizing real-time packet flows in Mininet
CN111162962A (en) Method and system for detecting tunnel state of ring network channel type service
CN105553713B (en) A kind of FC dedicated bus analyzer FC Port Managements and configuration method
CN109525433A (en) A kind of router bgp status information batch monitoring method
CN102904757B (en) Power information communication backbone Dynamic Display method
CN109639519B (en) Service monitoring and diagnosis visualization method and device for audio and video platform
CN103595819A (en) Method for online testing service usability of web system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: JIANGSU ELECTRIC POWER COMPANY JIANGSU ELECTRIC PO

Free format text: FORMER OWNER: JIANGSU ELECTRIC POWER COMPANY JIANGSU ELECTRIC POWER INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20140919

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20140919

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant after: State Grid Corporation of China

Applicant after: Jiangsu Electric Power Company

Applicant after: Jiangsu Electric Power Information Technology Co., Ltd.

Applicant after: Information & Telecommunication Branch of State Grid Jiangsu Electric Power Company

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant before: State Grid Corporation of China

Applicant before: Jiangsu Electric Power Company

Applicant before: Jiangsu Electric Power Information Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant