CN112328482A - Test method and device based on script template, computer equipment and storage medium - Google Patents

Test method and device based on script template, computer equipment and storage medium Download PDF

Info

Publication number
CN112328482A
CN112328482A CN202011224670.3A CN202011224670A CN112328482A CN 112328482 A CN112328482 A CN 112328482A CN 202011224670 A CN202011224670 A CN 202011224670A CN 112328482 A CN112328482 A CN 112328482A
Authority
CN
China
Prior art keywords
parameter data
test
product parameter
product
script
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
CN202011224670.3A
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN202011224670.3A priority Critical patent/CN112328482A/en
Publication of CN112328482A publication Critical patent/CN112328482A/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

Abstract

The application relates to the field of data processing, and provides a test method, a test device, computer equipment and a storage medium based on a script template, wherein the method comprises the following steps: receiving first product parameter data input by a user on a page; storing first product parameter data, and judging whether second product parameter data input by a user is received within a first preset time period; if yes, acquiring the quantity of the parameter data of the second product, and judging whether the quantity is greater than 1; if not, marking the second product parameter data as the specified product parameter data; acquiring a preset script template; generating a corresponding test script according to the specified product parameter data and the script template; deploying the test script to a preset test environment; and running the test script in the test environment to generate a corresponding test result. The product testing method and the product testing device simplify the testing process of the product and improve the intelligence of the testing process of the product. The method and the device can also be applied to the field of block chains, and the data such as the specified product parameter data can be stored on the block chains.

Description

Test method and device based on script template, computer equipment and storage medium
Technical Field
The application relates to the technical field of artificial intelligence, in particular to a script template-based testing method and device, computer equipment and a storage medium.
Background
Currently, in the process of performing product development and testing, business personnel need to submit a requirement document to a developer, the requirement document needs to include some parameter data of a product, such as commission ratio, and then the developer performs development and testing processing on related products according to the requirement document. However, during the development and generation process of the product, the parameter data of the product may change along with the market change. If a developer receives a change flow of adjusting parameter data sent by a service worker in the process of carrying out product development testing according to a requirement document, the developer needs to rework to reset the parameter data, so that the working efficiency of the developer is greatly reduced. Therefore, the existing product development testing process is complicated, low in efficiency and lack of intelligence.
Disclosure of Invention
The application mainly aims to provide a testing method and device based on a script template, computer equipment and a storage medium, and aims to solve the technical problems of complex process, low efficiency and lack of intelligence of the existing product development testing process.
The application provides a test method based on a script template, which comprises the following steps:
receiving first product parameter data input by a user on a page;
storing the first product parameter data, and judging whether second product parameter data input by the user is received within a first preset time period;
if the second product parameter data are received, acquiring the quantity of the second product parameter data, and judging whether the quantity is greater than 1;
if the number is not greater than 1, marking the second product parameter data as designated product parameter data;
acquiring a preset script template, wherein the script template is an initial product test script generated in advance according to a product requirement document, and data corresponding to the specified product parameter data are not filled in the initial product test script;
generating a corresponding test script according to the designated product parameter data and the script template;
deploying the test script to a preset test environment;
and running the test script in the test environment to generate a corresponding test result.
Optionally, before the step of receiving the first product parameter data input by the user on the page, the method includes:
receiving a service operation instruction input by the user, wherein the operation instruction comprises service information and user identity information, and the service operation instruction is an instruction for setting product parameters;
comparing the service information with a preset service operation level table, and judging whether a security level matched with the service information exists in the service operation level table;
if the security level matched with the service information does not exist in the service operation level table, determining the service operation instruction as a verification-free instruction, and generating a first receiving instruction for receiving first product parameter data input by the user on a page;
if the security level matched with the service information exists in the service operation level table, judging whether the security level is in a preset level range;
if the security level is within a preset level range, extracting the user identity information from the service operation instruction, and judging whether the user identity information is legal identity information or not;
if the user identity information is legal identity information, acquiring a first permission score corresponding to the service permission of the user from a preset user role permission score table according to the user identity information;
acquiring a second permission score corresponding to the service operation instruction;
judging whether the first permission score is smaller than the second permission score;
and if the first permission score is not smaller than the second permission score, judging that the user has the service permission for setting the product parameters, and generating a second receiving instruction for receiving the first product parameter data input by the user on the page.
Optionally, the step of deploying the test script into a preset test environment includes:
acquiring all test statements contained in the test script; and the number of the first and second groups,
acquiring a preset grammar rule;
according to the grammar rule, grammar check is respectively carried out on each test statement, and whether all the test statements accord with the grammar rule is judged;
if all the test statements accord with the grammar rule, deploying the test script to a preset test environment;
if all the test sentences do not accord with the grammar rule, screening out first test sentences which do not accord with the grammar rule in the test sentences;
according to the grammar rule, modifying the first test statement into a correct second test statement to obtain a modified test script;
and deploying the modified test script to a preset test environment.
Optionally, before the step of generating the corresponding test script according to the specified product parameter data and the script template, the method includes:
acquiring a pre-stored parameter data setting rule;
judging whether the parameter data of the specified product conforms to the parameter data setting rule or not;
if the parameter data of the specified product conforms to the parameter data setting rule, generating a generation instruction for generating a corresponding test script according to the parameter data of the specified product and the script template;
and if the specified product parameter data does not accord with the parameter data setting rule, returning second reminding information of data errors.
Optionally, the step of generating a corresponding test script according to the specified product parameter data and the script template includes:
acquiring field information corresponding to the specified product parameter data;
determining a filling position corresponding to the field information from the script template;
and filling the specified product parameter data to the filling position in the script template to obtain the test script.
Optionally, after the step of storing the first product parameter data and determining whether the second product parameter data input by the user is received within a first preset time period, the method includes:
if the second product parameter data is not received within a first preset time period, generating first reminding information, wherein the content of the first reminding information is whether the first product parameter data needs to be updated or not;
displaying the first reminding information on the page;
judging whether product parameter data newly input by the user is received within a second preset time period;
and if the product parameter data newly input by the user is not received within a second preset time period, marking the first product parameter data as the appointed product parameter data.
Optionally, after the step of obtaining the quantity of the second product parameter data and determining whether the quantity is greater than 1 if the second product parameter data is received, the method includes:
if the number is larger than 1, respectively acquiring the input time of the parameter data of each second product;
sequencing all the second product parameter data according to the sequence of the input time from first to last to obtain corresponding sequencing results;
screening out the second product parameter data sorted last in the sorting result;
and marking the second product parameter data which is sequenced last as the specified product parameter data.
The application also provides a testing arrangement based on script template, includes:
the first receiving module is used for receiving first product parameter data input by a user on a page;
the first judgment module is used for storing the first product parameter data and judging whether second product parameter data input by the user is received within a first preset time period;
the second judgment module is used for acquiring the quantity of the second product parameter data if the second product parameter data is received, and judging whether the quantity is greater than 1;
a first marking module, configured to mark the second product parameter data as specified product parameter data if the number is not greater than 1;
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a preset script template, the script template is an initial product test script which is generated in advance according to a product demand document, and data corresponding to the specified product parameter data are not filled in the initial product test script;
the first generation module is used for generating a corresponding test script according to the specified product parameter data and the script template;
the deployment module is used for deploying the test script to a preset test environment;
and the test module is used for running the test script in the test environment to generate a corresponding test result.
The present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
The script template-based test method, the script template-based test device, the script template-based test computer equipment and the script template-based storage medium have the following beneficial effects:
according to the script template-based testing method, the script template-based testing device, the computer equipment and the storage medium, in the process of developing and testing products, product parameter data required by product development are set in a form that business personnel input data on a page, and when the business personnel have the requirement of modifying the product parameter data, correct product parameter data only need to be input again within a specified time period, so that a corresponding testing script can be rapidly generated according to the correct product parameter data and a preset script template, and further the corresponding product testing process can be automatically performed by using the testing script. By the method and the device, the business personnel do not need to communicate with development and test personnel for many times about product parameter data adjustment by using the page data input mode when the user modifies the product parameter data, and the communication cost is effectively reduced. Moreover, developers do not need to manually reset the product parameter data, so that the repeated labor of the developers is reduced, the product testing process is effectively simplified, and the intelligence of the product testing process is improved.
Drawings
FIG. 1 is a flow chart of a script template based test method according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a test apparatus based on a script template according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Referring to fig. 1, a test method based on a script template according to an embodiment of the present application includes:
s1: receiving first product parameter data input by a user on a page;
s2: storing the first product parameter data, and judging whether second product parameter data input by the user is received within a first preset time period;
s3: if the second product parameter data are received, acquiring the quantity of the second product parameter data, and judging whether the quantity is greater than 1;
s4: if the number is not greater than 1, marking the second product parameter data as designated product parameter data;
s5: acquiring a preset script template, wherein the script template is an initial product test script generated in advance according to a product requirement document, and data corresponding to the specified product parameter data are not filled in the initial product test script;
s6: generating a corresponding test script according to the designated product parameter data and the script template;
s7: deploying the test script to a preset test environment;
s8: and running the test script in the test environment to generate a corresponding test result.
As described in steps S1-S8, the main implementation of the present method is a test device based on script templates. In practical applications, the testing apparatus based on the script template may be implemented by a virtual apparatus, such as a software code, or may be implemented by an entity apparatus written with or integrated with a relevant execution code, and may perform human-computer interaction with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device. The test device based on the script template in the embodiment can effectively simplify the product test flow and improve the intelligence of product development and test. Specifically, first product parameter data input by a user on a page is received. Wherein the development of a tested new product requires settings on product parameter data, which may specifically be commission proportion data. And then storing the first product parameter data, and judging whether second product parameter data input by the user is received in a first preset time period. The first preset time period is not particularly limited, and may be set according to actual needs, for example, may be set to 2 days. And if the second product parameter data are received, acquiring the quantity of the second product parameter data, and judging whether the quantity is greater than 1. If said number is not greater than 1, marking said second product parameter data as specified product parameter data. And then acquiring a preset script template. The script template is a product development script generated after a developer develops according to a product requirement document submitted by a service person, but the script template is lack of product parameter data related to a product. The script template is an initial product test script generated in advance according to a product requirement document, and data corresponding to the specified product parameter data are not filled in the initial product test script. The parameter field type corresponding to the data is the same as the parameter field type corresponding to the specified product parameter data. For example, if the product parameter data is commission ratio data and the parameter field type corresponding to the commission ratio data is commission ratio parameter field, the test script is not filled with data corresponding to the commission ratio parameter field, so that the specified product parameter data is filled into the script template, and a test script with complete data can be generated. And after the script template is obtained, generating a corresponding test script according to the specified product parameter data and the script template. The script template generated after development by developers is subjected to data perfection by using the specified product parameter data, and then a corresponding subsequent test script for product testing can be obtained. In addition, the test script may be obtained by determining a filling position of field information corresponding to the specified product parameter data from the script template, and then filling the specified product parameter data to the filling position. After the test script is obtained, the test script is deployed to a preset test environment. The test environment is an operation test environment for operating the test script. In addition, the test environment can be obtained by acquiring the environment script generated by writing of a developer and then executing the environment script. And finally, running the test script in the test environment to generate a corresponding test result. The test script is run in the test environment, so that the test result corresponding to the test script can be obtained, and the product test condition can be known according to the test result. In addition, a corresponding test report can be generated according to the test result, and the test report can be displayed, so that the product test result can be more intuitively known according to the test report. In the development and test process of the product, the product parameter data required by product development is set in a form that business personnel inputs data on a page, and when the business personnel have the requirement of modifying the product parameter data, only correct product parameter data needs to be input again within a specified time period, so that a corresponding test script can be quickly generated according to the correct product parameter data and a preset script template, and the corresponding product test flow can be automatically performed by using the test script. According to the method and the device, the data are input by using the page when the user modifies the product parameter data, so that business personnel do not need to communicate with development and test personnel for many times about product parameter data adjustment, and the communication cost is effectively reduced. Moreover, developers do not need to manually reset the product parameter data, so that the repeated labor of the developers is reduced, the product testing process is effectively simplified, and the intelligence of the product testing process is improved.
Further, in an embodiment of the present application, before the step S1, the method includes:
s100: receiving a service operation instruction input by the user, wherein the operation instruction comprises service information and user identity information, and the service operation instruction is an instruction for setting product parameters;
s101: comparing the service information with a preset service operation level table, and judging whether a security level matched with the service information exists in the service operation level table;
s102: if the security level matched with the service information does not exist in the service operation level table, determining the service operation instruction as a verification-free instruction, and generating a first receiving instruction for receiving first product parameter data input by the user on a page;
s103: if the security level matched with the service information does not exist in the service operation level table, judging whether the security level is in a preset level range;
s104: if the security level is within a preset level range, extracting the user identity information from the service operation instruction, and judging whether the user identity information is legal identity information or not;
s105: if the user identity information is legal identity information, acquiring a first permission score corresponding to the service permission of the user from a preset user role permission score table according to the user identity information;
s106: acquiring a second permission score corresponding to the service operation instruction;
s107: judging whether the first permission score is smaller than the second permission score;
s108: and if the first permission score is not smaller than the second permission score, judging that the user has the service permission for setting the product parameters, and generating a second receiving instruction for receiving the first product parameter data input by the user on the page.
As described in the above steps S100 to S108, before the receiving process of receiving the first product parameter data input by the user on the page is performed, the user needs to be authenticated to determine whether the user has the set right for the product parameter data, so as to avoid the phenomenon that an illegal user without the set right falsifies the product parameter data, and ensure the validity of the specified product parameter data required by the subsequent user to perform the product test. Specifically, before the step of receiving the first product parameter data input by the user on the page, the method may further include: firstly, receiving a service operation instruction input by the user, wherein the operation instruction comprises service information and user identity information, and the service operation instruction is an instruction for setting product parameters. And then comparing the service information with a preset service operation level table, and judging whether a security level matched with the service information exists in the service operation level table. The service operation level table records security level information corresponding to each service operation one by one, and if the service operation level table does not record the security level information corresponding to a specific service operation, the specific service operation is an operation which does not need identity authority verification. And if the safety level matched with the service information does not exist in the service operation level table, determining the service operation instruction as a verification-free instruction, and generating a first receiving instruction for receiving first product parameter data input by the user on a page. And if the security level matched with the service information exists in the service operation level table, judging whether the security level is in a preset level range. Wherein, the security level can be divided into a plurality of levels, and the higher the level is, the higher the security level is. The value of the preset level range is not particularly limited, and may be set according to actual requirements, for example, may be set to level 3 to level 5. Specifically, the service operation in the preset level range corresponds to an operation requiring identity authentication and permission authentication, and the service operation not in the preset level range corresponds to an operation requiring only identity authentication. And if the security level is within a preset level range, extracting the user identity information from the service operation instruction, and judging whether the user identity information is legal identity information. The preset identity database can be called to carry out the legal verification of the identity information. And if the user identity information is legal identity information, acquiring a first permission score corresponding to the service permission of the user from a preset user role permission score table according to the user identity information. User information and permission scores corresponding to the user information one to one are recorded in the user role permission score table, and the permission scores correspond to the operable service permissions of the users. And acquiring a second permission score corresponding to the service operation instruction. The second permission score can be obtained through a preset service permission score table. In addition, the service permission score table records permission scores corresponding to each service operation one by one. And then judging whether the first permission score is smaller than the second permission score. And if the first permission score is not smaller than the second permission score, judging that the user has the service permission for setting the product parameters, and generating a second receiving instruction for receiving the first product parameter data input by the user on the page. Further, if the first permission score is smaller than the second permission score, error information that the set permission of the product parameter data is insufficient is generated, and the response of the service operation instruction is refused. According to the embodiment, the identity authority verification processing is carried out on the user by using the service operation level table, the identity database, the user role authority rating table, the service authority rating table and the like, so that the response processing on the first product parameter data input on the page is effectively guaranteed to be carried out only on the user with the setting authority of the product parameter data, and the safety of the product parameter data setting process is effectively improved.
Further, in an embodiment of the present application, the step S7 includes:
s700: acquiring all test statements contained in the test script; and the number of the first and second groups,
s701: acquiring a preset grammar rule;
s702: according to the grammar rule, grammar check is respectively carried out on each test statement, and whether all the test statements accord with the grammar rule is judged;
s703: if all the test statements accord with the grammar rule, deploying the test script to a preset test environment;
s704: if all the test sentences do not accord with the grammar rule, screening out first test sentences which do not accord with the grammar rule in the test sentences;
s705: according to the grammar rule, modifying the first test statement into a correct second test statement to obtain a modified test script;
s706: and deploying the modified test script to a preset test environment.
As described in the foregoing steps S700 to S706, the step of deploying the test script into a preset test environment may specifically include: firstly, all test statements contained in the test script are obtained, and a preset grammar rule is obtained. The grammar rule is a general grammar rule corresponding to a type of a test statement included in the test script, for example, if the type of the test statement in the test script is an SQL statement, the grammar rule is a general grammar rule corresponding to the SQL statement. And then, according to the grammar rule, grammar check is respectively carried out on each test statement, and whether all the test statements accord with the grammar rule is judged. The syntax check of the test statement may be performed by using a syntax parser, and the content of the syntax check may include checking correctness of a logic function of the test statement, and the like, to obtain a syntax check result of the test statement, and if the syntax check result is a pass, determining that the test statement conforms to the syntax rule. And if all the test statements accord with the grammar rule, deploying the test script to a preset test environment. And if all the test sentences do not accord with the grammar rule, screening out the first test sentences which do not accord with the grammar rule in the test sentences. And then modifying the first test statement into a correct second test statement according to the grammar rule to obtain a modified test script. And finally deploying the modified test script to a preset test environment. In the deployment process of deploying the test script to the preset test environment, the correctness of the test script for product testing is ensured by testing and verifying the test script and modifying the test statement which does not conform to the grammar rule in the test script to generate the modified test script, so that the correct test script can be subsequently used for product testing, and the accuracy of the product testing is improved.
Further, in an embodiment of the present application, before the step S6, the method includes:
s600: acquiring a pre-stored parameter data setting rule;
s601: judging whether the parameter data of the specified product conforms to the parameter data setting rule or not;
s602: if the parameter data of the specified product conforms to the parameter data setting rule, generating a generation instruction for generating a corresponding test script according to the parameter data of the specified product and the script template;
s603: and if the specified product parameter data does not accord with the parameter data setting rule, returning second reminding information of data errors.
As described in steps S600 to S603, before the process of generating the corresponding test script according to the specified product parameter data and the script template, a data verification process for the specified product parameter data may be further included to verify the rationality of the specified product parameter data. Specifically, the step of generating the corresponding test script according to the specified product parameter data and the script template may include the steps of; firstly, pre-stored parameter data setting rules are obtained. The parameter data setting rule is a preset generated rule for checking the value reasonability of the product parameter data, and can be compiled, generated and input by developers. And then judging whether the parameter data of the specified product meet the parameter data setting rule. And if the specified product parameter data accords with the parameter data setting rule, generating a generation instruction of generating a corresponding test script according to the specified product parameter data and the script template. And if the specified product parameter data does not accord with the parameter data setting rule, returning second reminding information of data errors. In the embodiment, before the specified product parameter data is used for testing, data verification processing is performed on the specified product parameter data, if the specified product parameter data is detected to be not in accordance with the parameter data setting rule, a reminding message of data error is returned to remind a user to correspondingly adjust the specified product parameter data and input updated product parameter data, so that the product parameter data used for generating the test script can be ensured to be correct, the correct test script can be subsequently used for product testing, and the accuracy of product testing is improved.
Further, in an embodiment of the present application, the step S6 includes:
s610: acquiring field information corresponding to the specified product parameter data;
s611: determining a filling position corresponding to the field information from the script template;
s612: and filling the specified product parameter data to the filling position in the script template to obtain the test script.
As described in the foregoing steps S610 to S612, the step of generating a corresponding test script according to the specified product parameter data and the script template may specifically include: first, field information corresponding to the specified product parameter data is acquired. And then determining a filling position corresponding to the field information from the script template. The script template is a product development script generated after a developer develops according to a product requirement document submitted by a service person, but the script template is lack of product parameter data related to a product. And finally, after the filling position is determined, filling the specified product parameter data to the filling position in the script template to obtain the test script. In the embodiment, the specified product parameter data input by the user through the page is input into the corresponding position of the pre-developed and generated script template to generate the corresponding test script, so that the product test process can be conveniently and quickly performed according to the test script in the follow-up process.
Further, in an embodiment of the present application, after the step S2, the method includes:
s200: if the second product parameter data is not received within a first preset time period, generating first reminding information, wherein the content of the first reminding information is whether the first product parameter data needs to be updated or not;
s201: displaying the first reminding information on the page;
s202: judging whether product parameter data newly input by the user is received within a second preset time period;
s203: and if the product parameter data newly input by the user is not received within a second preset time period, marking the first product parameter data as the appointed product parameter data.
As described in the foregoing steps S200 to S203, when it is detected that the second product parameter data input by the user is not received within the first preset time period, a prompt message indicating whether the product parameter data needs to be updated may be further sent to the user, so as to ensure the accuracy of the specified product parameter data for the subsequent product testing process. Specifically, after the step of storing the first product parameter data and determining whether the second product parameter data input by the user is received within a first preset time period, the method may further include: and if the second product parameter data is not received within a first preset time period, generating first reminding information, wherein the content of the first reminding information is whether the first product parameter data needs to be updated or not. And then displaying the first reminding information on the page. The display mode of the first reminding information is not particularly limited, and can be selected according to actual requirements, for example, an email mode, a short message mode, a voice reminding mode and the like can be adopted. And then judging whether the product parameter data newly input by the user is received in a second preset time period. The second preset time period is not particularly limited, and may be set according to actual requirements, for example, may be set to 10 minutes. And if the product parameter data newly input by the user is not received within a second preset time period, marking the first product parameter data as the specified product parameter data. When the situation that the second product parameter data input by the user is not received within the first preset time period occurs, the embodiment can intelligently send the first reminding information whether to update the first product parameter data to the user, so that the user can be intelligently reminded, and the user experience is improved. In addition, the accuracy of the received product parameter data for product testing is ensured by sending the reminding information, and the accuracy of the subsequent product testing process is favorably ensured.
Further, in an embodiment of the present application, after the step S3, the method includes:
s300: if the number is larger than 1, respectively acquiring the input time of the parameter data of each second product;
s301: sequencing all the second product parameter data according to the sequence of the input time from first to last to obtain corresponding sequencing results;
s302: screening out the second product parameter data sorted last in the sorting result;
s303: and marking the second product parameter data which is sequenced last as the specified product parameter data.
As described in steps S300 to S303, in addition to the situation that the number of the second product parameter data is 1, a situation that the number of the second product parameter data is greater than 1 may also occur, that is, after the user inputs the first product parameter data in the page, the first product parameter data is subsequently changed and adjusted for multiple times, and then the second product parameter data received in the first preset time period is intelligently screened, so as to accurately screen out the specified product parameter data for subsequent product testing. Specifically, after the step of obtaining the number of the second product parameter data and determining whether the number is greater than 1 if the second product parameter data is received, the method may further include: and if the number is larger than 1, respectively acquiring the input time of each second product parameter data. And then sequencing all the second product parameter data according to the sequence of the input time from first to last to obtain a corresponding sequencing result. And then screening out the second product parameter data sorted last in the sorting result. And finally, marking the second product parameter data which is sequenced last as the appointed product parameter data. In this embodiment, when the user has a need to modify the product parameter data for multiple times, when it is detected that the user inputs a plurality of second product parameter data at different time points within a first preset time period, the corresponding test process is not immediately performed on each received second product parameter data, but all the second product parameter data received within the first preset time period are time-sequenced, then only one second product parameter data input by the user last within the first preset time period is screened out from the sequencing result as the specified product parameter data, and then the specified product parameter data is subsequently used to perform the corresponding product test process. Because only one appointed product parameter data finally decided by the user is selected to carry out the subsequent product testing process, and the testing processing is not carried out from the second product parameter data received each time, the data processing amount is effectively reduced, the generation of useless power consumption is reduced, and the accuracy of the product testing process is also ensured.
The test method based on the script template in the embodiment of the present application may also be applied to the field of block chains, for example, data such as the above specified product parameter data is stored on a block chain. By using the block chain to store and manage the specified product parameter data, the safety and the non-tamper property of the specified product parameter data can be effectively ensured.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
Referring to fig. 2, an embodiment of the present application further provides a test apparatus based on a script template, including:
the first receiving module 1 is used for receiving first product parameter data input by a user on a page;
the first judging module 2 is used for storing the first product parameter data and judging whether second product parameter data input by the user is received within a first preset time period;
the second judging module 3 is configured to, if the second product parameter data is received, obtain the quantity of the second product parameter data, and judge whether the quantity is greater than 1;
a first marking module 4, configured to mark the second product parameter data as specified product parameter data if the number is not greater than 1;
the first obtaining module 5 is configured to obtain a preset script template, where the script template is an initial product test script that is generated in advance according to a product requirement document, and data corresponding to the specified product parameter data is not filled in the initial product test script;
the first generation module 6 is used for generating a corresponding test script according to the specified product parameter data and the script template;
the deployment module 7 is used for deploying the test script to a preset test environment;
and the test module 8 is used for running the test script in the test environment to generate a corresponding test result.
In this embodiment, the implementation processes of the functions and actions of the first receiving module, the first determining module, the second determining module, the first marking module, the first obtaining module, the first generating module, the deploying module and the testing module in the testing apparatus based on the script template are specifically described in the implementation processes corresponding to steps S1 to S8 in the testing method based on the script template, and are not described herein again.
Further, in an embodiment of the present application, the testing apparatus based on the script template includes:
the second receiving module is used for receiving a service operation instruction input by the user, wherein the operation instruction comprises service information and user identity information, and the service operation instruction is an instruction for setting product parameters;
the third judging module is used for comparing the service information with a preset service operation level table and judging whether a security level matched with the service information exists in the service operation level table or not;
the second generation module is used for determining the business operation instruction as a verification-free instruction if the safety level matched with the business information does not exist in the business operation level table, and generating a first receiving instruction for receiving first product parameter data input by the user on a page;
the fourth judging module is used for judging whether the security level is in a preset level range or not if the security level matched with the service information exists in the service operation level table;
the extracting module is used for extracting the user identity information from the service operation instruction and judging whether the user identity information is legal identity information or not if the security level is within a preset level range;
the second acquisition module is used for acquiring a first permission score corresponding to the service permission of the user from a preset user role permission score table according to the user identity information if the user identity information is legal identity information;
the third acquisition module is used for acquiring a second permission score corresponding to the service operation instruction;
a fifth judging module, configured to judge whether the first permission score is smaller than the second permission score;
and the first judging module is used for judging that the user has the service authority for setting the product parameters and generating a second receiving instruction for receiving the first product parameter data input by the user on the page if the first authority score is not smaller than the second authority score.
In this embodiment, the implementation processes of the functions and actions of the second receiving module, the third determining module, the second generating module, the fourth determining module, the extracting module, the second obtaining module, the third obtaining module, the fifth determining module and the first determining module in the script template based testing apparatus are specifically described in the implementation processes corresponding to steps S100 to S108 in the script template based testing method, and are not described herein again.
Further, in an embodiment of the present application, the deployment module includes:
the first acquisition unit is used for acquiring all test statements contained in the test script; and the number of the first and second groups,
the second acquisition unit is used for acquiring a preset grammar rule;
the judging unit is used for respectively carrying out grammar check on each test statement according to the grammar rule and judging whether all the test statements accord with the grammar rule;
the first deployment unit is used for deploying the test script to a preset test environment if all the test statements accord with the grammar rule;
the screening unit is used for screening out a first test statement which does not accord with the grammar rule in the test statements if all the test statements do not accord with the grammar rule;
the modification unit is used for modifying the first test statement into a correct second test statement according to the grammar rule to obtain a modified test script;
and the second deployment unit is used for deploying the modified test script to a preset test environment.
In this embodiment, the implementation processes of the functions and functions of the first obtaining unit, the second obtaining unit, the judging unit, the first deploying unit, the screening unit, the modifying unit and the second deploying unit in the testing device based on the script template are specifically described in the implementation processes corresponding to steps S700 to S706 in the testing method based on the script template, and are not described herein again.
Further, in an embodiment of the present application, the testing apparatus based on the script template includes:
the fourth acquisition module is used for acquiring a prestored parameter data setting rule;
the sixth judging module is used for judging whether the parameter data of the specified product meet the parameter data setting rule or not;
the third generation module is used for generating a generation instruction of generating a corresponding test script according to the designated product parameter data and the script template if the designated product parameter data accords with the parameter data setting rule;
and the return module is used for returning second reminding information of data errors if the specified product parameter data does not accord with the parameter data setting rule.
In this embodiment, the implementation processes of the functions and functions of the fourth obtaining module, the sixth determining module, the third generating module and the returning module in the test device based on the script template are specifically described in the implementation processes corresponding to steps S600 to S603 in the test method based on the script template, and are not described herein again.
Further, in an embodiment of the present application, the first generating module includes:
a third obtaining unit, configured to obtain field information corresponding to the specified product parameter data;
the determining unit is used for determining a filling position corresponding to the field information from the script template;
and the filling unit is used for filling the specified product parameter data to the filling position in the script template to obtain the test script.
In this embodiment, the implementation processes of the functions and functions of the third obtaining unit, the determining unit and the filling unit in the test device based on the script template are specifically described in the implementation processes corresponding to steps S610 to S612 in the test method based on the script template, and are not described herein again.
Further, in an embodiment of the present application, the testing apparatus based on the script template includes:
a fourth generating module, configured to generate a first reminding message if the second product parameter data is not received within a first preset time period, where a content of the first reminding message is whether the first product parameter data needs to be updated;
the display module is used for displaying the first reminding information on the page;
the seventh judging module is used for judging whether the product parameter data newly input by the user is received within a second preset time period;
and the second marking module is used for marking the first product parameter data as the appointed product parameter data if the product parameter data input by the user newly is not received within a second preset time period.
In this embodiment, the implementation processes of the functions and functions of the fourth generation module, the presentation module, the seventh determination module and the second marking module in the test apparatus based on the script template are specifically described in the implementation processes corresponding to steps S200 to S203 in the test method based on the script template, and are not described herein again.
Further, in an embodiment of the present application, the testing apparatus based on the script template further includes:
a fifth obtaining module, configured to obtain input time of each second product parameter data if the number is greater than 1;
the sorting module is used for sorting all the second product parameter data according to the sequence of the input time from first to last to obtain corresponding sorting results;
the screening module is used for screening out the second product parameter data which is sorted at the end in the sorting result;
and the third marking module is used for marking the second product parameter data which is sequenced last as the appointed product parameter data.
In this embodiment, the implementation processes of the functions and functions of the fifth obtaining module, the sorting module, the screening module and the third marking module in the test apparatus based on the script template are specifically described in the implementation processes corresponding to steps S300 to S303 in the test method based on the script template, and are not described herein again.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device comprises a processor, a memory, a network interface, a display screen, an input device and a database which are connected through a system bus. Wherein the processor of the computer device is designed to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as first product parameter data, second product parameter data, designated product parameter data, script templates, test scripts and test results. The network interface of the computer device is used for communicating with an external terminal through a network connection. The display screen of the computer equipment is an indispensable image-text output equipment in the computer, and is used for converting digital signals into optical signals so that characters and figures are displayed on the screen of the display screen. The input device of the computer equipment is the main device for information exchange between the computer and the user or other equipment, and is used for transmitting data, instructions, some mark information and the like to the computer. The computer program is executed by a processor to implement a script template based testing method.
The processor executes the steps of the test method based on the script template:
receiving first product parameter data input by a user on a page;
storing the first product parameter data, and judging whether second product parameter data input by the user is received within a first preset time period;
if the second product parameter data are received, acquiring the quantity of the second product parameter data, and judging whether the quantity is greater than 1;
if the number is not greater than 1, marking the second product parameter data as designated product parameter data;
acquiring a preset script template, wherein the script template is an initial product test script generated in advance according to a product requirement document, and data corresponding to the specified product parameter data are not filled in the initial product test script;
generating a corresponding test script according to the designated product parameter data and the script template;
deploying the test script to a preset test environment;
and running the test script in the test environment to generate a corresponding test result.
Those skilled in the art will appreciate that the structure shown in fig. 3 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the apparatus and the computer device to which the present application is applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed by a processor, the computer program implements a test method based on a script template, and specifically includes:
receiving first product parameter data input by a user on a page;
storing the first product parameter data, and judging whether second product parameter data input by the user is received within a first preset time period;
if the second product parameter data are received, acquiring the quantity of the second product parameter data, and judging whether the quantity is greater than 1;
if the number is not greater than 1, marking the second product parameter data as designated product parameter data;
acquiring a preset script template, wherein the script template is an initial product test script generated in advance according to a product requirement document, and data corresponding to the specified product parameter data are not filled in the initial product test script;
generating a corresponding test script according to the designated product parameter data and the script template;
deploying the test script to a preset test environment;
and running the test script in the test environment to generate a corresponding test result.
To sum up, in the test method, the test device, the computer device and the storage medium based on the script template provided in the embodiments of the present application, in the process of developing and testing a product, a form of data input by a service person on a page is adopted to set product parameter data required for product development, and when the service person has a requirement for modifying the product parameter data, the service person only needs to re-input correct product parameter data within a specified time period, so that a corresponding test script can be quickly generated according to the correct product parameter data and a preset script template, and then the test script can be used to automatically perform a corresponding product test process. According to the method and the device, the data are input by using the page when the user modifies the product parameter data, so that business personnel do not need to communicate with development and test personnel for many times about product parameter data adjustment, and the communication cost is effectively reduced. Moreover, developers do not need to manually reset the product parameter data, so that the repeated labor of the developers is reduced, the product testing process is effectively simplified, and the intelligence of the product testing process is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A test method based on script templates is characterized by comprising the following steps:
receiving first product parameter data input by a user on a page;
storing the first product parameter data, and judging whether second product parameter data input by the user is received within a first preset time period;
if the second product parameter data are received, acquiring the quantity of the second product parameter data, and judging whether the quantity is greater than 1;
if the number is not greater than 1, marking the second product parameter data as designated product parameter data;
acquiring a preset script template, wherein the script template is an initial product test script generated in advance according to a product requirement document, and data corresponding to the specified product parameter data are not filled in the initial product test script;
generating a corresponding test script according to the designated product parameter data and the script template;
deploying the test script to a preset test environment;
and running the test script in the test environment to generate a corresponding test result.
2. The script template-based testing method of claim 1, wherein said step of receiving user-entered first product parameter data is preceded by the steps of:
receiving a service operation instruction input by the user, wherein the operation instruction comprises service information and user identity information, and the service operation instruction is an instruction for setting product parameters;
comparing the service information with a preset service operation level table, and judging whether a security level matched with the service information exists in the service operation level table;
if the security level matched with the service information does not exist in the service operation level table, determining the service operation instruction as a verification-free instruction, and generating a first receiving instruction for receiving first product parameter data input by the user on a page;
if the security level matched with the service information exists in the service operation level table, judging whether the security level is in a preset level range;
if the security level is within a preset level range, extracting the user identity information from the service operation instruction, and judging whether the user identity information is legal identity information or not;
if the user identity information is legal identity information, acquiring a first permission score corresponding to the service permission of the user from a preset user role permission score table according to the user identity information;
acquiring a second permission score corresponding to the service operation instruction;
judging whether the first permission score is smaller than the second permission score;
and if the first permission score is not smaller than the second permission score, judging that the user has the service permission for setting the product parameters, and generating a second receiving instruction for receiving the first product parameter data input by the user on the page.
3. The script template-based testing method of claim 1, wherein said step of deploying said test script into a predetermined testing environment comprises:
acquiring all test statements contained in the test script; and the number of the first and second groups,
acquiring a preset grammar rule;
according to the grammar rule, grammar check is respectively carried out on each test statement, and whether all the test statements accord with the grammar rule is judged;
if all the test statements accord with the grammar rule, deploying the test script to a preset test environment;
if all the test sentences do not accord with the grammar rule, screening out first test sentences which do not accord with the grammar rule in the test sentences;
according to the grammar rule, modifying the first test statement into a correct second test statement to obtain a modified test script;
and deploying the modified test script to a preset test environment.
4. The script template-based testing method of claim 1, wherein said step of generating a corresponding test script from said specified product parameter data and said script template is preceded by the steps of:
acquiring a pre-stored parameter data setting rule;
judging whether the parameter data of the specified product conforms to the parameter data setting rule or not;
if the parameter data of the specified product conforms to the parameter data setting rule, generating a generation instruction for generating a corresponding test script according to the parameter data of the specified product and the script template;
and if the specified product parameter data does not accord with the parameter data setting rule, returning second reminding information of data errors.
5. The script template-based testing method of claim 1, wherein the step of generating a corresponding test script according to the specified product parameter data and the script template comprises:
acquiring field information corresponding to the specified product parameter data;
determining a filling position corresponding to the field information from the script template;
and filling the specified product parameter data to the filling position in the script template to obtain the test script.
6. The script template-based testing method of claim 1, wherein said step of storing said first product parameter data and determining whether said second product parameter data entered by said user is received within a first predetermined time period is followed by the step of:
if the second product parameter data is not received within a first preset time period, generating first reminding information, wherein the content of the first reminding information is whether the first product parameter data needs to be updated or not;
displaying the first reminding information on the page;
judging whether product parameter data newly input by the user is received within a second preset time period;
and if the product parameter data newly input by the user is not received within a second preset time period, marking the first product parameter data as the appointed product parameter data.
7. The script template-based testing method of claim 1, wherein after the steps of obtaining the quantity of the second product parameter data and determining whether the quantity is greater than 1 if the second product parameter data is received, the method comprises:
if the number is larger than 1, respectively acquiring the input time of the parameter data of each second product;
sequencing all the second product parameter data according to the sequence of the input time from first to last to obtain corresponding sequencing results;
screening out the second product parameter data sorted last in the sorting result;
and marking the second product parameter data which is sequenced last as the specified product parameter data.
8. A script template based test apparatus, comprising:
the first receiving module is used for receiving first product parameter data input by a user on a page;
the first judgment module is used for storing the first product parameter data and judging whether second product parameter data input by the user is received within a first preset time period;
the second judgment module is used for acquiring the quantity of the second product parameter data if the second product parameter data is received, and judging whether the quantity is greater than 1;
a first marking module, configured to mark the second product parameter data as specified product parameter data if the number is not greater than 1;
the first acquisition module is used for acquiring a preset script template;
the first generation module is used for generating a corresponding test script according to the specified product parameter data and the script template;
the deployment module is used for deploying the test script to a preset test environment;
and the test module is used for running the test script in the test environment to generate a corresponding test result.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011224670.3A 2020-11-05 2020-11-05 Test method and device based on script template, computer equipment and storage medium Pending CN112328482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011224670.3A CN112328482A (en) 2020-11-05 2020-11-05 Test method and device based on script template, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011224670.3A CN112328482A (en) 2020-11-05 2020-11-05 Test method and device based on script template, computer equipment and storage medium

