Test method and device for process, equipment and storage medium
By obtaining and running test instructions in the process editing page, displaying the operation information and results of the process node, the operation problems caused by the node parameter errors are solved, real-time debugging and testing in the process editing stage is realized, and testing costs and steps are reduced. .
Patent Information
- Application Number
- CN202411237155.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the process cannot run normally due to incorrect node parameters during operation, and the test process is cumbersome and expensive, so it needs to be tested and repaired after release.
Get test instructions in the process editing page and run the target process to display the test results, including the operation information and results of the process node. Users can debug and adjust the process in real time during the editing process to reduce the operation steps of post-release testing.
Trigger tests during the process editing stage to realize real-time debugging, shorten test steps, reduce test costs, and improve process editing efficiency.
Smart Images

Figure CN119088712A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of testing technology, and in particular to a testing method, device, equipment and storage medium for a process. Background Art
[0002] The process engine is a commonly used engine in business management systems. The process engine is used to edit, execute, and manage business processes. For example, the aPaaS platform has low-code or zero-code features. Users can create applications on the aPaaS platform by "dragging, pulling, and dropping" the elements and modules provided by the platform, achieving low-threshold rapid creation of applications. The aPaaS platform includes a process engine. Users can use the process engine on the aPaaS platform to edit processes and use processes to edit applications.
[0003] Problems may occur during the operation of a process, such as incorrect node parameter settings of the process, which may cause the process to fail to run normally or produce incorrect operation results. Users can test the process after it is published. If problems are found during the process testing, the process can be re-edited in the development environment of the process engine and re-published to fix the operation problem of the process. Currently, the process of testing a process is cumbersome and the cost of testing is high. Summary of the invention
[0004] In view of this, the present application provides a testing method, apparatus, device and storage medium for a process, which can test the process at the stage of editing the process and reduce the testing cost.
[0005] The technical solutions provided by this application are as follows:
[0006] In a first aspect, the present application provides a testing method for a process, the method comprising: displaying a process editing page, the process editing page being used to edit a target process, the target process comprising a process node; obtaining a first test instruction for the target process, the first test instruction being used to trigger the target process to run; displaying a test result of the target process, the test result comprising first running information and a first running result of the process node.
[0007] In a possible implementation, the method also includes: displaying node editing reminder information, wherein the node editing reminder information is used to remind the editing of node parameters of a target process node, wherein the target process node belongs to the target process; in response to obtaining a configuration instruction for the target process node, configuring the node parameters of the target process node using the configuration instruction.
[0008] In a possible implementation manner, the method further includes: displaying the target process node in a reminder display manner.
[0009] In a possible implementation, the method further includes: displaying an input parameter configuration control of the target process; and obtaining a first input parameter of the target process based on the input parameter configuration control, wherein the first input parameter is an input parameter used for running at least one process node in the target process.
[0010] In one possible implementation, obtaining a first test instruction for the target process includes: obtaining a second test instruction for a target history test of the target process, the second test instruction being used to instruct the target process to run using a second input parameter, the second input parameter being an input parameter used by the target history test.
[0011] In one possible implementation, the method further includes: in response to a query instruction for obtaining historical test results, displaying test information of historical tests for the target process in the test area; in response to a viewing instruction for test information of the target historical test, displaying the test results of the target historical test in the test area, the test results of the target historical test including third operation information and second operation results of the historical process node, and the historical process node is a process node included in the target process targeted by the target historical test.
[0012] In a possible implementation, the method further includes: in response to obtaining a topology viewing instruction for a test result of the target historical test, displaying a process topology of the target process when the target historical test is run.
[0013] In one possible implementation, the test area includes a node display area, the node display area corresponds one-to-one to the process node, and the node display area displays the first operation information and the first operation result of the corresponding process node. The method also includes: in response to a first trigger operation on the target node display area, performing one or more of the following operations: displaying a node operation page, the node operation page is used to display the second operation information of the process node corresponding to the target node display area, the second operation information includes information different from the first operation information; or, displaying a node editing area of the process node corresponding to the target node display area, and displaying the configured node parameters in the node editing area.
[0014] In a possible implementation manner, the second running information includes the running code of the process node.
[0015] In one possible implementation, the target process includes a user processing node, and the method further includes: obtaining a simulated processing request for the user processing node; obtaining a processing instruction triggered by the user as a target identity, wherein the target identity is a user identity with processing authority; and running the user processing node according to the processing result indicated by the processing instruction.
[0016] In a possible implementation manner, the method further includes: in response to a second trigger operation on the target node display area, displaying the process node corresponding to the target node display area in a positioning display manner.
[0017] In a possible implementation manner, the first operation information includes one or more of node input data, node output data, and node parameters of the process node.
[0018] In a possible implementation, the first operation result is displayed using a corresponding mark.
[0019] In a possible implementation manner, the process node is displayed using a node display manner corresponding to the first running result.
[0020] In a second aspect, the present application provides a testing device for a process, the device comprising: a first display unit, used to display a process editing page, the process editing page is used to edit a target process, the target process includes a process node; a first acquisition unit, used to acquire a first test instruction for the target process, the first test instruction is used to trigger the target process to run; a second display unit, used to display the test result of the target process, the test result includes first running information and first running result of the process node.
[0021] In one possible implementation, the device also includes: a third display unit, used to display node editing reminder information, wherein the node editing reminder information is used to remind the editing of node parameters of a target process node, and the target process node belongs to the target process; a configuration unit, used to respond to obtaining a configuration instruction for the target process node and configure the node parameters of the target process node using the configuration instruction.
[0022] In a possible implementation manner, the device further includes: a fourth display unit, configured to display the target process node in a reminder display manner.
[0023] In a possible implementation, the device also includes: a fifth display unit, used to display the input parameter configuration control of the target process; and a second acquisition unit, used to acquire a first input parameter of the target process based on the input parameter configuration control, wherein the first input parameter is an input parameter used for running at least one process node in the target process.
[0024] In one possible implementation, the first acquisition unit is used to acquire a first test instruction for the target process, including: a first acquisition unit, specifically used to acquire a second test instruction for a target history test of the target process, the second test instruction is used to instruct the target process to run with a second input parameter, and the second input parameter is an input parameter used by the target history test.
[0025] In one possible implementation, the device also includes: a sixth display unit, which is used to display test information of historical tests on the target process in the test area in response to a query instruction for obtaining historical test results; a seventh display unit, which is used to display test results of the target historical tests in the test area in response to a viewing instruction for test information of the target historical tests, wherein the test results of the target historical tests include third operation information and second operation results of the historical process nodes, and the historical process nodes are process nodes included in the target process targeted by the target historical test.
[0026] In a possible implementation, the device further includes: an eighth display unit, configured to display a process topology of the target process when running the target history test in response to a topology viewing instruction for obtaining a test result for the target history test.
[0027] In one possible implementation, the test area includes a node display area, the node display area corresponds one-to-one to the process node, and the node display area displays the first operation information and the first operation result of the corresponding process node. The device also includes: an execution unit, which is used to respond to the first trigger operation on the target node display area and perform one or more of the following operations: display a node operation page, the node operation page is used to display the second operation information of the process node corresponding to the target node display area, and the second operation information includes information different from the first operation information; or, display a node editing area of the process node corresponding to the target node display area, and the configured node parameters are displayed in the node editing area.
[0028] In a possible implementation manner, the second running information includes the running code of the process node.
[0029] In one possible implementation, the target process includes a user processing node, and the device also includes: a third acquisition unit, used to obtain a simulated processing request for the user processing node; a fourth acquisition unit, used to obtain a processing instruction triggered by the user as a target identity, wherein the target identity is a user identity with processing authority; and an operation unit, used to operate the user processing node according to the processing result indicated by the processing instruction.
[0030] In a possible implementation, the device further includes: a ninth display unit, configured to display the process node corresponding to the target node display area in a positioning display manner in response to a second trigger operation on the target node display area.
[0031] In a possible implementation manner, the first operation information includes one or more of node input data, node output data, and node parameters of the process node.
[0032] In a possible implementation, the first operation result is displayed using a corresponding mark.
[0033] In a possible implementation manner, the process node is displayed using a node display manner corresponding to the first running result.
[0034] In a third aspect, the present application provides an electronic device, including:
[0035] one or more processors;
[0036] a storage device having one or more programs stored thereon,
[0037] When the one or more programs are executed by the one or more processors, the one or more processors implement any method described in the first aspect.
[0038] In a fourth aspect, the present application provides a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, any method described in the first aspect is implemented.
[0039] In a fifth aspect, the present application provides a computer program product, which, when executed on a device, enables the device to execute any of the methods described in the first aspect.
[0040] It can be seen that this application has the following beneficial effects:
[0041] The present application provides a testing method, device, equipment and storage medium for a process. In the method, a process editing page for editing a target process is displayed, and in the process editing page, a first test instruction for the target process is obtained, and the target process is run based on the first test instruction. In this way, the test of the process can be triggered at the stage of process editing, and the process can be debugged in real time in the development environment without the need to test the process after it is released, thus shortening the operation steps to be performed in the test and reducing the testing cost. The test results of the target process are displayed. The test results include the first running information of the process node and the first running result. The user can view the test results in the process editing page, which is convenient for the user to quickly locate the test content based on the test results, quickly discover running problems, and adjust the target process. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1-Figure 3 A schematic diagram of a process editing page provided in an embodiment of the present application;
[0043] Figure 4 A flowchart of a testing method for a process provided in an embodiment of the present application;
[0044] Figure 5-Figure 11 A schematic diagram of a process editing page provided in an embodiment of the present application;
[0045] Fig.12 A schematic diagram of a node operation page provided in an embodiment of the present application;
[0046] Fig.13 A schematic diagram of a process editing page provided in an embodiment of the present application;
[0047] Fig.14 A schematic diagram of a processing information page provided in an embodiment of the present application;
[0048] Fig.15 A flowchart of another testing method for a process provided in an embodiment of the present application;
[0049] Figure 16-Figure 22 A schematic diagram of a process editing page provided in an embodiment of the present application;
[0050] Fig.23 A schematic diagram of a historical process topology display page provided in an embodiment of the present application;
[0051] Fig.24 A schematic diagram of the structure of a testing device for a process provided in an embodiment of the present application;
[0052] Fig.25 A schematic diagram of the basic structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to facilitate the understanding and explanation of the technical solutions provided by the embodiments of the present application, the background technology of the present application will be described below.
[0054] In the process of handling business, processes are often used to manage business. A process includes multiple nodes. Each node corresponds to a business step. In the development environment of the process engine, users can set process nodes and edit the execution order between process nodes to obtain a process that can be used to manage business. For example, users can draw process nodes and configure the functions to be implemented by process nodes in the process editing page of the process engine. After the user completes the editing of the process, the user can publish the process. The published process can be used to manage business. Users can also test the published process to check the process running process and avoid running problems when using the process to manage business. If the process has a running problem during the test, return to the publishing environment to re-edit the process. The process of testing after the process is published is cumbersome, requiring users to perform multiple publishing operations and return to the publishing environment to edit the process again, and the cost of process editing is high.
[0055] Based on this, an embodiment of the present application provides a testing method for a process, displays a process editing page for editing a target process, obtains a first test instruction for the target process in the process editing page, and runs the target process based on the first test instruction. In this way, the test of the process can be triggered at the stage of process editing, which is convenient for users to test the process during the editing process and realize real-time debugging of the process in the development environment. The test results of the target process are displayed. The test results include the first running information of the process node and the first running result. The user can view the test results in the process editing page, quickly adjust the target process based on the test results, and improve the efficiency of editing the target process.
[0056] In order to facilitate the understanding of the technical solutions provided in the embodiments of the present application, Figure 1-Figure 3 A testing method for a process provided in an embodiment of the present application is described.
[0057] The user uses the process engine through the client. The user uses the process editing page provided by the process engine to edit and test the process in the development environment. The client displays the process editing page 100. The process editing page 100 is shown in FIG. Figure 1 As shown. The user can draw the process topology of the target process in the canvas area 101 of the process editing page 100. The process topology consists of process nodes and the connecting lines between the process nodes. The user configures the parameters of the process nodes to execute the business operations corresponding to the process nodes when the target process is running. When executing the target process, the business operations corresponding to the process nodes are executed in sequence according to the connection relationships included in the process topology.
[0058] The process editing page 100 includes a test control. When a user clicks the test control, the user can test the target process. Figure 2 As shown, in response to clicking the test control, the process editing page 100 displays the test area 101. The test area 101 is used to display content related to process testing. The test area 101 includes an execution control. The user clicks the execution control to trigger the first test instruction for the target process. Figure 3 As shown, the test result of the target process is displayed in the test area 101. The test result of the target process includes the first operation information and the first operation result of the process node. The test area includes multiple node display areas 1011. Each node display area 1011 displays the first operation information and the first operation result of the corresponding process node. Take the process node of the acquisition record as an example. The first operation information displayed in the node display area 1011 corresponding to the process node of the acquisition record includes the start time of the operation, the operation time, the number of records obtained, and the records obtained. The first operation result is a normal operation mark.
[0059] In this way, the process can be tested in the development environment of the process engine, that is, during the process editing process, making it easier for users to test and modify the process in real time without having to test it after the process is released, thus reducing the operations that users need to perform for process testing and lowering testing costs.
[0060] Those skilled in the art will understand that Figure 1-Figure 3 The schematic diagram shown is only an example in which the embodiments of the present application can be implemented. The scope of application of the embodiments of the present application is not limited in any aspect by the schematic diagram.
[0061] In order to facilitate understanding of the technical solution provided in the embodiment of the present application, the testing method for the process provided in the embodiment of the present application is described below with reference to the accompanying drawings.
[0062] See also Figure 4 As shown in FIG. 1 , this figure is a flow chart of a testing method for a process provided in an embodiment of the present application, such as Figure 4 As shown, the method may include S401-S403:
[0063] S401: Displaying a process editing page, where the process editing page is used to edit a target process, where the target process includes process nodes.
[0064] The process editing page is a page provided by the client of the process engine. The process editing page is, for example, a page displayed in a browser, or a page displayed in an application. The embodiment of the present application does not limit this, and the user can display the process editing page by triggering an editing instruction for the process.
[0065] The process editing page is used to edit the process. Editing the process includes operations such as creating a process, drawing process nodes, drawing connecting lines between process nodes, and editing the node parameters of the process nodes. Node parameters include parameters such as the trigger conditions of the process node, the information of the node input data, and the information of the node output data. Node parameters are used to implement the business operations corresponding to the process nodes.
[0066] The target process is the process currently being edited in the process editing page. As an example, the process editing page includes a canvas area. In the canvas area, the process topology of the target process is displayed. The user can edit the target process in the canvas area.
[0067] S402: Obtain a first test instruction for a target process, where the first test instruction is used to trigger the target process to run.
[0068] The first test instruction for the target process can be triggered in the process editing page. The embodiment of the present application does not limit the implementation method of triggering the generation of the first test instruction in the process editing page. In one possible implementation method, the process editing page includes a test control. As an example, the generation of the first test instruction for the target process can be triggered by clicking the test control. As another example, see Figure 2 As shown, by clicking the test control, the test area is triggered. The test area includes an execution control. By clicking the execution control, the first test instruction for the target process is triggered. In another possible implementation, by triggering a shortcut key, the generation of the first test instruction for the target process is triggered.
[0069] After obtaining the first test instruction, run the target process to test the target process during the editing process. The test process simulates the running process of the real target process. During the test process, multiple ways of triggering the running of process nodes are supported. For example, for page event process nodes, the triggering method is to fill in a form or import forms in batches. In addition, it also involves triggering methods such as scheduled tasks, webhooks, database data updates, and external events.
[0070] Before the target process runs, it is necessary to ensure that the target process has completed the running configuration. On the one hand, it is convenient for users to configure the content necessary for the test run. On the other hand, it implements the inspection of the target process to avoid process running problems caused by lack of configuration.
[0071] As an example, the operation configuration includes configuring the input parameters of the target process and configuring the node parameters of the process nodes of the target process. The input parameters of the target process are the data to be processed by the target process, that is, the data used by at least one process node in the target process. The node parameters of the process node are used to execute the business operation corresponding to the process node.
[0072] The embodiment of the present application does not limit the triggering method of detecting whether the target process has completed the running configuration. As an example, in response to displaying the test area, detecting whether the target process has completed the running configuration. As another example, after triggering the first test instruction, detecting whether the target process has completed the running configuration.
[0073] The following is an example of detecting whether the target process has completed the running configuration in response to displaying the test area.
[0074] If it is detected that the target process has completed the run configuration, the execution control is displayed and a prompt message that it can be run is displayed. Figure 5 As shown, the runnable prompt message is: This process can be tested directly, click the execution control to test. If it is detected that the target process has not completed the run configuration, the run configuration information or the run configuration page is displayed so that the user can perform the run configuration.
[0075] Assume that the node parameters of the process node are not configured. The process node that lacks the configured node parameters is the target process node. In a possible implementation, the node editing reminder information is displayed in the test area or in the pop-up reminder page. The node editing reminder information is used to remind you to edit the node parameters of the target process node. It should be noted that the node parameters that are missing from the target process node are the node parameters that must be configured for the target process to run. See Figure 6 As shown, the node editing reminder information is used to describe the node parameters that need to be configured for the target process node. The node editing reminder information includes, for example, description information and positioning information. The description information is used to describe the node parameters that need to be configured. The positioning information is used to determine the target process node.
[0076] In another possible implementation, in the process topology of the target process in the canvas area, the target process node is displayed in a reminder display mode. The reminder display mode may change the display color of the target process node, add a shadow style to the area where the target process node is located, or make the node border of the target process node bold. Figure 7 As shown, the node editing reminder information is displayed in the test area and the target process node is displayed in a reminder display mode. The reminder display mode is to bold the node border of the target process node.
[0077] Based on the displayed node editing reminder information, the user can determine the target process node that needs to configure the node parameters. The user can edit the target process node. Get the configuration instructions for the target process node. As an example, the user triggers the node editing area of the target process node in the canvas area. The user enters the node parameters in the node editing area and ends the input by triggering, triggering the generation of the configuration instructions for the target process node.
[0078] The configuration instruction of the target process node includes node parameters of the target process node. The target process node is configured using the node parameters.
[0079] Assume that the input parameters of the target process are not configured. In one possible implementation, the input parameter configuration control of the target process is displayed. The input parameter configuration control is displayed, for example, in the test area, or in a pop-up page. The user can input the first input parameter of the target process through the input parameter configuration control. As an example, see Figure 8 As shown, taking the input parameter configuration control displayed in the test area as an input parameter selection control as an example, the user can select the first input parameter provided by the process engine. As another example, the input parameter configuration control is, for example, an input parameter input control, and the user can enter the parameter information of the first input parameter to be used in this test, such as a parameter link, so that the target process calls the first input parameter to run. Based on the input parameter configuration control, the first input parameter is obtained to implement the configuration of the input parameters of the target process.
[0080] In another possible implementation, the second input parameter used in the historical test can be reused. Obtaining a first test instruction for a target process includes: obtaining a second test instruction for a target historical test of the target process. The target historical test of the target process is a test in the historical test of the target process. The second test instruction is used to instruct the target process to use the input parameters used in the target historical test, that is, the second input parameters to run this test. The embodiment of the present application does not limit the possible implementation methods for triggering the second test instruction. As an example, see Fig. 9 As shown, the test area includes a repeat execution control. The test area displays the test results of the target historical test. The user triggers the repeat execution control to generate a second test instruction and uses the second input parameter to perform the test. In this way, there is no need to configure the input parameters multiple times. The user can directly reuse the input parameters of the historical test for testing, which reduces the number of times the input parameters are configured, shortens the configuration cost, and improves the test efficiency.
[0081] It should be noted that the input parameters configured by the user can be the parameters used in the real business scenario, or the input parameters can be set by using a mock input parameter to facilitate rapid testing of the target process.
[0082] S403: Display the test result of the target process, where the test result includes the first running information and the first running result of the process node.
[0083] The embodiments of the present application do not limit the content of the first operation information of the process node. As an example, the first operation information includes one or more of the information such as node input data, node output data and node parameters. In addition, the first operation information may also include information related to the node operation such as node identification, start time of operation, operation duration, type of process node and number of executions. The information included in the first operation information may be pre-set. Displaying the first operation information can facilitate users who test the target process to quickly understand the operation status of the process node, which is conducive to users quickly completing the test of the target process and improving the test efficiency.
[0084] The first running result of the process node is, for example, running successfully, running failed, or waiting for processing. The first running result of the process node is, for example, displayed using a corresponding identifier. As an example, the identifier corresponding to running successfully, the identifier corresponding to running failed, and the identifier corresponding to waiting for processing can be found in Fig.10 As shown. In addition, the first running result of the process node is displayed in a corresponding color. For example, the first running result of a successful operation is displayed in green. For the first running result of a failed operation, it is displayed in red. This makes it easier for users to determine the running results of the process nodes more intuitively. The embodiment of the present application does not limit the display method of the test results of the target process in the test area. As an example, after each process node completes the operation, the first running information and the first running result of the process node are displayed in real time in the test area. As another example, after all the process nodes to be run this time have completed the operation, the first running information and the first running result of the process node are displayed in the test area.
[0085] As an example, this figure is a schematic diagram of a test result provided in an embodiment of the present application. The user can directly view the test result in the test area, which is convenient for the user to understand the operation status of the target process.
[0086] In addition, in the canvas area, the process topology of the target process can be displayed in a correspondingly adjusted manner based on the first running result.
[0087] As an example, the process node is displayed in the node display mode corresponding to the first running result. Fig.10 As shown in the figure, the first running result is successful, and the border color of the process node is adjusted to green. The first running result is failed, and the border color of the process node is adjusted to red. In this way, the running results of the process node can be more clearly understood, which is convenient for users to understand the running status of the target process and adjust the target process.
[0088] In addition, the process topology of the target process may include multiple branches. Fig.10As shown in the figure, the branches that are run during the test process are marked with a running mark, and the branches that are not run during the test process are marked with a non-running mark. In this way, the user can understand the running status of the target process during this test more clearly based on the changes in the process topology.
[0089] Based on the above S401-S403, it can be known that the test of the target process can be triggered in the process editing page, which is convenient for users to test the target process during the process editing process. In addition, a clearer and more complete display of test results is achieved, and users can understand the overview of the process operation based on the test results. In this way, users do not need to trigger the test operation of the process after publishing, shortening the user's operation process of triggering the process test, reducing testing costs, improving testing efficiency, and improving the quality of the published process.
[0090] After the test results of the target process are displayed in the test area, in some possible implementations, the user can also view the running information of the process nodes in detail.
[0091] The test area includes a node display area. The node display area corresponds to the process node one by one. The first operation information and the first operation result of the corresponding process node are displayed in the node display area. The user can view the first operation information and the first operation result of the corresponding process node in the node display area, which is convenient for the user to locate the corresponding process node based on the test results and to adjust the process node.
[0092] As an example, the user may perform a second trigger operation on the target node display area. The second trigger operation is, for example, a hover operation of the operation cursor. In response to the second trigger operation on the target node display area, the display mode of the process node corresponding to the target node display area is adjusted, and the process node is displayed in a positioning display mode. The positioning display mode is, for example, to display the process node in a shadow display mode, or to adjust the border color of the process node. For example, see Fig.11 As shown in FIG. 1 , the user hovers the operation cursor over the target node display area of “Submit”. The “Submit” process node corresponding to the target node display area of “Submit” is displayed in a shadow display mode.
[0093] In addition, users can trigger the node display area to view the running information of the process node in detail. Users can click the node display area to view the running information of the process node corresponding to the node display area in detail.
[0094] In response to a first trigger operation on the target node display area, one or more of operations A1 and A2 are performed, wherein the first trigger operation is, for example, a click operation.
[0095] A1: Display the node running page.
[0096] The node operation page is used to display the second operation information of the process node corresponding to the target node display area. The second operation information includes information different from the first operation information. As an example, the second operation information is relatively comprehensive operation information. The first operation information is obtained by extracting information from the second operation information. As another example, the second operation information is data in the JavaScript Object Notation (JSON) format of the running process node. Data in JSON format is, for example, the running code of the process node. See Fig.12 As shown, the running code includes the code for obtaining node input data and the code for generating node output data. The node running page also includes a copy control. The copy control is used to copy data in JSON format.
[0097] Users can view the JSON format data of the process node and learn about the running status of the running process node in detail, which is helpful for carefully understanding the running process of the process node and timely discovering running problems. Users can also copy the JSON format data from the node running page, which is convenient for users to use the JSON format data to implement other editing or configuration operations.
[0098] A2: Displays the node editing area of the process node corresponding to the target node display area. The configured node parameters are displayed in the node editing area.
[0099] In some possible cases, the display mode of the process node can be switched. In response to the first trigger operation on the target node display area, the process node corresponding to the target node display area is determined, and the node editing area of the process node is displayed. As an example, the node editing area belongs to the target node display area. As another example, see Fig.12 As shown, the node editing area belongs to the canvas area.
[0100] The node editing area displays the configured node parameters of the process node. This makes it easy for users to view the configuration of the node parameters of the process node and understand the operation status of the process node.
[0101] In some possible implementations, the target process includes a user processing node. A user processing node is a process node that requires a user to manually process a business. A user processing node requires a user with processing authority to process the node and completes the operation based on the processing result. For example, a user processing node is an audit node. An audit node requires an auditor with audit authority to audit the information.
[0102] During the test, when the process node of the user's business is run, the processing prompt information is displayed so that the user with processing authority can process the corresponding business. As an example, the processing prompt information of the user processing node is displayed in the test area, and the test result of the user processing node waiting for processing is displayed.
[0103] During the test, the user who triggers the test can trigger a simulated processing request for the user processing node. The simulated processing request is a processing request for the user processing node triggered by the user who triggers the test simulating a user with processing authority.
[0104] As an example, see Fig.13 As shown, the test area includes a node display area. Each node display area corresponds to a process node one by one. The first operation information and the first operation result of the corresponding process node are displayed in the node display area. For user processing nodes, a quick pass control is also displayed in the node display area. The user who triggers the test can trigger a simulated processing request for the user processing node by clicking the quick pass control. In addition, the node display area also includes a manual task control. The manual task control is used to share the processing task with users with node processing authority after triggering.
[0105] In response to obtaining a simulated processing request for a user processing node, a processing information page is displayed. The processing information page is used to display information required for processing the user processing node. The information displayed on the processing information page is related to the business operation corresponding to the user processing node.
[0106] Take the user processing node as the audit node as an example, see Fig.14 As shown, this figure is a schematic diagram of a processing information page provided in an embodiment of the present application. The processing information page displays the information to be reviewed. The user can trigger the review instruction on the processing information page to implement the processing of the review node so as to implement the test of the success or failure of the review.
[0107] In addition, after the user triggers the simulation processing request, a target identity is assigned to the user who triggered the test. The user who triggered the test triggers the processing instruction with the target identity. The target identity is a user identity with processing authority. As an example, the target identity is a user identity with the highest authority. The target identity is, for example, an administrator identity. As another example, the target identity is a user identity with processing authority corresponding to the user processing node. For example, the user processing node pre-sets user A to have processing authority. The user who triggered the test triggers the processing instruction with the identity of user A.
[0108] The embodiment of the present application does not limit the way in which the user triggers the processing instruction. In one possible implementation, the processing information page may also include a processing control. The user may trigger the processing control based on the information displayed on the processing information page to generate a processing instruction. Fig.14 For example, the user can select the approval result as passed or not in the review selection control included in the processing information page to test the operation of the target process when the approval is passed or not. In another possible implementation, the processing control is displayed in the test area so that the user can trigger the processing instruction after viewing the information included in the processing information page.
[0109] The user processing node is run according to the processing result indicated by the processing instruction to implement the test operation of the user processing node.
[0110] It should be noted that after the user processing node is run based on the processing result, the first running result after the user processing node status is updated is displayed in the test area to achieve real-time update of the node test result.
[0111] By using the assigned target identity, it is possible to simulate the identity of an authorized user, so that the user who triggers the test can directly process the user processing node without performing identity switching operations or sending processing requests to authorized users. This facilitates testing of user processing nodes, saves testing costs, improves testing efficiency, and allows users to quickly test the process.
[0112] In addition to real-time testing of the target process, if a historical test is performed on the target process, the historical test information of the target process can also be viewed.
[0113] In a possible implementation, the present application also provides a testing method for a process, see Fig.15 As shown in FIG. 1 , this figure is a flowchart of another testing method for a process provided in an embodiment of the present application, which, in addition to the above steps, also includes the following steps:
[0114] S404: In response to the query instruction for obtaining historical test results, displaying test information of historical tests for the target process in the test area.
[0115] In some possible implementations, the user can trigger a query instruction for the historical test results of the target process. As an example, the user can generate a query instruction for the historical test results of the target process by triggering a query control for the historical test results included in the process editing page.
[0116] For example, see Fig.16As shown, the test area includes a historical test information control. The user triggers the historical test information control to generate a query instruction for the historical test results of the target process.
[0117] In one possible implementation, see Fig.17 As shown, the historical test information control includes a query control. The user can trigger the query control to generate a query instruction for the historical test results of the target process by inputting the time of the historical test, the test version number, or the identifier of the historical test. In another possible implementation, see Fig.18 As shown, the historical test information control includes a drop-down menu control. The user can trigger the generation of a query instruction for historical test results by clicking the drop-down menu control.
[0118] Based on the query instruction for historical test results, the test information of the historical test for the target process is displayed in the test area. The test information is used to describe the historical test. The user can select the test results of the historical test that he wants to view based on the test information.
[0119] The test information of the historical test includes an identifier of the historical test information. The identifier of the historical test information is used to identify the historical test. The identifier of the historical test information includes, for example, one or more of the test time, the test number, and the test status. The test status is, for example, the test is finished or in progress. In progress, for example, it is a state where an abnormal test result occurs. The test is finished, for example, it is a state where a normal test result does not occur.
[0120] The embodiment of the present application does not limit the display method of the test information of the historical test. As an example, the historical test information control includes a query control. Based on the query content entered by the user in the query control, see Fig.19 As shown, the test information of the historical test corresponding to the query content is displayed in the test area. As another example, the historical test information control includes a drop-down menu control. In response to the user clicking the drop-down menu control, see Fig. 20 As shown in the figure, a menu is displayed in the test area. The menu includes test information of historical tests.
[0121] S405: In response to the viewing instruction for the test information of the target historical test, display the test result of the target historical test in the test area.
[0122] The user can select the target historical test that he wants to view based on the test information of the displayed historical test. As an example, the user can click the view control corresponding to the test information of the target historical test to trigger the generation of a view instruction for the test information of the target historical test. Fig. 20 For example, see Fig.21As shown, the user can click on the test information of the target historical test to generate a viewing instruction for the test information of the target historical test. As another example, the user can select the test information of the target historical test, and then trigger the viewing control to generate a viewing instruction for the test information of the target historical test.
[0123] In response to a viewing instruction for test information of a target historical test, a test result of the target historical test is displayed in the test area.
[0124] The test results of historical tests include the second operation results and third operation information of the historical process nodes. It should be noted that the target process may change, and different versions correspond to different times. The test results of historical tests are the test results of the target process version when the historical test was performed. In other words, the historical process nodes involved in the test results of historical tests are the process nodes included in the target process during the historical test.
[0125] The display mode of the second operation result is similar to the display mode of the first operation result. The type of information included in the third operation information is similar to the type of information included in the fourth operation information, and will not be repeated here.
[0126] The display method of the test results of the historical test in the test area is similar to the display method of the test results of the real-time test in the test area described above, and will not be repeated here.
[0127] In addition, in addition to displaying the test results of the historical tests in the test area, the test information of the historical tests can also be displayed so that the user can confirm the test information of the historical tests currently displayed.
[0128] The test results of historical tests are displayed in the test area, which is convenient for users to query the historical test status of the target process and manage the historical tests, so that users can understand the test process of the target process, adjust the target process more conveniently, and improve the speed of users editing the target process.
[0129] Furthermore, in the process of viewing the test results of the historical test, the historical process topology of the target process can also be viewed.
[0130] The user can trigger a topology view command for the test results of the target historical process. For example, see Fig. 22 As shown, this figure is a schematic diagram of a test area provided in an embodiment of the present application. The test area also includes a historical topology control. The user can trigger the historical topology control to generate a topology viewing instruction for the test results of the target historical process.
[0131] In response to a topology viewing instruction for obtaining a test result for a target historical test, a process topology of a target process when the target historical test is run is displayed.
[0132] In one possible implementation, see Fig.23 As shown, in response to a topology viewing instruction for obtaining the test results of the target historical test, a historical process topology display page is displayed. The process topology of the target process when running the target historical test is displayed in the historical process topology display page. The process topology of the target process during the target historical test corresponds to the test results of the target historical test, which is convenient for users to view the detailed information included in the process topology of the target process during the historical test, and realize the comparison of the historical process topology with the current process topology. In addition, in some possible cases, the process topology of the target process when running the target historical test is displayed in a read-only state and cannot be edited.
[0133] In addition, the historical process topology display page can only display the process topology of the target process during the target historical test. In another implementation, the process topology of the target process during the target historical test and the test results of the target historical test can be displayed so that the user can view the process topology and test results at the same time.
[0134] The historical process topology display page includes a process topology display area and a test area. The test area displays the test results of the target historical test. The test area of the historical process topology display page also includes a node display area. The node display area corresponds to the process node one by one. The node display area displays the third operation information and the second operation result of the corresponding historical process node. Users can trigger the node display area to view the operation status of the historical process node in detail. The node display area is the same as the above Fig.11 The node display area shown is similar to that shown in Fig.11 The method of triggering the node display area to display more detailed information is similar to the steps of A1 and A2 above. Please refer to the above description for details.
[0135] Based on the testing method for a process provided in the above method embodiment, the embodiment of the present application also provides a testing device for a process, and the testing device for a process will be described below in conjunction with the accompanying drawings.
[0136] See also Fig.24 As shown in FIG. 1 , this figure is a schematic diagram of a structure of a testing device for a process provided in an embodiment of the present application. Fig.24 As shown, the test device for the process includes:
[0137] A first display unit 2401 is used to display a process editing page, where the process editing page is used to edit a target process, where the target process includes process nodes;
[0138] A first acquisition unit 2402 is used to acquire a first test instruction for the target process, where the first test instruction is used to trigger the target process to run;
[0139] The second display unit 2403 is used to display the test result of the target process, and the test result includes the first operation information and the first operation result of the process node.
[0140] In a possible implementation manner, the device further includes:
[0141] A third display unit, used for displaying node editing reminder information, wherein the node editing reminder information is used for reminding to edit node parameters of a target process node, the target process node belonging to the target process;
[0142] The configuration unit is used to, in response to acquiring a configuration instruction for the target process node, configure the node parameters of the target process node using the configuration instruction.
[0143] In a possible implementation manner, the device further includes:
[0144] The fourth display unit is used to display the target process node in a reminder display manner.
[0145] In a possible implementation manner, the device further includes:
[0146] a fifth display unit, configured to display an input parameter configuration control of the target process;
[0147] The second acquisition unit is used to acquire a first input parameter of the target process based on the input parameter configuration control, where the first input parameter is an input parameter used by at least one process node in the target process to run.
[0148] In a possible implementation, the first acquisition unit 2402 is used to acquire a first test instruction for the target process, including:
[0149] The first acquisition unit 2402 is specifically used to acquire a second test instruction for a target history test of a target process, where the second test instruction is used to instruct the target process to run with a second input parameter, and the second input parameter is an input parameter used by the target history test.
[0150] In a possible implementation manner, the device further includes:
[0151] A sixth display unit, configured to display test information of historical tests for the target process in the test area in response to a query instruction for obtaining historical test results;
[0152] The seventh display unit is used to respond to a viewing instruction for the test information of the target historical test, and display the test results of the target historical test in the test area, wherein the test results of the target historical test include the third operation information and the second operation result of the historical process node, and the historical process node is the process node included in the target process targeted by the target historical test.
[0153] In a possible implementation manner, the device further includes:
[0154] An eighth display unit is used to display the process topology of the target process when running the target history test in response to a topology viewing instruction for obtaining a test result for the target history test.
[0155] In a possible implementation, the test area includes a node display area, the node display area corresponds to the process node one by one, and the first operation information and the first operation result of the corresponding process node are displayed in the node display area, and the device further includes:
[0156] An execution unit is configured to, in response to a first trigger operation on a target node display area, perform one or more of the following operations:
[0157] Displaying a node running page, the node running page is used to display second running information of the process node corresponding to the target node display area, the second running information includes information different from the first running information;
[0158] or,
[0159] The node editing area of the process node corresponding to the target node display area is displayed, and the configured node parameters are displayed in the node editing area.
[0160] In a possible implementation manner, the second running information includes the running code of the process node.
[0161] In a possible implementation manner, the target process includes a user processing node, and the device further includes:
[0162] A third acquisition unit, used to acquire a simulation processing request for the user processing node;
[0163] A fourth acquisition unit, configured to acquire a processing instruction triggered by a user as a target identity, wherein the target identity is a user identity having processing authority;
[0164] An operating unit is used to operate the user processing node according to the processing result indicated by the processing instruction.
[0165] In a possible implementation manner, the device further includes:
[0166] The ninth display unit is used to respond to the second trigger operation on the target node display area and display the process node corresponding to the target node display area in a positioning display manner.
[0167] In a possible implementation manner, the first operation information includes one or more of node input data, node output data, and node parameters of the process node.
[0168] In a possible implementation, the first operation result is displayed using a corresponding mark.
[0169] In a possible implementation manner, the process node is displayed using a node display manner corresponding to the first running result.
[0170] Based on a testing method for a process provided in the above method embodiments, the present application also provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the testing method for the process as described in any of the above embodiments.
[0171] Reference below Fig.25 , which shows a schematic diagram of the structure of an electronic device 2500 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (portable android devices), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs (televisions), desktop computers, etc. Fig.25 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0172] like Fig.25As shown, the electronic device 2500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 2501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 2502 or a program loaded from a storage device 2508 into a random access memory (RAM) 2503. In the RAM 2503, various programs and data required for the operation of the electronic device 2500 are also stored. The processing device 2501, the ROM 2502, and the RAM 2503 are connected to each other via a bus 2504. An input / output (I / O) interface 2505 is also connected to the bus 2504.
[0173] Typically, the following devices may be connected to the I / O interface 2505: input devices 2508 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 2507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 2508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 2509. The communication devices 2509 may allow the electronic device 2500 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.25 The electronic device 2500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0174] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 2509, or installed from the storage device 2508, or installed from the ROM 2502. When the computer program is executed by the processing device 2501, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0175] The electronic device provided in the embodiment of the present application and the testing method for the process provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0176] Based on a testing method for a process provided in the above method embodiment, an embodiment of the present application provides a computer storage medium on which a computer program is stored, wherein when the program is executed by a processor, the testing method for a process as described in any of the above embodiments is implemented.
[0177] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0178] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0179] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0180] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the test method for the process.
[0181] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0182] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0183] The units involved in the embodiments described in this application may be implemented by software or hardware. The name of a unit / module does not limit the unit itself in some cases. For example, a voice data acquisition module may also be described as a "data acquisition module".
[0184] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0185] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0186] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0187] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0188] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0189] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A testing method for a process, characterized in that: The method comprises: Display a process editing page, where the process editing page is used to edit a target process, where the target process includes process nodes; Acquire a first test instruction for the target process, where the first test instruction is used to trigger the target process to run; The test result of the target process is displayed, wherein the test result includes the first operation information and the first operation result of the process node.
2. The method according to claim 1, characterized in that: The method further comprises: Displaying node editing reminder information, wherein the node editing reminder information is used to remind editing of node parameters of a target process node, the target process node belonging to the target process; In response to acquiring a configuration instruction for the target process node, a node parameter of the target process node is configured using the configuration instruction.
3. The method according to claim 2, characterized in that The method further comprises: The target process node is displayed in a reminder display manner.
4. The method according to claim 1, characterized in that: The method further comprises: Display input parameter configuration controls for the target process; Based on the input parameter configuration control, a first input parameter of the target process is obtained, where the first input parameter is an input parameter used by at least one process node in the target process to run.
5. The method according to claim 1, characterized in that: The obtaining of a first test instruction for the target process includes: A second test instruction for a target history test of a target process is obtained, where the second test instruction is used to instruct the target process to run with a second input parameter, where the second input parameter is an input parameter used by the target history test.
6. The method according to claim 1, characterized in that The method further comprises: In response to a query instruction for obtaining historical test results, displaying test information of historical tests for the target process in the test area; In response to an instruction to view test information for a target historical test, the test results of the target historical test are displayed in the test area, the test results of the target historical test including third operation information and second operation results of a historical process node, and the historical process node is a process node included in the target process targeted by the target historical test.
7. The method according to claim 6, characterized in that The method further comprises: In response to a topology viewing instruction for obtaining a test result of the target historical test, a process topology of the target process when the target historical test is run is displayed.
8. The method according to claim 1, characterized in that The test area includes a node display area, the node display area corresponds to the process node one by one, and the first operation information and the first operation result of the corresponding process node are displayed in the node display area. The method further includes: In response to the first trigger operation on the target node display area, one or more of the following operations are performed: Displaying a node running page, the node running page is used to display second running information of the process node corresponding to the target node display area, the second running information includes information different from the first running information; or, The node editing area of the process node corresponding to the target node display area is displayed, and the configured node parameters are displayed in the node editing area.
9. The method according to claim 8, characterized in that The second running information includes the running code of the process node.
10. The method according to any one of claims 1 to 9, characterized in that: The target process includes a user processing node, and the method further includes: Obtaining a simulation processing request for the user processing node; Obtaining a processing instruction triggered by a user as a target identity, where the target identity is a user identity with processing authority; The user processing node is run according to the processing result indicated by the processing instruction.
11. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: In response to a second trigger operation on a target node display area, a process node corresponding to the target node display area is displayed in a positioning display manner.
12. The method according to any one of claims 1 to 9, characterized in that: The first operation information includes one or more of node input data, node output data and node parameters of the process node.
13. The method according to any one of claims 1 to 9, characterized in that: The first operation result is displayed using a corresponding mark.
14. The method according to claim 13, characterized in that The process node is displayed in a node display mode corresponding to the first operation result.
15. A testing device for a process, characterized in that: The device comprises: A first display unit, used to display a process editing page, wherein the process editing page is used to edit a target process, wherein the target process includes a process node; A first acquisition unit, used for acquiring a first test instruction for the target process, wherein the first test instruction is used for triggering the target process to run; The second display unit is used to display the test result of the target process, and the test result includes the first operation information and the first operation result of the process node.
16. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the testing method for the process as described in any one of claims 1-14.
17. A computer readable medium, characterized in that A computer program is stored thereon, wherein when the program is executed by a processor, the testing method for a process as described in any one of claims 1 to 14 is implemented.
Citation Information
Patent Citations
Test method and device, storage medium and computer equipment
CN113535541A
Cited By
Flow chart interface data visualization display method and device, equipment and storage medium
CN120086279A
Flowchart interface data visualization display method and device, equipment and storage medium
CN120086279B
Intelligent agent question and answer method, device and equipment based on large model, medium and product
CN120509480A
