CN112328466A - Test order generation method, equipment and storage medium - Google Patents

Test order generation method, equipment and storage medium Download PDF

Info

Publication number
CN112328466A
CN112328466A CN202010976224.1A CN202010976224A CN112328466A CN 112328466 A CN112328466 A CN 112328466A CN 202010976224 A CN202010976224 A CN 202010976224A CN 112328466 A CN112328466 A CN 112328466A
Authority
CN
China
Prior art keywords
order
configuration item
test
data
service
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
CN202010976224.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.)
Changsha Daojia Youxiang Home Economics Service Co ltd
Original Assignee
Changsha Daojia Youxiang Home Economics Service 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 Changsha Daojia Youxiang Home Economics Service Co ltd filed Critical Changsha Daojia Youxiang Home Economics Service Co ltd
Priority to CN202010976224.1A priority Critical patent/CN112328466A/en
Publication of CN112328466A publication Critical patent/CN112328466A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a test order generation method, equipment and a storage medium. In the test order generating method, an order generating control is visually displayed through an order creating page, the triggering operation aiming at the order generating control is responded, the data corresponding to at least one order configuration item can be obtained based on a preset packaging interface, and a test order is generated based on the data corresponding to the at least one order configuration item. Furthermore, when the user has the requirement for generating the test order, the test order can be generated by one key, so that the time of manual operation is greatly reduced, the test data can be acquired quickly, and the test efficiency is improved.

Description

Test order generation method, equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a test order generation method, device, and storage medium.
Background
In the process of software development, testing is usually required to be performed on developed software to ensure that the software can run smoothly. When testing software, it is a key link to quickly acquire accurate test data.
In the prior art, test data are generated manually by a tester, so that the test efficiency is low. Therefore, a solution is yet to be proposed.
Disclosure of Invention
Aspects of the present disclosure provide a test order generation method, device and storage medium, so as to improve the generation efficiency of a test order.
The embodiment of the application provides a test order generation method, which comprises the following steps: displaying an order creating page, wherein the order creating page comprises an order generating control; responding to the triggering operation of the order generation control, calling a preset packaging interface, and acquiring data corresponding to at least one order configuration item; and generating a test order according to the data corresponding to the at least one order configuration item.
Further optionally, invoking the encapsulation interface, and obtaining data corresponding to each of the at least one order configuration item, includes: calling the packaging interface, and acquiring first order data from data corresponding to the historical order; and/or calling the packaging interface to acquire second order data from the pre-simulated order data.
Further optionally, before invoking the encapsulation interface and obtaining the data corresponding to each of the at least one order configuration item, the method further includes: displaying at least one order type; the at least one order type includes: at least one of a housekeeping order, a nurse order, a month sister-in-law order and a logistics transportation order; determining a selected target order type in response to a selection operation for the at least one order type; calling a packaging interface, and acquiring data corresponding to at least one order configuration item, wherein the data comprises: determining a target packaging interface corresponding to the target order type from a plurality of pre-configured packaging interfaces; and calling the target packaging interface to obtain data corresponding to at least one order configuration item.
Further optionally, the encapsulated interface is encapsulated by at least one interface associated with the order flow.
Further optionally, the order creation page is an H5 page, and the packaging interface is an http interface.
Further optionally, the at least one order configuration item comprises: at least one of a service address configuration item, a service frequency configuration item, a service duration configuration item, a service start time configuration item, a service item configuration item, a service type configuration item, a service content configuration item, a payment data configuration item, and a membership rights data configuration item of the offline service.
Further optionally, the method further comprises: and testing the application program corresponding to the merchant terminal according to the test order.
Further optionally, the method further comprises: displaying a merchant setting area on the order creating page; responding to the input operation aiming at the merchant setting area, and acquiring an input merchant identifier; according to the test order, testing the application program corresponding to the merchant terminal, comprising: and distributing the test order to a merchant corresponding to the merchant identification so as to test the order taking function of the merchant.
An embodiment of the present application further provides an electronic device, including: a memory, a processor, a communication component, and a display component; the memory is to store one or more computer instructions; the processor is configured to execute the one or more computer instructions for performing the test order generation method provided by the embodiments of the present application.
The embodiment of the present application further provides a computer-readable storage medium storing a computer program, and the computer program can implement the test order generation method provided by the embodiment of the present application when executed.
In the test order generation method provided by the embodiment of the application, the order generation control is visually displayed through the order creation page, the triggering operation for the order generation control is responded, the data corresponding to at least one order configuration item can be obtained based on the preset packaging interface, and the test order is generated based on the data corresponding to the at least one order configuration item. Furthermore, when the user has the requirement for generating the test order, the test order can be generated by one key, so that the time of manual operation is greatly reduced, the test data can be acquired quickly, and the test efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flowchart illustrating a test order generation method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a test order generation method according to another exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an order creation page provided by an exemplary embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a consumption scenario based on an O2O (Online To Offline) model, an order processing system typically includes a client, a server, and a merchant. The user can make online order for the offline service through the client, and the merchant can make online order through the merchant and provide the corresponding offline service for the user. The user may include a user who has a demand for ordering the offline service, and the merchant may include a third party such as a seller, a broker, a manager, a home agent, etc. of the offline service.
The client and the merchant can run on a terminal device, which may include but is not limited to a mobile phone, a tablet computer, a computer device, a smart watch, and the like. Typically, the terminal device may comprise an electronic display. Further, the user of the client may initiate an order placing operation based on a display screen on the terminal device, the merchant may initiate an order taking operation based on a display screen on the terminal device, and so on.
The server is provided by the O2O service platform, and the server may be implemented as a conventional server, a cloud host, a virtual center, or other server devices, which is not limited in this embodiment.
The client is mainly used for submitting an O2O order to the server according to the order demand of the user. And after receiving the O2O order submitted by the client, the server pushes the O2O order to the corresponding merchant. After the merchant views the O2O order pushed by the server through the merchant, qualified processing personnel can be allocated to the O2O order. For example, cleaning orders are assigned to qualified cleaners, and the orders for sisters-in-law are assigned to eligible sisters-in-law.
When an application program corresponding to a merchant is developed, in order to ensure that the merchant can realize expected functions and operate smoothly, each function of the merchant generally needs to be tested based on a large number of test orders. Since the O2O service combines online and offline with a certain specificity, the test order in the test environment needs to have higher authenticity to ensure better test effect. The existing testing method of a merchant end mostly depends on manual generation of a testing order with high authenticity. Each order may include a plurality of order configuration items, and further, generating a large number of test orders may consume a long time, resulting in a reduction in test efficiency.
In view of the above technical problems, embodiments of the present application provide a solution, and the technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a test order generation method according to an exemplary embodiment of the present application, and as shown in fig. 1, the method includes:
step 101, displaying an order creating page, wherein the order creating page comprises an order generating control.
And 102, responding to the triggering operation of the order generation control, calling a preset packaging interface, and acquiring data corresponding to at least one order configuration item.
103, generating a test order according to the data corresponding to the at least one order configuration item.
The present embodiment may be performed by an electronic device, which is held by a tester, for generating a test order. The electronic device may include a computer, a smart phone, a tablet computer, and the like. The electronic device may run a computer program, a plug-in, or a browser that can implement the test order generation method provided by the present embodiment.
When the execution subjects of the embodiment are different, the order creation pages can be respectively realized as different pages. For example, when the embodiment is executed by an application running on the electronic device, the order creation page may be an application page; for another example, when the order creation page is executed by a browser running on the electronic device in this embodiment, the order creation page may be a web page provided by the browser, which is not limited in this embodiment.
The order generation control on the order creation page may be implemented as a button control. The order generation control is used for providing an operation entrance for generating a test order for a user. When the user has a test order generation requirement, the order generation control can be triggered.
And responding to the triggering operation of the order generation control by the user, and calling an encapsulation interface by the electronic equipment to acquire data corresponding to one or more order configuration items. The order configuration items refer to items for configuring order conditions, a part of the order configuration items can be configured by a user to customize an order, and the other part of the order configuration items is configured by an order processing system.
In some embodiments, the at least one order configuration item may include: at least one of a service address configuration item, a service frequency configuration item, a service duration configuration item, a service start time configuration item, a service item configuration item, a service type configuration item, a service content configuration item, a payment data configuration item, and a membership rights data configuration item of the offline service. The service address configuration item, the service frequency configuration item, the service item configuration item, the service type and the service content configuration item can be configured by a user who places an order according to requirements; the payment data configuration items and the member rights data configuration items can be configured by the order processing system; the service duration configuration item and the service start time configuration item may be configured together by the user according to the commodity inventory information provided by the order processing system.
Taking a nanny as an example, the service address refers to an address which needs to be visited to provide nanny services, and includes information such as cities, streets, house numbers and the like; frequency of service, which can be described as 3 visits a week, once a day, etc.; the service items may include: ordinary nurses, feijie nurses, etc.; the service types include: white class, home, clockwork, etc.; the service content comprises primary service content and secondary service content, wherein the primary service content is subdivided into a plurality of categories, each category comprising a plurality of sub-configuration items. Taking cleaning as an example, the service types may include: daily cleaning, common cleaning of a kitchen and deep cleaning of the kitchen; the service content may include: refrigerator disinfection, deep cleaning of range hood, etc. are no longer repeated.
The data corresponding to the at least one order configuration item reflects the requirement of the user on the order, so that the merchant can provide the user with the offline service meeting the requirement of the user. Correspondingly, when the merchant terminal is tested, the data corresponding to the at least one order configuration item is obtained, so that the generated test order is closer to the real order of the user, and the test effect is improved.
The packaging interface is packaged with a method, a service and other interfaces for acquiring data corresponding to the at least one order configuration item. Furthermore, in this embodiment, the encapsulation interface may be directly invoked to execute a method for acquiring data of a pre-customized order configuration item, thereby greatly improving the efficiency of acquiring order data.
After data corresponding to at least one order configuration item is acquired, a corresponding test order can be generated. The test order can simulate a real user order under a test environment so as to test the functions of the merchant terminal.
In the test order generation method provided by the embodiment of the application, the order generation control is visually displayed through the order creation page, the triggering operation for the order generation control is responded, the data corresponding to at least one order configuration item can be obtained based on the preset packaging interface, and the test order is generated based on the data corresponding to the at least one order configuration item. Furthermore, when the user has the requirement for generating the test order, the test order can be generated by one key, so that the time of manual operation is greatly reduced, the test data can be acquired quickly, and the test efficiency is improved.
In the foregoing and following embodiments of the present application, optionally, when the package interface is invoked to obtain data corresponding to each of at least one order configuration item, the package interface may be invoked to obtain the first order data from the data corresponding to the historical order. The historical order refers to an order which is submitted by a user through a client in advance.
Optionally, the packaging interface may be invoked to obtain second order data from the pre-simulated order data. The pre-simulated order data can be obtained by the tester through simulating the real order in advance. For example, the tester may write some fixed offline service addresses, offline service time, offline service types, offline service duration, and so on, to simulate the data corresponding to the real order.
When each test order is generated, the data of all order configuration items in the test order can be from the data corresponding to the historical order; or, the data of all the order configuration items in the test order can be from the simulated order data; or, the data of a part of order configuration items in the test order is from the data corresponding to the historical order, and the data of another part of order configuration items is from the simulated order data. The source and composition of the data of the order configuration item may be determined by the packaging details corresponding to the packaging interface, which is not limited in this embodiment.
For the simulated order data, the simulated order data can be stored in a designated storage space. Furthermore, the method for acquiring the simulated order data from the designated storage space can be packaged, and an interface can be provided for calling.
For historical orders, data of part of order configuration items in the orders needs to be configured by a user, for example, offline service addresses, offline service frequency, offline service duration and the like, and data of another part of order configuration items needs to be queried from an order processing system, for example, payment data, member rights data, commodity inventory data and the like of the user. Therefore, in order to obtain data corresponding to the order configuration items from data corresponding to the historical orders, a method, a service and an interface for obtaining the data of the order configuration items can be determined in advance according to the source of the data corresponding to each order configuration item, and interface packaging is performed based on the determined method, service and interface, so that the packaging interface is obtained.
Optionally, in some embodiments, the encapsulated interface is encapsulated by at least one interface associated with the order flow. Furthermore, the order placing process when the user submits the order through the client can be combed in advance, and the interface information, the service information, the database information and the like corresponding to the order placing process are determined. And then, packaging interface information, service information and database information corresponding to the order placing process into a method for acquiring related data of the historical order, and providing a packaging interface for calling.
For example, the interface associated with the next process may include: the payment data acquisition interface provided by the payment system, the member card data acquisition interface provided by the member management system, the goods inventory data acquisition interface provided by the inventory management system, and the acquisition interface of basic order data such as a service address, a service frequency, a service duration, a service start time, a service item, a service type, and a service content provided by the client, and the like.
Alternatively, the test order generation method provided in the above and following embodiments of the present application may be implemented based on a browser. Accordingly, the order creation page may be implemented as an H5 page provided by a browser (a page developed based on the HTML5 tool, HTML is HyperText markup language), and the encapsulation interface may be implemented as an http (HyperText Transfer Protocol) interface. That is, the method, the service and other interfaces for obtaining the data corresponding to each of the at least one order configuration item are packaged as http interfaces for the browser to call. Furthermore, the H5 page is opened on the browser, so that the test order can be generated quickly, the operation of a tester is greatly facilitated, and the test efficiency is improved.
Fig. 2 is a schematic flowchart of a test order generation method according to another exemplary embodiment of the present application, and as shown in fig. 2, the method includes:
step 201, displaying an order creating page, wherein the order creating page comprises an order generating control.
Step 202, displaying at least one order type; the at least one order type includes: at least one of a housekeeping order, a nurse order, a moon-sao order, and a logistics transportation order.
Step 203, responding to the selection operation for the at least one order type, and determining the selected target order type.
Step 204, determining a target packaging interface corresponding to the target order type from a plurality of pre-configured packaging interfaces.
Step 205, calling the target packaging interface, and obtaining data corresponding to at least one order configuration item.
In this embodiment, before generating the test order, the order type may be further set to generate a test order matching the order type. In the scenario of O2O, the order types may include: at least one of a housekeeping order, a nurse order, a moon-sao order, and a logistics transportation order.
For the order processing system, there may be differences in the order placing processes of different types of orders, and different types of historical orders may be managed by different order management systems. Furthermore, in this embodiment, in order to obtain order data from different types of historical orders, a method, a service, a related interface, and the like for obtaining data of an order configuration item corresponding to each type of historical order may be predetermined, and a package interface corresponding to each type of order may be obtained by packaging, so as to obtain different types of test orders quickly.
After the user selects the order type, the target packaging interface corresponding to the order type can be determined, and the target packaging interface is called to obtain the data corresponding to at least one order configuration item. Based on the acquired data corresponding to at least one order configuration item, a test order corresponding to the order type can be generated.
For example, the packaging interface corresponding to the home administration order is interface a, the packaging interface corresponding to the nurse order is interface B, the packaging interface corresponding to the month sister order is interface C, and the packaging interface corresponding to the logistics transportation order is interface D. If the tester selects the nanny order type from the displayed order types, the package interface B may be invoked to obtain data of a plurality of order configuration items to generate a nanny order that can be used in the test environment, which is not described again.
Based on this embodiment, can generate the test order of different grade type fast, reduce tester's operation complexity, promote efficiency of software testing.
It should be noted that, on the basis of the embodiments corresponding to fig. 1 and fig. 2, after the test order is obtained, the application program corresponding to the merchant may be further tested according to the test order.
In some embodiments, the test order may be distributed to any merchant. In this case, the test order may be submitted to a server, and the server may randomly assign the test order price.
In other embodiments, a test order may be generated for a designated merchant on a targeted basis and distributed to the designated merchant. In this case, when the test order is submitted to the server, the merchant identifier corresponding to the designated merchant is submitted together, so that the server can distribute the test order to the designated merchant.
Optionally, in such an embodiment, the merchant identification may be provided when the test order is generated. Optionally, the electronic device for executing the embodiments of the present application may display a merchant setting area on an order creation page; the merchant setting area may be implemented as a text input box, a pull-down menu, or a plurality of merchant selection buttons, etc., and the embodiment is not limited.
In response to an input operation directed to the merchant setting area, the electronic device may obtain an input merchant identification. The identification of the merchant may be a mobile phone number, a store name, a store account number, and the like of the merchant, which is not limited in this embodiment. Furthermore, when the application program corresponding to the merchant terminal is tested according to the test order, the test order can be distributed to the merchant corresponding to the merchant identifier so as to test the order receiving function of the merchant terminal. As shown in fig. 3, a text input box may be displayed on the order creation page, and the tester is prompted to input the merchant mobile phone number to generate a cleaning order corresponding to the merchant, as shown in fig. 3.
Based on the embodiment, the test order can be generated for the appointed merchant without complex operation, the workload required by the test is further reduced, and the merchant-side test function with strong pertinence is favorably realized.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of step 201 to step 204 may be device a; for another example, the execution subject of steps 201 and 202 may be device a, and the execution subject of step 203 may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 201, 202, etc., are merely used for distinguishing different operations, and the sequence numbers do not represent any execution order per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
Fig. 4 is a schematic structural diagram of an electronic device provided in an exemplary embodiment of the present application, where the electronic device is suitable for the service order processing system provided in the foregoing embodiment. As shown in fig. 4, the electronic apparatus includes: memory 401, processor 402, display component 403, and communication component 404.
The memory 401 is used for storing computer programs and may be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth.
The memory 401 may be implemented by any type or combination of volatile and non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 402, coupled to the memory 401, for executing the computer program in the memory 401 for: displaying an order creating page through a display component 403, wherein the order creating page comprises an order generating control; responding to the triggering operation of the order generation control, calling a preset packaging interface, and acquiring data corresponding to at least one order configuration item; and generating a test order according to the data corresponding to the at least one order configuration item.
Further optionally, when the processor 402 invokes the encapsulation interface to obtain the data corresponding to each of the at least one order configuration item, the processor is specifically configured to: calling the packaging interface, and acquiring first order data from data corresponding to the historical order; and/or calling the packaging interface to acquire second order data from the pre-simulated order data.
Further optionally, before invoking the encapsulation interface and acquiring the data corresponding to each of the at least one order configuration item, the processor 402 is further configured to: displaying at least one order type; the at least one order type includes: at least one of a housekeeping order, a nurse order, a month sister-in-law order and a logistics transportation order; determining a selected target order type in response to a selection operation for the at least one order type; correspondingly, when the processor 402 calls the encapsulation interface to obtain the data corresponding to each of the at least one order configuration item, the processor is specifically configured to: determining a target packaging interface corresponding to the target order type from a plurality of pre-configured packaging interfaces; and calling the target packaging interface to obtain data corresponding to at least one order configuration item.
Further optionally, the encapsulated interface is encapsulated by at least one interface associated with the order flow.
Further optionally, the order creation page is an H5 page, and the packaging interface is an http interface.
Further optionally, the at least one order configuration item comprises: at least one of a service address configuration item, a service frequency configuration item, a service duration configuration item, a service start time configuration item, a service item configuration item, a service type configuration item, a service content configuration item, a payment data configuration item, and a membership rights data configuration item of the offline service.
Further optionally, the processor 402 is further configured to: and testing the application program corresponding to the merchant terminal according to the test order.
Further optionally, the processor 402: displaying a merchant setting area on the order creating page; responding to the input operation aiming at the merchant setting area, and acquiring an input merchant identifier; according to the test order, testing the application program corresponding to the merchant terminal, comprising: and distributing the test order to a merchant corresponding to the merchant identification so as to test the order taking function of the merchant.
In some exemplary embodiments, the at least one configuration item comprises: at least one of a service item, a service type configuration item, service content, a service address, and service details.
Further, as shown in fig. 4, the electronic device further includes: power components 405, audio components 406, and the like. Only some of the components are schematically shown in fig. 4, and the electronic device is not meant to include only the components shown in fig. 4.
Among other things, the display component 404 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
Wherein the communication component 403 is configured to facilitate communication between the device in which the communication component is located and other devices in a wired or wireless manner. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component may be implemented based on Near Field Communication (NFC) technology, Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The power supply module 405 provides power to various components of the device in which the power supply module is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
In this embodiment, the order generation control is visually displayed through the order creation page, and in response to a trigger operation for the order generation control, data corresponding to at least one order configuration item may be acquired based on a preset encapsulation interface, and a test order may be generated based on the data corresponding to the at least one order configuration item. Furthermore, when the user has the requirement for generating the test order, the test order can be generated by one key, so that the time of manual operation is greatly reduced, the test data can be acquired quickly, and the test efficiency is improved.
Accordingly, the present application further provides a computer-readable storage medium storing a computer program, where the computer program is capable of implementing the steps that can be executed by the electronic device in the foregoing method embodiments when executed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A test order generation method is characterized by comprising the following steps:
displaying an order creating page, wherein the order creating page comprises an order generating control;
responding to the triggering operation of the order generation control, calling a preset packaging interface, and acquiring data corresponding to at least one order configuration item;
and generating a test order according to the data corresponding to the at least one order configuration item.
2. The method of claim 1, wherein invoking the packaging interface to obtain data corresponding to each of the at least one order configuration item comprises:
calling the packaging interface, and acquiring first order data from data corresponding to the historical order; and/or the presence of a gas in the gas,
and calling the packaging interface, and acquiring second order data from the pre-simulated order data.
3. The method of claim 1, wherein before invoking the packaging interface and obtaining data corresponding to each of the at least one order configuration item, the method further comprises:
displaying at least one order type; the at least one order type includes: at least one of a housekeeping order, a nurse order, a month sister-in-law order and a logistics transportation order;
determining a selected target order type in response to a selection operation for the at least one order type;
calling a packaging interface, and acquiring data corresponding to at least one order configuration item, wherein the data comprises:
determining a target packaging interface corresponding to the target order type from a plurality of pre-configured packaging interfaces;
and calling the target packaging interface to obtain data corresponding to at least one order configuration item.
4. The method of claim 1, wherein the encapsulated interface is encapsulated by at least one interface associated with the order flow.
5. The method of claim 4, wherein the order creation page is an H5 page and the packaging interface is an http interface.
6. The method of any one of claims 1 to 5, wherein the at least one order configuration item comprises: at least one of a service address configuration item, a service frequency configuration item, a service duration configuration item, a service start time configuration item, a service item configuration item, a service type configuration item, a service content configuration item, a payment data configuration item, and a membership rights data configuration item of the offline service.
7. The method of any one of claims 1-5, further comprising:
and testing the application program corresponding to the merchant terminal according to the test order.
8. The method of claim 7, further comprising:
displaying a merchant setting area on the order creating page;
responding to the input operation aiming at the merchant setting area, and acquiring an input merchant identifier;
according to the test order, testing the application program corresponding to the merchant terminal, comprising:
and distributing the test order to a merchant corresponding to the merchant identification so as to test the order taking function of the merchant.
9. An electronic device, comprising: a memory, a processor, a communication component, and a display component;
the memory is to store one or more computer instructions;
the processor is to execute the one or more computer instructions to: performing the test order generation method of any of claims 1-8.
10. A computer-readable storage medium storing a computer program, wherein the computer program is capable of implementing the test order generation method of any one of claims 1 to 8 when executed.
CN202010976224.1A 2020-09-16 2020-09-16 Test order generation method, equipment and storage medium Pending CN112328466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010976224.1A CN112328466A (en) 2020-09-16 2020-09-16 Test order generation method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010976224.1A CN112328466A (en) 2020-09-16 2020-09-16 Test order generation method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112328466A true CN112328466A (en) 2021-02-05

Family

ID=74302888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010976224.1A Pending CN112328466A (en) 2020-09-16 2020-09-16 Test order generation method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112328466A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048226A (en) * 2021-11-12 2022-02-15 国家电网有限公司大数据中心 Data query method and device, electronic equipment and storage medium
CN116188107A (en) * 2023-02-16 2023-05-30 上海聚水潭网络科技有限公司 Test order generation method, device, equipment and storage medium
CN116401421A (en) * 2023-03-14 2023-07-07 深圳市晶存科技有限公司 Chip test data query method, system, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341109A (en) * 2017-07-07 2017-11-10 中国银行股份有限公司 The generation method and system of a kind of test data
CN110955599A (en) * 2019-11-20 2020-04-03 拉扎斯网络科技(上海)有限公司 Object creation method and device, electronic equipment and computer-readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341109A (en) * 2017-07-07 2017-11-10 中国银行股份有限公司 The generation method and system of a kind of test data
CN110955599A (en) * 2019-11-20 2020-04-03 拉扎斯网络科技(上海)有限公司 Object creation method and device, electronic equipment and computer-readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048226A (en) * 2021-11-12 2022-02-15 国家电网有限公司大数据中心 Data query method and device, electronic equipment and storage medium
CN116188107A (en) * 2023-02-16 2023-05-30 上海聚水潭网络科技有限公司 Test order generation method, device, equipment and storage medium
CN116401421A (en) * 2023-03-14 2023-07-07 深圳市晶存科技有限公司 Chip test data query method, system, equipment and medium
CN116401421B (en) * 2023-03-14 2024-05-07 深圳市晶存科技有限公司 Chip test data query method, system, equipment and medium

Similar Documents

Publication Publication Date Title
CN112328466A (en) Test order generation method, equipment and storage medium
US11586772B2 (en) Method and device for displaying information
WO2018102764A1 (en) Page information personalization method, apparatus and system
CN110619553B (en) Commodity information display method and device, electronic equipment and storage medium
US20170230474A1 (en) Service component management methods and systems
CN110069734B (en) Page component display method and device
CN112800370A (en) Business document processing method and device, computer equipment and storage medium
CN112819574A (en) Method, device and storage medium for generating household order
CN107632751B (en) Information display method and device
CN112036853A (en) Payment method, payment mode configuration method, device and equipment
WO2021236267A1 (en) Shopping list and cart integration
CN111209028B (en) Data processing method and device, electronic equipment and storage medium
CN114693226A (en) Approval process construction method, device, equipment and storage medium
KR101782387B1 (en) Method of involving a user in shopping of the user's friend by pushing an item directly into the friend's account page
CN112306606A (en) Method and equipment for presenting control style
CN111222067B (en) Information generation method and device
CN110020070A (en) Webpage circle selects data processing method, apparatus and system
CN110968819A (en) Data processing method, device and machine readable medium
CN107526827A (en) Method, equipment and computer-readable recording medium for question and answer displaying
CN112016993B (en) Service order processing method, system, equipment and storage medium
KR20220043705A (en) Wall pad, home net server, wall pad linked payment system and method
CN112799946A (en) Method, equipment and storage medium for embedding points and collecting data
CN114661392B (en) Information display method, information processing device, information display equipment and storage medium
CN111833151B (en) Cloud ecological service method, cloud server, system, device and readable storage medium
CN114065206A (en) Block chain-based data evidence storage method, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205

RJ01 Rejection of invention patent application after publication