CN112597023A - Case management method and device based on guide picture, computer equipment and storage medium - Google Patents
Case management method and device based on guide picture, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112597023A CN112597023A CN202011558890.XA CN202011558890A CN112597023A CN 112597023 A CN112597023 A CN 112597023A CN 202011558890 A CN202011558890 A CN 202011558890A CN 112597023 A CN112597023 A CN 112597023A
- Authority
- CN
- China
- Prior art keywords
- case
- data
- target
- guide picture
- generating
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 50
- 238000012360 testing method Methods 0.000 claims abstract description 107
- 238000012544 monitoring process Methods 0.000 claims abstract description 21
- 230000000007 visual effect Effects 0.000 claims abstract description 15
- 238000010586 diagram Methods 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004043 dyeing Methods 0.000 claims description 7
- 238000012800 visualization Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 description 14
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000011002 quantification Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 210000001503 joint Anatomy 0.000 description 3
- 238000003032 molecular docking Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013100 final test Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 239000013074 reference sample Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
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/3684—Test management for test design, e.g. generating new test cases
-
- 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
-
- 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/3692—Test management for test results analysis
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)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a case management method, a case management device, computer equipment and a readable storage medium based on a guide picture, which relate to the technical field of testing and comprise the steps of obtaining case data and generating an initial guide picture according to the case data; monitoring the operation of a user on the initial guide picture, and generating an operated target guide picture; target data are generated based on the target guide picture and then sent to the test platform, the target guide picture is updated according to return data of the test platform, and target visual information is generated.
Description
Technical Field
The invention relates to the technical field of testing, in particular to a case management method and device based on a guide picture, computer equipment and a readable storage medium.
Background
The test case is used for organizing and summarizing the behavior activities of the software test, and aims to convert the behavior of the software test into a manageable mode. At present, a common test case compiling and generating method is to compile cases with excel documents, and the step of importing test cases in a system includes compiling an excel case table, importing a system case library, dragging to a test execution set, and formally running cases.
The inventor of the invention finds in research that the existing test case is imported into the file generated in the local storage process in the document form, the life cycle of the file is finished after the test is finished, most of the files generated in the test process are manually gathered, and data quantification management is lacked.
Disclosure of Invention
The invention aims to provide a case management method, a case management device, computer equipment and a readable storage medium based on a guide picture, which are used for solving the problems that files generated in the local storage process are written by documents in the existing test case importing step, the life cycle is finished after the test is finished, most of the files are manually gathered, and data quantification management is lacked.
In order to achieve the above object, the present invention provides a case management method based on a guide map, which includes:
acquiring case data, and generating an initial guide picture according to the case data;
monitoring the operation of a user on the initial guide picture, and generating an operated target guide picture;
and generating target data based on the target guide picture, sending the target data to a test platform, updating the target guide picture according to the return data of the test platform, and generating target visual information.
Further, before the acquiring case data, the following is included:
judging whether an uploaded file list containing case data exists in a preset path;
if yes, obtaining case data based on the file list;
and if not, receiving an uploading request containing the case data from the user side, and acquiring the case data according to the uploading request.
Further, the generating target data based on the target map includes the following:
generating a case identification table based on the target guide picture, wherein the case identification table comprises a plurality of cases and unique node identification attributes corresponding to the cases;
acquiring any case and a unique node identification attribute corresponding to the case;
acquiring node relation data, node attribute data and path data of the case according to the unique node identification attribute and the target guide graph;
writing the node data, the node attribute data and the path data into a preset template to obtain test data corresponding to the case;
and traversing the target guide picture to obtain test data corresponding to all cases in the case identification table, and generating target data.
Further, the updating the target guide map according to the returned data of the test platform to obtain a target visualization information map includes the following steps:
obtaining an execution result corresponding to the target data based on the return data of the test platform;
and dyeing and marking the target guide picture according to a preset priority and an execution result corresponding to the target data to obtain target visual information.
Further, the monitoring the operation of the user on the initial guidance diagram, and generating an operated target guidance diagram, including the following steps:
monitoring the operation on the initial guide picture, and acquiring an operated case node;
acquiring case sub-nodes associated with the operated case nodes based on the attribute information of the initial guide picture;
and executing the operation consistent with the case node on the case node to obtain a target guide picture.
Further, the operation on the initial guide map comprises splitting, merging, editing and associating.
Further, the method further comprises the following:
receiving an export request of a user side, generating a case list based on the updated target guide picture according to the export request, and sending the case list to the user side.
In order to achieve the above object, the present invention further provides a case management device based on a guide map, including:
the acquisition module is used for acquiring case data and generating an initial guide picture according to the case data;
the monitoring module is used for monitoring the operation of a user on the initial guide picture and acquiring a target guide picture after the operation is finished;
and the updating module is used for generating target data based on the target guide map, sending the target data to the test platform, updating the target guide map according to the return data of the test platform and obtaining target visual information.
To achieve the above object, the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above case management method based on the guide map when executing the computer program.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, which includes a plurality of storage media, each storage medium having a computer program stored thereon, and the computer programs stored in the storage media, when executed by a processor, collectively implement the steps of the above case management method based on a guide map.
According to the case management method and device based on the guide picture, the computer equipment and the readable storage medium, after case data are obtained and an initial guide picture is generated, user operation is monitored, the initial guide picture is adjusted based on the user operation to obtain a target guide picture, target data are generated according to the target guide picture, the target data are tested, and visual information is generated according to a result returned by a test platform, so that the problems that files generated in the local storage process are compiled by documents in the existing test case importing step, data in the test process are only manually summarized, and data quantification management is lacked are solved.
Drawings
Fig. 1 is a flowchart of a first embodiment of a case management method based on a guide map according to the present invention;
fig. 2 is a flowchart of a case management method based on a guide map according to a first embodiment of the present invention before case data is acquired;
fig. 3 is a flowchart of monitoring the operation of a user on the initial guidance diagram and obtaining a target guidance diagram after the operation is finished in the first embodiment of the case management method based on guidance diagram of the present invention;
fig. 4 is a flowchart of generating target data based on the target guidance diagram in the first embodiment of the case management method based on guidance diagram of the present invention;
fig. 5 is a flowchart illustrating updating of the target guidance diagram according to the returned data of the test platform to obtain target visualization information in the first embodiment of the case management method based on guidance diagram of the present invention;
fig. 6 is a flowchart of steps including receiving an export request from a user terminal, generating a case list based on an updated target guidance diagram according to the export request, and sending the case list to the user terminal in the first embodiment of the case management method based on guidance diagram of the present invention;
FIG. 7 is a schematic diagram of program modules of a second embodiment of a case management apparatus based on a guide map according to the present invention;
fig. 8 is a schematic diagram of a hardware structure of a computer device according to a third embodiment of the present invention.
Reference numerals:
5. case management device 51, acquisition module 52 and monitoring module based on guide map
53. Updating module 531, data generating submodule 532 and marking submodule
6. Computer device 61, memory 62, processor 63, network interface
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention provides a case management method and device based on a guide picture, computer equipment and a readable storage medium, which are suitable for the field of data processing of test case management and are used for providing a case management method based on a guide picture based on an acquisition module, a monitoring module and an updating module. According to the method, after the acquisition module acquires case data and generates an initial guide picture, a monitoring module is adopted to monitor user operation (including but not limited to node splitting, node merging, editing, associating and the like), the initial guide picture is adjusted based on the user operation to obtain a target guide picture, finally, target data are generated according to the target guide picture (after test data corresponding to each case are generated by a preset template, the target data are obtained according to traversal of unique node identification attributes corresponding to each case), the target data are butted with a test platform, the target data are tested, and the dyeing marking and other updating operations are carried out according to the return result of the test platform to generate visual information, so that the case management is realized, and the problem that most files are manually managed and lack of data quantification management in the prior art is solved.
Example one
Referring to fig. 1, the case management method based on the guidance map of the present embodiment depends on a Freemin tool combined in a TMS system, and is applied to a server side, and specifically includes the following steps:
s100: acquiring case data, and generating an initial guide picture according to the case data;
in the scheme, the initial guidance diagram is a panoramic case guidance diagram generated by case data, a tester tests a program to obtain test data, such as information of a test scene, user name input, test steps, expected results and the like, and the tester inputs the obtained test data into a thinking diagram to obtain the case data. The case data also has its own directory level and format according to the format or directory level of each case data in the mind map, and the data information corresponds to the data information of the test data, for example, the directory level includes but is not limited to positive case, negative case, financial relevance, etc. In this scenario, the freemin tool is installed in the TMS system, and therefore, referring to fig. 2, the following steps are included before case data is acquired:
s110: judging whether an uploaded file list containing case data exists in a preset path;
the uploaded file list is used for acquiring case data, and may be a file obtained by inputting the acquired test data into a mind map by the tester.
S120: if yes, obtaining case data based on the file list;
it should be noted that, when a file list uploaded for multiple times is included in the same path, a priority is set according to the uploading time, and the priority of the file list after the uploading time is higher than that of the file list before the uploading time, that is, the case data is acquired from the file list after the uploading time.
S130: and if not, receiving an uploading request containing the case data from the user side, and acquiring the case data according to the uploading request.
For the files (namely case data) contained in the uploading request, when a plurality of files are uploaded, all newly uploaded files are valid, a plurality of files exist in the same version, the function can select to open one file without opening all files, when a plurality of files exist in the same system and the same version, only one file needs to be updated, all files do not need to be updated again, and only the corresponding updated file needs to be uploaded.
The initial guidance diagram generated in step S100 includes a multi-level directory for displaying a plurality of cases, a node corresponding to each case is associated by setting an SR attribute, and can be regarded as a unique identifier corresponding to each case, and SR attribute setting is performed according to a preset SR attribute position labeling rule, which is used as a supplementary description, where the SR attribute position labeling rule specifically includes: the SR is labeled at the root node, and when the test case (target data for the test platform) is converted in step S300, the root node and all the following child nodes are all converted into cases; the SR is marked on the secondary node, and when the next test case is converted into the test case, the secondary node and all the following child nodes are all converted into the case. And the rest positions are analogized in turn. Only one SR attribute value can be marked on one root node, when repeated marking is needed, the root node can be copied and added, and then another SR attribute value is marked, and the SR attribute value cannot be marked on the last child node.
S200: monitoring the operation of a user on the initial guide picture, and generating an operated target guide picture;
the operation on the initial guide graph includes, but is not limited to, node splitting, node merging, editing and associating, and the like. Implementations of user operations include, but are not limited to, mouse-keyboard or touch-screen operations. Specifically, the monitoring the operation of the user on the initial guidance map, and obtaining the target guidance map after the operation is finished, with reference to fig. 3, includes the following steps:
s210: monitoring the operation on the initial guide picture, and acquiring an operated case node;
it should be noted that, in order to improve the operation efficiency, the editing and association can be performed by using the characteristics of the mind map, and all cases required can be detached from the initial mind map to generate another new sub-mind map, and the new sub-mind map is edited and maintained, and can be merged back to the initial mind map after being finally used.
In the scheme, the operation on the initial guidance diagram further comprises adjusting the associated SR attribute, adding a button for setting the associated SR attribute, and when a case is selected, clicking the associated SR attribute button to associate the corresponding SR attribute at the node.
S220: acquiring case sub-nodes associated with the operated case nodes based on the attribute information of the initial guide picture;
in the above steps, the attribute information in the initial guidance diagram includes the following unique node identifier attribute and node attribute data, and obtaining the case child node associated with the operated case node may be implemented by using the other unique node identifier attribute in step S311.
S230: and executing the operation consistent with the case node on the case node to obtain a target guide picture.
For example, in the above step S210-S230, as the above node splitting operation, link information is saved on both the original initial lead map and the split lead map (specifically, the link information can be implemented by setting a unique identifier or attribute). By the node link information, a sub-graph (detached guide graph) can be found from the original graph (initial guide graph), and the original graph can also be found from the sub-graph. When the case is generated in the subsequent step S315, it is also the link information that is utilized to implement the traversal of the whole target graph.
S300: and generating target data based on the target guide picture, sending the target data to a test platform, updating the target guide picture according to the return data of the test platform, and generating target visual information.
The test platform comprises a test case library and a test execution library, and is used for executing a test process.
Specifically, the above-mentioned generating the target data based on the target map, referring to fig. 4, includes the following:
s311: generating a case identification table based on the target guide picture, wherein the case identification table comprises a plurality of cases and unique node identification attributes corresponding to the cases;
in the above steps, the generated case identification table may be generated directly based on the target guidance diagram, where the target guidance diagram is obtained based on the initial guidance diagram in combination with the user operation, and therefore, the included cases and the unique node identification attributes corresponding to the cases do not change in the process of the user operation, as described in the above steps S210 to S230, modifying, deleting, or adding each node will result in a change of its associated node, and therefore, all cases included in the guidance diagram and the unique identification corresponding to each case can be directly obtained by the target guidance diagram.
S312: acquiring any case and a unique node identification attribute corresponding to the case;
the node identification attribute is used to determine which associated nodes belong to the same case, and since the target guidance diagram includes more than one case, each case needs to be acquired one by one and converted into test data, steps S312 to S314 are a process of generating test data for any case, and after the test data is generated for each case, the whole target guidance diagram needs to be traversed (as described in step S315) to obtain the test data corresponding to all cases to generate the target data.
S313: acquiring node relation data, node attribute data and path data of the case according to the unique node identification attribute and the target guide graph;
the path data in the above steps is a test path, and is used for subsequent butt joint with a test platform to obtain a test result.
S314: writing the node data, the node attribute data and the path data into a preset template to obtain test data corresponding to the case;
in the scheme, the standard data format is extracted according to the target guide diagram by means of the preset template, and then the test platform is docked through the data interface, so that the method is different from a mode of switching the docking test platform in the middle of an Excel table in the prior art, one-key export of the target guide diagram to the test platform is realized, automatic data conversion is realized, the docking efficiency is effectively improved, and the time of the docking process is shortened.
In this embodiment, different templates are preset for different cases or case data, and are used for writing into corresponding test case templates according to case types to generate test cases. For example, the test case template may be classified according to different test contents, such as UI test, functional test, and the like.
S315: and traversing the target guide picture to obtain test data corresponding to all cases in the case identification table, and generating target data.
And traversing the target guide picture to obtain a test data set of all cases as target data so as to test each case after the case is subsequently butted with a test system.
Specifically, the Freemin tool in the scheme is combined with the TMS system for application, a test path general diagram can be imported from the TMS for editing (adding, deleting and modifying), SR attribute values and other attribute values of the case after modification are marked, a file can be directly created for editing, the SR is used for screening and converting the case, the case is imported into an existing directory of the TMS, and after the version test is completed, the test path general diagram is uploaded to the TMS after being stored so as to realize case writing and obtain target data.
In the editing operation, all subfunctions to be edited can be selected in the initial guide picture, copied to a new child node, then the child node is split into new folders, and after editing and saving are carried out in the new child folders. And after the version test is finished, merging the content of the subfolders into the test path general diagram. And uploading the final test path general diagram to the TMS to obtain target data.
Specifically, the updating the target guidance chart according to the returned data of the test platform to obtain the target visualization information includes, referring to fig. 5, the following:
s321: obtaining an execution result corresponding to the target data based on the return data of the test platform;
in the scheme, the specific test process is completed by the test platform, and the server side directly receives the feedback result of the test platform.
S322: and dyeing and marking the target guide picture according to a preset priority and an execution result corresponding to the target data to obtain target visual information.
Specifically, in the step S322, the execution result corresponding to the target data includes pass and fail, and it should be noted that the target guide graph includes at least one case, so that the execution result includes at least one result, the priority of the fail is higher than that of the pass, the node where the result passes is marked as green, and the node where the result fails is marked as red, so that the pass proportion of the test set case is clear, and monitoring and early warning by a manager are facilitated.
Additionally, when the automatic case is executed, the automatic test platform is directly called to execute, the execution result can also be directly returned to the TMS test set to be displayed, and the automatic case is directly generated through the target guide picture.
Referring to fig. 6, the method further includes the steps of:
s400: receiving an export request of a user side, generating a case list based on the updated target guide picture according to the export request, and sending the case list to the user side.
In the steps, a exporting function is added for the platform to solve the problem that most cases cannot be directly exported in the prior art, a preset template is adopted in the scheme for automatic conversion to generate a case list to support one-key exporting, and the specific preset template can be selected or set according to actual use scenes.
The target guide picture, the case list and the like can be uploaded to the blockchain so as to be used as a reference sample or a training sample subsequently, the safety and the fair transparency to a user can be guaranteed by uploading the target guide picture, the case list and the like to the blockchain, the user equipment can download the abstract information from the blockchain so as to check whether the priority list is tampered, and the corresponding case can be downloaded from the blockchain subsequently for testing without a generation process, so that the time of a data acquisition process before testing is effectively shortened.
The block chain referred by the application is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
In the scheme, a visual panoramic case guide picture is generated in a TMS system by combining a Freemin tool, the problem that most files are manually managed and lack of data quantization management in the prior art is solved, meanwhile, the files are directly led into a test platform through standard format files, the mode that the test platform is in butt joint through conversion in the middle of Excel forms in the prior art is distinguished, one-key export of a target guide picture to the test platform is realized, automatic conversion from the guide picture to the test case is realized, besides the above, a dyeing mark is adjusted in real time according to a return result of the test platform, and detection and early warning are facilitated.
Example two:
referring to fig. 7, a case management apparatus 5 based on a guide map of the present embodiment includes: an acquisition module 51, a monitoring module 52 and an update module 53.
An obtaining module 51, configured to obtain case data, and generate an initial guide map according to the case data;
a monitoring module 52, configured to monitor an operation of a user on the initial guide map, and obtain a target guide map after the operation is finished;
the user's operations on the initial guide graph include, but are not limited to, node splitting, node merging, editing and associating, and the like.
And the updating module 53 is configured to generate target data based on the target guidance diagram, send the target data to the test platform, and update the target guidance diagram according to the return data of the test platform to obtain target visualization information.
Specifically, the updating module 53 further includes a data generating sub-module 531 and a marking sub-module 532;
a data generating submodule 53, configured to generate target data based on the target guidance, specifically, generate a case identification table based on the target guidance, and acquire any case and a unique node identification attribute corresponding to the case; acquiring node relation data, attribute data and path data of the case according to the unique node identification attribute and the target guide graph; writing the node data, the attribute data and the path data into a preset template to obtain test data corresponding to the case; and traversing the target guide picture to obtain test data corresponding to all cases in the case identification table, and generating target data.
The marking submodule 532 is configured to update the target guide map according to the return data of the test platform to obtain target visualization information, and specifically includes obtaining an execution result corresponding to the target data based on the return data of the test platform; and carrying out dyeing marking on the target guide picture according to the priority and the execution result corresponding to the target data to obtain target visual information.
According to the technical scheme, based on data display of data processing, after case data are obtained through an obtaining module and an initial guide picture is generated, a monitoring module is adopted to monitor user operation, the initial guide picture is adjusted based on the user operation to obtain a target guide picture, finally, the target data are generated according to the target guide picture and are in butt joint with a test platform, the target data are tested, visual information is generated according to a return result of the test platform, management of cases is achieved, and the problem that in the prior art, most files are manually managed and lack of data quantification management is solved.
In the scheme, the data generation submodule is used for directly importing the format file into the test platform according to the preset template conversion format file, the mode that the test platform is connected in a conversion and butt mode in the middle of an Excel form in the prior art is distinguished, one-key export of a target guide diagram to the test platform is achieved, automatic conversion from the guide diagram to a test case is achieved, the dyeing mark is adjusted in real time according to the returned result of the test platform based on the marking submodule and is used for visual display, and detection and early warning of users are further facilitated.
Example three:
in order to achieve the above object, the present invention further provides a computer device 6, where the computer device may include a plurality of computer devices, components of the example second case management apparatus 5 based on a guide map may be distributed in different computer devices 6, and the computer device 6 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server or a server cluster formed by a plurality of servers) that executes a program, and the like. The computer device of the embodiment at least includes but is not limited to: a memory 61, a processor 62, a network interface 63, and the guide-based case management apparatus 4, which are communicatively connected to each other via a system bus, are shown in fig. 8. It should be noted that fig. 8 only shows a computer device with components, but it should be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead.
In the present embodiment, the memory 61 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 61 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 61 may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device. Of course, the memory 61 may also include both internal and external storage devices of the computer device. In this embodiment, the memory 61 is generally used to store an operating system and various application software installed on the computer device, such as the program code of the case management apparatus 5 based on the guidance diagram in the first embodiment. Further, the memory 561 can also be used for temporarily storing various types of data that have been output or are to be output.
Processor 52 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 62 is typically used to control the overall operation of the computer device. In this embodiment, the processor 62 is configured to run the program codes stored in the memory 61 or process data, for example, run the guidance-based case management apparatus, so as to implement the guidance-based case management method according to the first embodiment.
The network interface 63 may comprise a wireless network interface or a wired network interface, and the network interface 63 is typically used to establish a communication connection between the computer device 6 and other computer devices 6. For example, the network interface 63 is used to connect the computer device 6 to an external terminal via a network, establish a data transmission channel and a communication connection between the computer device 6 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
It is noted that fig. 8 only shows the computer device 6 with components 61-63, but it is to be understood that not all shown components are required to be implemented, and that more or less components may be implemented instead.
In this embodiment, the case management apparatus 5 based on the map stored in the memory 61 can also be divided into one or more program modules, which are stored in the memory 61 and executed by one or more processors (in this embodiment, the processor 62) to complete the present invention.
Example four:
to achieve the above objects, the present invention also provides a computer-readable storage medium including a plurality of storage media such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor 63, implements corresponding functions. The computer-readable storage medium of this embodiment is used to store the guidance-based case management apparatus 5, and when executed by the processor 63, implements the guidance-based case management method of the first embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A case management method based on a guide picture is characterized by comprising the following steps:
acquiring case data, and generating an initial guide picture according to the case data;
monitoring the operation of a user on the initial guide picture, and generating an operated target guide picture;
and generating target data based on the target guide picture, sending the target data to a test platform, updating the target guide picture according to return data of the test platform, and generating target visual information.
2. The method of claim 1, wherein prior to said obtaining case data, comprising:
judging whether an uploaded file list containing case data exists in a preset path;
if yes, obtaining case data based on the file list;
and if not, receiving an uploading request containing the case data from the user side, and acquiring the case data according to the uploading request.
3. The method for leader-based case management according to claim 1, wherein the generating target data based on the target leader comprises the following:
generating a case identification table based on the target guide picture, wherein the case identification table comprises a plurality of cases and unique node identification attributes corresponding to the cases;
acquiring any case and a unique node identification attribute corresponding to the case;
acquiring node relation data, node attribute data and path data of the case according to the unique node identification attribute and the target guide graph;
writing the node data, the node attribute data and the path data into a preset template to obtain test data corresponding to the case;
and traversing the target guide picture to obtain test data corresponding to all cases in the case identification table, and generating target data.
4. The method for case management based on the guidance map of claim 1, wherein the updating the target guidance map according to the returned data of the testing platform to generate the target visualization information comprises the following steps:
obtaining an execution result corresponding to the target data based on the return data of the test platform;
and dyeing and marking the target guide picture according to a preset priority and an execution result corresponding to the target data to obtain target visual information.
5. The method for case management based on guidance diagram of claim 1, wherein the monitoring the user's operation on the initial guidance diagram, and generating the operated target guidance diagram, comprises the following steps:
when the operation of the user on the initial guide picture is monitored, acquiring an operated case node;
acquiring case sub-nodes associated with the operated case nodes based on the attribute information of the initial guide picture;
and executing the operation consistent with the case node on the case node to obtain a target guide picture.
6. The map-based case management method of claim 5, wherein: the operation on the initial guide diagram comprises splitting, merging, editing and associating.
7. The map-based case management method of claim 1, further comprising the following:
receiving an export request of a user side, generating a case list based on the updated target guide picture according to the export request, and sending the case list to the user side.
8. A map-based case management apparatus, comprising:
the acquisition module is used for acquiring case data and generating an initial guide picture according to the case data;
the monitoring module is used for monitoring the operation of a user on the initial guide picture and acquiring a target guide picture after the operation is finished;
and the updating module is used for generating target data based on the target guide map, sending the target data to the test platform, updating the target guide map according to the return data of the test platform and obtaining target visual information.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for guide-based case management according to any of claims 1 to 7 when executing the computer program.
10. A computer storage medium comprising a plurality of storage media, each storage medium having a computer program stored thereon, wherein the computer programs stored in the plurality of storage media, when executed by a processor, collectively implement the steps of the method for guide-based case management of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011558890.XA CN112597023A (en) | 2020-12-25 | 2020-12-25 | Case management method and device based on guide picture, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011558890.XA CN112597023A (en) | 2020-12-25 | 2020-12-25 | Case management method and device based on guide picture, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112597023A true CN112597023A (en) | 2021-04-02 |
Family
ID=75202330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011558890.XA Pending CN112597023A (en) | 2020-12-25 | 2020-12-25 | Case management method and device based on guide picture, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112597023A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112905549A (en) * | 2021-04-19 | 2021-06-04 | 深圳大学 | Thinking-guide-graph-based file management method and device and related equipment |
CN113360380A (en) * | 2021-06-04 | 2021-09-07 | 中国工商银行股份有限公司 | Method and device for generating data case based on flow chart |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388559A (en) * | 2018-09-17 | 2019-02-26 | 中国银行股份有限公司 | Visual testing analysis method and device |
CN109800147A (en) * | 2018-12-14 | 2019-05-24 | 平安普惠企业管理有限公司 | A kind of test cases generation method and terminal device |
CN111881036A (en) * | 2020-07-23 | 2020-11-03 | 云账户技术(天津)有限公司 | Test case management method and device and electronic equipment |
-
2020
- 2020-12-25 CN CN202011558890.XA patent/CN112597023A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388559A (en) * | 2018-09-17 | 2019-02-26 | 中国银行股份有限公司 | Visual testing analysis method and device |
CN109800147A (en) * | 2018-12-14 | 2019-05-24 | 平安普惠企业管理有限公司 | A kind of test cases generation method and terminal device |
CN111881036A (en) * | 2020-07-23 | 2020-11-03 | 云账户技术(天津)有限公司 | Test case management method and device and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112905549A (en) * | 2021-04-19 | 2021-06-04 | 深圳大学 | Thinking-guide-graph-based file management method and device and related equipment |
CN113360380A (en) * | 2021-06-04 | 2021-09-07 | 中国工商银行股份有限公司 | Method and device for generating data case based on flow chart |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111241454B (en) | Method, system and device for generating webpage codes | |
CN115617327A (en) | Low code page building system, method and computer readable storage medium | |
CN103838672A (en) | Automated testing method and device for all-purpose financial statements | |
US10120658B2 (en) | Method and system for realizing software development tasks | |
CN111290956B (en) | Brain graph-based test method and device, electronic equipment and storage medium | |
CN107632827B (en) | Method and device for generating installation package of application | |
CN103186457A (en) | Method and device for automatically generating test case | |
CN110705237B (en) | Automatic document generation method, data processing device and storage medium | |
CN112597023A (en) | Case management method and device based on guide picture, computer equipment and storage medium | |
WO2022012327A1 (en) | Code analysis method and system, and computing device | |
CN111737227A (en) | Data modification method and system | |
CN113157315A (en) | Method, device, equipment and medium for identifying difference information of different versions of software | |
CN113448862A (en) | Software version testing method and device and computer equipment | |
CN111061733B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN114168565B (en) | Backtracking test method, device and system of business rule model and decision engine | |
CN111913878A (en) | Program analysis result-based bytecode instrumentation method, device and storage medium | |
CA3138761A1 (en) | Method, device, computer equipment and storage medium for verifying inter-system data admission | |
US20210124752A1 (en) | System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface | |
CN111984674A (en) | Method and system for generating structured query language | |
CN115543428A (en) | Simulated data generation method and device based on strategy template | |
CN116483344A (en) | Code generation method and device, terminal equipment and computer readable storage medium | |
CN111722998A (en) | Code quality control method, system, device and storage medium | |
KR20220046379A (en) | Method for providing cooperation solution among multiple subjects specialized in video contents production | |
CN112068841A (en) | Method and system for automatically generating project flow document | |
CN112733516B (en) | Method, device, equipment and storage medium for processing quick message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |