CN115774662A - Business process testing method, device, equipment and storage medium - Google Patents

Business process testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115774662A
CN115774662A CN202211101145.1A CN202211101145A CN115774662A CN 115774662 A CN115774662 A CN 115774662A CN 202211101145 A CN202211101145 A CN 202211101145A CN 115774662 A CN115774662 A CN 115774662A
Authority
CN
China
Prior art keywords
test
script
business process
testing
sub
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
Application number
CN202211101145.1A
Other languages
Chinese (zh)
Inventor
蔡博
张圣超
袁书平
李俊
周若谷
郑莎
白武龙
杨昭旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ccb Pension Management Co ltd
CCB Finetech Co Ltd
Original Assignee
Ccb Pension Management Co ltd
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ccb Pension Management Co ltd, CCB Finetech Co Ltd filed Critical Ccb Pension Management Co ltd
Priority to CN202211101145.1A priority Critical patent/CN115774662A/en
Publication of CN115774662A publication Critical patent/CN115774662A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for testing a business process. Relates to the technical field of software testing. The method specifically comprises the following steps: and calling a test entry script, wherein the test entry script is used for testing each service flow included by the service to be tested. And then, determining a first test sub-script according to a first business process parameter input by a user. The first service process parameter indicates the type of the first service process, the first test sub-script is used for testing the first service process, and the first test sub-script is called through the test entry script. And then, running a first test sub-script to test the first business process. The method is used for solving the problem that the test efficiency is low when the script is used in the service flow test method in the prior art.

Description

Business process testing method, device, equipment and storage medium
Technical Field
The present application relates to the field of software testing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for testing a business process.
Background
The application software can assist the user in handling the service, and the user completes the whole service flow through input, clicking and other operations based on the application software. In order to ensure the functions of the application software, the whole business process needs to be tested in advance.
In a traditional business process testing method, the whole business process is used as a test object, and a test script is written for the test object. However, in the whole business process, once some links in the business process are changed, the application software is also changed correspondingly. For the changed application software, the test script needs to be rewritten, resulting in low test efficiency.
Disclosure of Invention
The application provides a business process testing method, a business process testing device, business process testing equipment and a storage medium, which are used for solving the problem of low testing efficiency when a script is used in the business process testing method in the prior art.
In a first aspect, the present application provides a method for testing a service flow, where the method specifically includes: and calling a test entry script, wherein the test entry script is used for testing each service flow included in the service to be tested. And then, determining a first test sub-script according to a first business process parameter input by a user. The first service process parameter indicates the type of the first service process, the first test sub-script is used for testing the first service process, and the first test sub-script is called through the test entry script. And then, running a first test sub-script to test the first business process.
In the embodiment of the present application, the first business process may be regarded as a sub-business process related to the whole business process. According to the embodiment of the application, the test script can be separately compiled for each sub-business process in the whole business process, namely, a plurality of test sub-scripts are compiled, and one sub-business process corresponds to one test sub-script. When a certain sub-business process, such as a first business process, needs to be tested, a first test sub-script corresponding to the first business process can be selected through the test entry script for testing. When a plurality of sub-business processes need to be tested, the test sub-scripts respectively corresponding to the plurality of sub-business processes can be called. The test sub-scripts are connected in series according to the combination of the service flows, so that the automatic test of the service flow to be tested is realized, and the efficiency of the service flow test is improved. Moreover, each sub-business process of the business process to be tested is tested by the test sub-script, so that the problem that the test script needs to be rewritten when any link in the business process is changed can be solved, and the flexibility of the business process test is improved.
Optionally, after the test entry script is called, the method further includes: and calling the user login script through the test entry script according to the login information input by the user. And then, operating a user login script to log in the service system, wherein the service system is used for operating each service process of the service to be tested.
Optionally, the determining the first test sub-script according to the first service flow parameter input by the user, where the different types of service flows correspond to different test sub-scripts, includes: and determining the type indicated by the first service flow parameter, and selecting a test sub-script corresponding to the type from the test script set as a first test script. The first business process parameter can indicate the type of the first business process, and the test scripts corresponding to different types are different, so that the test script matched with the business process can be determined based on the type of the business process. Therefore, various types of test scripts can be written in advance, and the test scripts can be directly called when testing is needed, so that the efficiency of the service flow is improved.
Optionally, the first service process relates to a first element in the service process interface, and the running of the first test sub-script tests the first service process includes: and running the first test sub-script, acquiring the position information of the first element, and determining the position of the first element on the service flow interface according to the position information. Then, the test parameters input by the user are obtained, and the test parameters are input into the first element to complete the test of the first business process.
Optionally, the position information of the first element includes a center point coordinate of the first element in the service flow interface, where the center point coordinate is a center coordinate of an area where the first element is located in the service flow interface.
In a second aspect, the present application provides a service flow testing apparatus, which includes a calling unit, a selecting unit, and a testing unit. The calling unit is used for calling a test entry script, and the test entry script is used for testing each service flow included by the service to be tested. And the selecting unit is used for determining the first test sub-script according to the first service process parameter input by the user. The first service process parameter indicates the type of the first service process, the first test sub-script is used for testing the first service process, and the first test sub-script is called through the test entry script. And the test unit is used for running a first test sub-script to test the first service flow.
Optionally, the invoking unit is further configured to: and calling the user login script through the test entry script according to the login information input by the user. And then, operating a user login script to log in the service system, wherein the service system is used for operating each service process of the service to be tested.
Optionally, the selecting unit is specifically configured to: and determining the type indicated by the first business process parameter, and then selecting a test sub-script corresponding to the type from the test script set as a first test script.
Optionally, the test unit is specifically configured to: and running the first test sub-script, acquiring the position information of the first element, and determining the position of the first element on the service flow interface according to the position information. Then, the test parameters input by the user are obtained, and the test parameters are input into the first element to complete the test of the first business process.
Optionally, the position information of the first element includes a center point coordinate of the first element in the service flow interface, where the center point coordinate is a center coordinate of an area where the first element is located in the service flow interface.
In a third aspect, an embodiment of the present application provides an electronic device including a processor and a memory communicatively coupled to the processor. Wherein the memory stores computer executable instructions for execution by the processor to enable the processor to perform the method of any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, cause the processor to perform the method of any one of the first aspect.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a computer program stored in a computer-readable storage medium, and a processor can read the computer program from the computer-readable storage medium, and when the processor executes the computer program, the processor can implement the method in any one of the above first aspects.
Drawings
Fig. 1 is a schematic flow chart of a service flow testing method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a service flow testing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The application software can assist the user in handling the business, and the user completes the whole business process through input, clicking and other operations based on the application software. In order to ensure that a user can normally handle services when using an application program, the application program needs to be tested at the initial stage of application program development. Taking the example that the service is the pension service, in order to ensure the stable operation of the pension project, the application software of the pension-related service needs to be tested, that is, the pension-related service flow is tested.
In the embodiment of the present application, the application software test is also referred to as a business process test. The business process test is a process for simulating the actual operation of the business process, for example, simulating the operation processes of user clicking, inputting and the like, so as to realize the repeated carving of the user operation. And if the simulation operation can be smoothly carried out, determining that the service flow is normal and the application software passes the test. In a traditional service process testing method, the whole service process is used as a test object to be tested, and the testing method is called full coverage testing. The full coverage test tests all operations, interfaces and the like related to the business process together, and writes a test script.
The test of the application software comprises an application scene test and an interface test of the business process. The interface test can satisfy the logic test of the business process, but cannot test the display interface of the application software, namely, the front-end interface of the business process. The application scenario test can be understood as a test on a front-end interface of a business process. Generally, a business process involves more contents, and accordingly, the function and the business process of application software corresponding to the business process are complex, and the number of data and interfaces involved in the application software is more. Once data or an interface error, a content error and the like occur, the corresponding service cannot be handled normally, and therefore once the operation related to the service flow, the elements in the interface and the like change, the application software needs to be tested again. This requires rewriting the entire test script, which is time consuming and labor intensive. In addition, the traditional method finishes the test through the ocr screen recording under the restriction of the resolution ratio of script input original computer and the tool for identifying the control, and the script positioning is completely influenced as long as the position of a certain element in the interface is changed, a new element is added or an old element is deleted, and the script needs to be rewritten, so that the early-stage manufacturing cost and the later-stage maintenance cost are high.
In view of this, the present application provides a method for testing a business process. The method can be used for testing each stage of the business process respectively (the method can be called regression testing). If the business process is changed in a certain stage, the business process in the stage can be independently tested without retesting the whole business process. For example, when a new function is added to the service flow, the new function can be separately tested. The method provided by the embodiment of the application can improve the testing efficiency of the business process.
Referring to fig. 1, a flow of a business flow testing method in an embodiment of the present application is shown. The testing method can be executed by an electronic device with processing function, such as a mobile phone, a tablet computer (PAD), a Personal Computer (PC), etc. Of course, the type of the electronic device in the embodiment of the present invention is not limited thereto. In the following description, the method is performed by an electronic device as an example. In the following, the business process is an pension business process as an example.
S101, the electronic equipment calls a test entry script.
The test entry script can be used for calling at least one test sub-script, wherein one test sub-script corresponds to one sub-business process in the business processes to be tested. Any one of the test sub-scripts is used for testing the corresponding sub-business process. One or more test sub-scripts can be called by calling the test entry script, so that the test of the whole service flow is realized.
The test sub-script may be generated based on a general test script, which is an initial test script written in advance according to each functional unit involved in the business process. One or more functional units may correspond to one universal test script, and thus, for one business process, a plurality of universal test scripts may be written in advance. It may also be considered that a test script set comprising a plurality of generic test scripts pre-exists.
Aiming at any one sub-business process, when the sub-business process needs to be tested, a general test matched with the type can be selected from the test script set to generate a test sub-script for testing the sub-business process. When a plurality of sub-business processes related to the business process to be tested need to be tested, universal test scripts respectively matched with the sub-business processes can be selected from the test scripts in a centralized mode to be combined, and the business process to be tested can be tested according to the test sub-scripts obtained after combination. Therefore, the test of the whole business process can be completed only by determining which sub-business processes in the business to be tested are changed without the need of business personnel to rewrite scripts.
S102, the electronic equipment determines a first test sub-script according to a first business process parameter input by a user.
The first business process is a sub business process in the whole business process. The first test sub-script is a test script for testing the first business process. Before testing the first service flow, the electronic device may select a matched universal test script from the test script set to generate a first test sub-script.
Specifically, a user may input a first business process parameter to the electronic device, which may indicate a type of the first business process. The electronic equipment determines the type of the first service type according to the first service flow parameter input by the user, and accordingly selects the matched general test script from the test script set based on the determined type to generate the first test sub-script.
The first business process parameter may include an interface element, an operation element, and the like involved in the first business process. Taking the first business process as a sub-business process in the pension business process as an example, the first business process parameter may include a user name, a certificate type of the user identity, and the like. The parameters of each sub-business process related to the whole business process can be pre-recorded in a preset list. Taking pension business as an example, the interface elements of the application software associated with the pension business process are relatively fixed, and include interface elements such as certificate type, gender, name, identification card, date, start time, end time, and the like. The sequence of each sub-business process can be set according to the specific situation of the pension business process to form a preset list. Therefore, the test entry script can sequentially call the test sub-scripts according to the sequence in the preset list, and the test sub-scripts are connected in series to form the automatic test of the whole service flow.
After receiving the first service process parameter, the electronic device may obtain the first service process parameter from the preset list, query and traverse the type matching the first service process parameter in the test entry script, and select a matched general test script from the test script set according to the type to generate a first test sub-script. For example, the first business process parameter is "name", the type indicated by the first business process parameter is "name", the electronic device polls traversal in the test entry script to select a generic test script of "name input" from the test script set, which may be used as the first test script.
It is to be appreciated that the electronic device can test multiple sub-business processes, for example, after testing a first business process, the electronic device can continue testing a second business process. Similar to the testing of the first service process, before the electronic device tests the second service process, a general test script matched with the second service process may be selected from the test script set according to the second service process parameters input by the user as a test sub-script (for example, referred to as a second test sub-script) for testing the second service process.
Following the example described above, after testing the first business process using the "name entry" script (i.e., the first test sub-script), the business process goes to the modified certificate number process (i.e., the second business process). The electronic equipment determines that the second service process parameter is the certificate type from the preset list, and inquires and traverses the type matched with the second service process parameter, namely the certificate type, in the test entry script. And selecting a general test script matched with the certificate type from the test script set as a second test script.
S103, running the first test sub-script to test the first service flow.
After the electronic device determines the first test sub-script, the electronic device may run the first test sub-script to complete testing of the first business process. The electronic device runs the first test sub-script, and can display an interface element for a user to input test parameters, for example, referred to as a first element, on the business process interface. The electronic device may obtain the position information of the first element, and determine the position of the first element on the business process interface according to the position information. The position information of the first element comprises a center point coordinate of the first element in the business process interface, and the center point coordinate is a center coordinate of an area where the first element is located in the business process interface. The user enters the parameter to be tested at the first element. The electronic equipment receives the test parameters input by the user, inputs the test parameters into the first element, and runs the first test sub-script to complete the test of the first service flow.
For example, the type of the first business process is "certificate type", the first element involved in the first business process is a "certificate type" input box, and the first testing sub-script is a "certificate type" testing sub-script. And the electronic equipment runs the first test sub-script, and the service flow interface displays an editing interface of the certificate type test sub-script. The electronic equipment can acquire the position information of the first element 'certificate type' input box in the service flow interface, the position information comprises the coordinates of the 'certificate type' input box in the center point of the service flow interface, and the coordinates of the center point are the center coordinates of the 'certificate type' input box in the area where the service flow interface is located. And the electronic equipment determines the position of the certificate type input box on the business process interface according to the position information. When the user inputs the testing parameter 'resident identification card', the electronic equipment writes the specific value of the 'resident identification card' into the 'certificate type' input box, the first testing sub-script continues to run, and the testing of the first business process can be completed.
The method provided by the application adopts the test sub-script to position and test the position of the first element. Compared with the traditional method that the testing is finished through the ocr screen recording, the problem that when the first element is changed, the script needs to be rewritten can be solved.
It can be understood that, before testing the business process to be tested, a system interface for logging in the business to be tested needs to be implemented. For example, the business process of transferring money is tested, and account numbers, passwords and the like are required to be used for logging in a transfer interface. In the embodiment of the application, the test script set further includes a user login script, and the user login script simulates operation of a user login system interface. And after the electronic equipment calls the test entry script, calling the user login script through the test entry script according to the login information input by the user. The login information input by the user can also be recorded in the preset list. Illustratively, the login information may include "login" characters, principal code, user code, and password. The electronic equipment reads the 'login' character, enters a test entry script to judge that the component type is login, acquires a client code, a user code and a password in a preset list, and performs variable assignment. And after the assignment is completed, the electronic equipment operates the user login script to log in the service system.
Referring to fig. 2, based on the same inventive concept, an embodiment of the present application provides a business process testing apparatus 200. The apparatus 200 comprises: the calling unit 201, the selecting unit 202 and the testing unit 203. The invoking unit 201 is configured to invoke a test entry script, where the test entry script is used to test each service flow included in the service to be tested. The selecting unit 202 is configured to determine the first test sub-script according to the first service flow parameter input by the user. The first service process parameter indicates the type of the first service process, the first test sub-script is used for testing the first service process, and the first test sub-script is called through the test entry script. The testing unit 203 is configured to run a first testing sub-script to test the first service flow.
Optionally, the invoking unit 201 is further configured to: and calling the user login script through the test entry script according to the login information input by the user. And then, operating a user login script to log in a service system, wherein the service system is used for operating each service flow of the service to be tested.
Optionally, the selecting unit 202 is specifically configured to: and determining the type indicated by the first business process parameter, and then selecting a test sub-script corresponding to the type from the test script set as a first test script.
Optionally, the test unit 203 is specifically configured to: and running the first test sub-script, acquiring the position information of the first element, and determining the position of the first element on the service flow interface according to the position information. Then, the test parameters input by the user are obtained, and the test parameters are input into the first element to complete the test of the first business process.
Optionally, the position information of the first element includes a center point coordinate of the first element in the service flow interface, where the center point coordinate is a center coordinate of an area where the first element is located in the service flow interface.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present application provides an electronic device including at least one processor 301 and a memory 302 communicatively connected to the at least one processor. Wherein the memory stores instructions for execution by the at least one processor to enable the at least one processor to perform the method of any of the above embodiments.
In the embodiment of the present application, a specific connection medium between the processor 301 and the memory 302 is not limited, fig. 3 illustrates an example in which the processor 301 and the memory 302 are connected through a bus 300, the bus 300 is shown by a thick line in fig. 3, and a connection manner between other components is merely schematically illustrated and is not limited. The bus 300 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 3 for ease of illustration, but does not represent only one bus or type of bus.
The computing device in this embodiment of the application may further include a communication interface 303, where the communication interface 303 is, for example, a network interface, and the computing device may receive data or transmit data through the communication interface 303.
The processor 301 is a control center of the computing device, and may connect various parts of the entire device by using various interfaces and lines, and perform various functions of the computing device and process data by operating or executing instructions stored in the memory 302 and calling data stored in the memory 302, thereby performing overall monitoring of the computing device. Optionally, the processor 301 may include one or more processing units, and the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, application programs, and the like, and the modem processor mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 301. In some embodiments, the processor 301 and the memory 302 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
Optionally, the processor 301 may be a general-purpose processor, such as a central processing unit, an Application Specific Integrated Circuit (ASIC), one or more Integrated circuits for controlling program execution, a hardware Circuit developed by using a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present Application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the service flow testing method disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
By programming the processor 301, the code corresponding to the service flow testing method described in the foregoing embodiment may be solidified in the chip, so that the chip can execute the steps of the service flow testing method when running, and how to program the processor 301 is a technique known by those skilled in the art, and is not described here again.
Optionally, in this embodiment of the application, the memory 302 stores instructions executable by the at least one processor 301, and the at least one processor 301 may execute the steps included in the foregoing service flow testing method by executing the instructions stored in the memory 302. The memory 302, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 302 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 302 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 302 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data. The number of the memories 302 is one or more. The memory 302 is also shown in fig. 3, but it should be understood that the memory 302 is not an optional functional block, and is therefore shown in fig. 3 by a dotted line.
Based on the same inventive concept, the present application provides a computer storage medium storing computer program instructions for executing the method in any of the above embodiments. In particular implementations, the computer-readable storage medium includes: a Universal Serial Bus flash drive (USB), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other storage media capable of storing program codes.
In some possible embodiments, the various aspects of the business process testing method provided by the present application may also be implemented in the form of a program product, which includes program code for causing a computing device to perform the steps in the business process testing method according to various exemplary embodiments of the present application described above in this specification, when the program product runs on the computing device.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a Universal Serial Bus flash disk (usb flash disk), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other media capable of storing program codes.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for testing a business process is characterized by comprising the following steps:
calling a test entry script, wherein the test entry script is used for testing each service flow included in the service to be tested;
determining a first test sub-script according to a first business process parameter input by a user, wherein the first business process parameter indicates the type of the first business process, the first test sub-script is used for testing the first business process, and the first test sub-script is called through the test entry script;
and running the first test sub-script to test the first service flow.
2. The method of claim 1, wherein after invoking the test entry script, the method further comprises:
calling a user login script through the test entry script according to login information input by the user;
and operating the user login script login service system, wherein the service system is used for operating each service process of the service to be tested.
3. The method of claim 1, wherein different types of business processes correspond to different test sub-scripts, and wherein determining a first test sub-script based on a first business process parameter input by a user comprises:
determining the type indicated by the first business process parameter;
and selecting the test sub-script corresponding to the type from the test script set as the first test script.
4. The method of claim 1, wherein the first business process involves an interface element in a business process interface, and wherein running the first test sub-script tests the first business process comprises:
running the first test sub-script to obtain the position information of the interface element;
determining the position of the interface element on a service flow interface according to the position information;
and acquiring test parameters input by a user, and inputting the test parameters into the interface element to complete the test of the first service process.
5. The method of claim 4, wherein the position information of the interface element comprises a center point coordinate of the interface element in a business process interface, wherein the center point coordinate is a center coordinate of an area where the interface element is located in the business process interface.
6. A business process testing apparatus, comprising:
the system comprises a calling unit, a test unit and a test unit, wherein the calling unit is used for calling a test entrance script, and the test entrance script is used for testing each service flow included in a service to be tested;
the system comprises a selecting unit, a testing unit and a judging unit, wherein the selecting unit is used for determining a first testing sub-script according to a first business process parameter input by a user, the first business process parameter indicates the type of the first business process, the first testing sub-script is used for testing the first business process, and the first testing sub-script is called through a testing entry script;
and the testing unit is used for running the first testing sub-script to test the first service flow.
7. The apparatus of claim 6, wherein the call unit is further to:
calling a user login script through the test entry script according to login information input by the user;
and operating the user login script login service system, wherein the service system is used for operating each service flow of the service to be tested.
8. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of claims 1-5.
9. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the method of any one of claims 1-5.
10. A computer program product, characterized in that it comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1-5.
CN202211101145.1A 2022-09-09 2022-09-09 Business process testing method, device, equipment and storage medium Pending CN115774662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211101145.1A CN115774662A (en) 2022-09-09 2022-09-09 Business process testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211101145.1A CN115774662A (en) 2022-09-09 2022-09-09 Business process testing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115774662A true CN115774662A (en) 2023-03-10

Family

ID=85388806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211101145.1A Pending CN115774662A (en) 2022-09-09 2022-09-09 Business process testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115774662A (en)

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN108959059B (en) Test method and test platform
CN108920370B (en) Compatibility problem detection method, device and equipment
CN108509344B (en) Daily cutting batch test method, equipment and readable storage medium
JP6761441B2 (en) User control of automated test functions using software application programming interface (API)
CN111522728A (en) Method for generating automatic test case, electronic device and readable storage medium
CN112433944A (en) Service testing method, device, computer equipment and storage medium
CN112711526A (en) UI test method, device, equipment and storage medium
CN112579455B (en) Automatic interface testing method and device, electronic equipment and storage medium
CN109597759A (en) Test method and device, storage medium, the computer equipment of business software
CN111858354A (en) Method and device for automatically generating test report, storage medium and electronic equipment
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN113312260A (en) Interface testing method, device, equipment and storage medium
CN107357721B (en) Method and device for testing system
CN113220597B (en) Test method, test device, electronic equipment and storage medium
CN111949510B (en) Test processing method, device, electronic equipment and readable storage medium
CN116955193A (en) Interface testing method, device, equipment and storage medium
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN115774662A (en) Business process testing method, device, equipment and storage medium
CN113656022B (en) Software development method and device, computer equipment and storage medium
CN109522217A (en) The internal storage testing method and terminal device of application program
CN110297754A (en) A kind of test information feedback method and system
CN113515452A (en) Automatic test method and system for application, electronic equipment and storage medium
CN113986753A (en) Interface test method, device, equipment and storage medium
CN114371866A (en) Version reconfiguration test method, device and equipment of service system

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