Publications (1)

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

Family

ID=74316045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011224670.3A Pending CN112328482A (en) 2020-11-05 2020-11-05 Test method and device based on script template, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112328482A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094271A (en) * 2021-04-13 2021-07-09 加减信息科技(深圳)有限公司 Block chain technology compliance evaluation system and using method thereof
CN113377669A (en) * 2021-06-29 2021-09-10 南京苏宁软件技术有限公司 Automatic testing method and device, computer equipment and storage medium
CN113535223A (en) * 2021-07-19 2021-10-22 长鑫存储技术有限公司 Configuration method and device of test flow, storage medium and equipment
CN113626318A (en) * 2021-07-28 2021-11-09 通号城市轨道交通技术有限公司 SDP test environment script generation method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341098A (en) * 2017-07-13 2017-11-10 携程旅游信息技术(上海)有限公司 Software performance testing method, platform, equipment and storage medium
CN108269187A (en) * 2018-01-29 2018-07-10 深圳壹账通智能科技有限公司 Verification method, device, equipment and the computer storage media of financial business
CN109542765A (en) * 2018-10-18 2019-03-29 深圳壹账通智能科技有限公司 Database script verification method, device, computer equipment and storage medium
CN110147318A (en) * 2019-04-19 2019-08-20 平安普惠企业管理有限公司 It is a kind of to generate the method and device of test data, electronic equipment
CN111459796A (en) * 2020-02-27 2020-07-28 西安广和通无线软件有限公司 Automatic testing method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341098A (en) * 2017-07-13 2017-11-10 携程旅游信息技术(上海)有限公司 Software performance testing method, platform, equipment and storage medium
CN108269187A (en) * 2018-01-29 2018-07-10 深圳壹账通智能科技有限公司 Verification method, device, equipment and the computer storage media of financial business
CN109542765A (en) * 2018-10-18 2019-03-29 深圳壹账通智能科技有限公司 Database script verification method, device, computer equipment and storage medium
CN110147318A (en) * 2019-04-19 2019-08-20 平安普惠企业管理有限公司 It is a kind of to generate the method and device of test data, electronic equipment
CN111459796A (en) * 2020-02-27 2020-07-28 西安广和通无线软件有限公司 Automatic testing method and device, computer equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094271A (en) * 2021-04-13 2021-07-09 加减信息科技(深圳)有限公司 Block chain technology compliance evaluation system and using method thereof
CN113377669A (en) * 2021-06-29 2021-09-10 南京苏宁软件技术有限公司 Automatic testing method and device, computer equipment and storage medium
CN113535223A (en) * 2021-07-19 2021-10-22 长鑫存储技术有限公司 Configuration method and device of test flow, storage medium and equipment
CN113535223B (en) * 2021-07-19 2023-10-24 长鑫存储技术有限公司 Configuration method, device, storage medium and equipment of test flow
CN113626318A (en) * 2021-07-28 2021-11-09 通号城市轨道交通技术有限公司 SDP test environment script generation method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112328482A (en) Test method and device based on script template, computer equipment and storage medium
CN104391934B (en) Data verification method and device
CN109308285A (en) Database script management method, device, computer equipment and storage medium
CN111737963B (en) Configuration file based form filling method and device and computer equipment
CN113516297A (en) Prediction method and device based on decision tree model and computer equipment
CN112800290A (en) Tracing data acquisition method, device and equipment
CN113642039A (en) Configuration method and device of document template, computer equipment and storage medium
CN113326081A (en) Static resource processing method and device, computer equipment and storage medium
CN112527630A (en) Test case generation method and device, computer equipment and storage medium
CN113282514B (en) Method, device, computer equipment and storage medium for processing problem data
CN112668041A (en) Document file generation method and device, computer equipment and storage medium
WO2022041825A1 (en) Method and apparatus for converting image into webpage, and computer device and storage medium
CN113742776A (en) Data verification method and device based on biological recognition technology and computer equipment
CN114218097A (en) Test case generation method and device, computer equipment and storage medium
CN112597158A (en) Data matching method and device, computer equipment and storage medium
CN113656588A (en) Data code matching method, device, equipment and storage medium based on knowledge graph
CN112965981A (en) Data checking method and device, computer equipment and storage medium
CN112637282A (en) Information pushing method and device, computer equipment and storage medium
CN113077185B (en) Workload evaluation method, workload evaluation device, computer equipment and storage medium
CN113177396B (en) Report generation method and device, computer equipment and storage medium
CN113535260B (en) Simulator-based data processing method, device, equipment and storage medium
CN112650659B (en) Buried point setting method and device, computer equipment and storage medium
CN113050927A (en) Permission control method and device based on user-defined instruction and computer equipment
CN114547053A (en) System-based data processing method and device, computer equipment and storage medium
CN113515444A (en) Test case generation method and device, computer 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