WO2019100576A1 - Automated test management method and apparatus, terminal device, and storage medium - Google Patents

Automated test management method and apparatus, terminal device, and storage medium Download PDF

Info

Publication number
WO2019100576A1
WO2019100576A1 PCT/CN2018/073376 CN2018073376W WO2019100576A1 WO 2019100576 A1 WO2019100576 A1 WO 2019100576A1 CN 2018073376 W CN2018073376 W CN 2018073376W WO 2019100576 A1 WO2019100576 A1 WO 2019100576A1
Authority
WO
WIPO (PCT)
Prior art keywords
use case
case
action
test
management platform
Prior art date
Application number
PCT/CN2018/073376
Other languages
French (fr)
Chinese (zh)
Inventor
伍振亮
伍朗
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019100576A1 publication Critical patent/WO2019100576A1/en

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/3688Test management for test execution, e.g. scheduling of test suites
    • 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

Definitions

  • the present application relates to the field of automated testing, and in particular, to an automated test management method, apparatus, terminal device, and storage medium.
  • the C/S (Client/Server, Client/Server) architecture is a typical two-tier architecture.
  • the client contains one or more programs running on the user's computer.
  • the server the client accesses the server's data through a database connection; the other is a Socket server, and the server's program communicates with the client's program through the Socket.
  • Socket server the server's program communicates with the client's program through the Socket.
  • most automated test management platforms are based on the C/S architecture, which users need to install before they can be used, with low sharing and high maintenance costs.
  • test management platform In the traditional automated test management platform, the lack of correspondence between test cases and automated test scripts makes the test management platform lack of standardization. As the requirements change, the testers need to update the test cases and test scripts. However, in the existing automated test management methods, the test case modules and test script modules are separated from each other. Therefore, testers need to test cases and tests. The scripts are updated separately, which greatly increases the workload of the testers and takes time.
  • the present application provides an automated test management method, apparatus, terminal device and storage medium to solve the problem of lack of correspondence between test cases and automated test scripts, and low sharing and high maintenance cost of the automated test management platform.
  • the application provides an automated test management method, including:
  • test management platform based on the target test script to obtain test results
  • the use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  • the application provides an automated test management apparatus, including:
  • the original test case obtaining module is configured to create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
  • a target test case obtaining module configured to acquire a target test case based on the original test case in the use case review platform, and send the target test case to a use case editing management platform;
  • a target test script obtaining module configured to acquire a target test script based on the target test case in the use case editing management platform, and send the target test platform to the use case test management platform;
  • test result obtaining module configured to perform testing based on the target test script in the use case test management platform, and obtain test results
  • the use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  • the present application provides a terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions The following steps are implemented:
  • test management platform based on the target test script to obtain test results
  • the use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  • the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
  • test management platform based on the target test script to obtain test results
  • the use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  • the original test case is first created in the use case editing management platform, and the original test case is sent to the use case review platform based on the B/S mechanism, so as to be used in the use case.
  • the audit platform obtains the target test case based on the original test case, and then passes the B/S architecture and sends the target test case to the use case editing management platform.
  • the target test script is obtained, and the target test script is sent to the use case test management platform based on the B/S framework to perform test based on the target test script in the use case test management platform, and obtain the test. result.
  • the real-time synchronization between the platforms in the workflow is strong, it is not easy to leak, improve work efficiency, and the use case editing management platform, the use case review platform and the use case test management platform are connected through the B/S architecture, so that the user does not need to download the application.
  • the software is ready to use, with high sharing and low maintenance costs.
  • Embodiment 1 is a flow chart of an automated test management method provided in Embodiment 1.
  • FIG. 2 is a specific schematic diagram of step S10 of FIG. 1.
  • FIG. 3 is a specific schematic diagram of step S12 of FIG. 1.
  • FIG. 4 is another specific schematic diagram of step S12 of FIG. 1.
  • FIG. 5 is a flowchart of an automated test management method provided in Embodiment 1.
  • FIG. 6 is a specific schematic diagram of step S50 of FIG. 5.
  • FIG. 7 is a specific schematic diagram of step S20 of FIG. 1.
  • FIG. 8 is a specific schematic diagram of step S30 of FIG. 1.
  • Embodiment 9 is a schematic block diagram of an automated test management apparatus provided in Embodiment 2.
  • FIG. 10 is a schematic diagram of a terminal device provided in Embodiment 4.
  • FIG. 1 shows a flow chart of an automated test management method in this embodiment.
  • the automated test management method can be applied to financial institutions such as banks, securities, insurance, or other institutions that need to automatically test the system, so as to utilize the automated test management method to improve test efficiency and reduce test and maintenance costs.
  • the automated test management method includes the following steps:
  • S10 Create the original test case in the use case editing management platform, and send the original test case to the use case review platform.
  • the use case editing management platform refers to the management platform used by testers to create test cases.
  • the original test case refers to a set of test scenarios including test execution steps obtained by the tester according to the requirements of the system to be tested.
  • a use case audit platform is a platform that enables auditing of the original test cases sent by testers.
  • step S10 the original test case is created in the use case editing management platform, and the original test case is sent to the use case review platform, which specifically includes the following steps:
  • S11 Display at least two use case execution numbers sequentially on the configuration interface of the use case editing management platform.
  • the configuration interface of the use case editing management platform refers to the interface that the test case editing management platform jumps based on the use case editing instruction when the test case editing instruction input by the tester is clicked on the use case editing button.
  • the use case execution number refers to the execution order of each step in the original test case edited by the tester.
  • the configuration interface when jumping to the configuration interface of the use case editing management platform, due to limited interface resources, the configuration interface performs execution number according to the preset number of use cases, such as displaying 1-10, etc. in the order of Arabic numerals.
  • the use case execution number when the tester wants to add a test case, you can choose to add the batch or add one by one to reduce the interface resource occupancy and increase the load rate.
  • the use case creation management instruction may be input to the use case editing management platform, where the use case can add a number of use case instruction numbers to be added by the custom input; if the batch addition mode is selected, Customize the batch parameters.
  • the batch parameter is defined as 1, the option of adding one by one is selected to achieve the convenience of adding.
  • the basic action is some basic test actions pre-stored by the server, such as the action of "login".
  • each use case execution number is associated with a required basic action selected by the tester in the pre-stored basic action (hereinafter referred to as a target action) to form a set of test plans including at least one basic action.
  • the original test case Since at least two use case execution numbers are sequentially displayed and sequentially executed, the original test cases formed based on the basic actions associated with the use case execution number can be executed strictly in accordance with the use case execution number display and execution order in subsequent tests. Ensure that the test to be tested can be performed in the order of the basic actions in the original test case designed by the user to enhance the accuracy of the test.
  • each use case execution number is associated with a basic action to form an original test case, which specifically includes the following steps:
  • S1211 Acquire an action selection instruction input by the user in an input box corresponding to each use case execution number, and the action selection instruction includes an action ID and/or an action name.
  • the action selection instruction is an instruction for selecting a desired action of the user.
  • the action ID is an identifier for uniquely identifying a base action pre-stored in the server.
  • the action name refers to the action name of the test action input by the tester or the action name of the base action pre-stored in the server.
  • each use case execution number corresponds to an input box to enable the tester to input the target action, and the tester can input only the action ID, or only input the action name, or can input the action ID and the action name at the same time, and complete the input.
  • the corresponding action selection instruction can be input to obtain the required basic action based on the action selection instruction.
  • S1212 Associate the basic operation with the use case execution number based on the action ID and/or the action name.
  • the manner in which the tester obtains the target action may be as follows: First, when the tester knows the action ID and/or the action name of the target action stored in the server in advance, the action ID and/or action of the target action may be directly input. Name to get the target action. Second, when the tester does not know the action ID and/or the action name of the target action stored in the server, the target action to be achieved by the target action can be input, and the use case editing management platform provides the tester according to the target action input by the tester. A similar basic action corresponding to the target action for the tester to select the target action from the similar basic actions provided, ie the user can select and determine the target action based on the similar base action by inputting a selection instruction to the use case editing management platform.
  • the use case editing management platform if the similar basic action recommended by the use case editing management platform does not have the target action to be used by the user, the use case editing management platform generates a reminder information for reminding the developer to load the target action, and sends the development information to the use case editing management platform.
  • the client's client reminds the developer to perform basic action development based on the reminder information, which makes the use case editing management platform more practical and meets the needs of testers.
  • the keyword matching algorithm may be used to obtain a similar basic action corresponding to the target action.
  • the keyword matching algorithm includes but is not limited to the Knuth-Morris-Pratt (KMP) algorithm.
  • KMP Knuth-Morris-Pratt
  • the KMP algorithm is an improved string matching algorithm.
  • the key of the KMP algorithm is to use the information after the matching failure to minimize the number of matching between the pattern string and the main string to achieve fast matching.
  • the KMP algorithm is used to perform keyword matching on the target action input by the tester and the action name stored in the database, to obtain similar basic actions, save time, and improve efficiency.
  • the server pre-stores a keyword information table including the action name of the basic action as a keyword, and matches the target action and the keyword in the keyword information table by the KMP algorithm to determine a similar basic action.
  • the keyword "open browser” can be a browser.
  • the server will be the tester in the pre-stored keyword information table by matching the keyword "browser”. It is recommended to "open the browser” to facilitate the use of testers to enhance the user experience.
  • each use case execution number is associated with a basic action, and specifically includes the following steps:
  • S1221 Display a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action.
  • the configuration interface of the use case editing management platform is the interface displayed by the tester when editing the test case.
  • the basic action list refers to a list of actions that are pre-stored in the use case editing management platform and contain at least two basic actions.
  • the basic action list is displayed in a hierarchical list on the configuration interface of the use case editing management platform.
  • the tester can also select the required basic action (ie, the target action) according to the basic action list, so that the tester can quickly view all the basic actions stored by the server and improve the user experience.
  • S1222 Drag and drop a basic action into an input box corresponding to a use case execution number by using a drag and drop method, and associate the use case execution number with the base action.
  • the tester can select the required basic action (ie, the target action) in the basic action list by dragging and dropping, and drag it to the input box corresponding to the use case execution number, so that the tester selects the selected
  • the base action ie the target action
  • the basic action selected by the tester is input into the input box corresponding to the use case execution number by using a drag and drop method, and the operation process is simple, and the work efficiency is improved.
  • the automated test management method before step S10, further includes step S50: pre-configuring the basic action list.
  • the configuration basic action list specifically includes the following steps:
  • S51 Acquire at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action.
  • the developer may input at least two action editing requests on the use case editing management platform to form a basic action list, and the use case editing management platform may call the pre-stored basic action editing template after receiving the basic action editing request.
  • the basic action editing template includes an action name of the base action and a corresponding action execution code. The developer only needs to edit the action name of the basic action and the corresponding action execution code to complete the editing of the basic action, so as to simplify the operation process, save time and improve efficiency.
  • S52 clustering the at least two action names by using a clustering algorithm, and classifying and managing the basic actions by using the example editing management platform to form a basic action list.
  • the basic action list obtained by clustering the at least two action names by using the K-means clustering algorithm includes at least two cluster class clusters, each cluster class cluster corresponding to a behavior type, and each clustering The class cluster includes a centroid.
  • the cosine similarity algorithm is used to calculate the distance from each action name to the centroid, and the cluster cluster to which the centroid with the smallest calculated distance belongs is used as the category of the action name.
  • the cosine similarity algorithm also known as the cosine similarity algorithm, is an algorithm for evaluating their similarity by calculating the angle cosine of two vectors.
  • the K-MEANS algorithm is an algorithm that inputs the number of clusters k and a database containing n data objects, and outputs an algorithm that satisfies the minimum standard k clusters of variance.
  • the algorithm has low complexity and can process massive data in a short time. ,Improve efficiency.
  • the step of clustering at least two action names by using the K-maens clustering algorithm is as follows: First, K are randomly selected from at least two action names as a centroid, where k represents the number of cluster clusters. Then, using the word segmentation technique, each action name (including the centroid) is segmented, and the TF-IDF is used to calculate the weight of each word in the corresponding action name to form a feature vector. For example, the word “open browser” is segmented, and the "open” "browser” is used to form a feature vector (the vector dimension of the feature vector is 2); if the dimensions of the feature vectors of the two action names are different, the feature of the largest dimension is taken.
  • the word segmentation technique can use the staging word segmentation tool to perform word segmentation, and the stutter word segmentation tool is a common Chinese word segmentation tool, which has the advantages of high accuracy and high efficiency.
  • S20 Obtain the target test case based on the original test case in the use case review platform, and send the target test case to the use case editing management platform.
  • the target test case refers to the auditor reviewing the original test case and marking the test case obtained after the audit is passed. If the audit fails, the use case audit platform sends the original test case to the use case editing management platform for modification. After that, the use case editing management platform sends the modified original test case to the use case review platform for review until the audit passes the target test. Example. Or, if the audit fails, the use case audit platform can obtain the audit modification instruction input by the auditor, and modify the original test case based on the audit modification instruction to obtain the target test case.
  • the automated test management method further includes performing audit authority configuration on the original test case.
  • the audit permission configuration of the original test case includes the following steps:
  • S211 Obtain an audit authority configuration request input by the user in the use case editing management platform, and the audit authority configuration request includes an auditor ID.
  • the test permission configuration button displayed on the interface may be selected, and the use case editing management platform may obtain
  • the audit authority configuration request entered by the user includes the auditor ID, so that the original test case is assigned to the auditor corresponding to the auditor ID.
  • the auditor ID is a unique identifier that identifies the auditor.
  • S212 Send the original test case to the use case review platform based on the audit permission configuration request, so that the audit interface corresponding to the auditor ID displays the original test case.
  • the tester when the tester corresponding to the auditor ID specifies the original test case, the tester clicks upload, and the use case editing management platform can send the original test case to the audit interface corresponding to the auditor ID, and give The auditing email corresponding to the auditor ID sends an alert message.
  • the upload can be directly selected.
  • the use case editing management platform will directly send the original test case to the use case audit platform and be allocated by the use case review platform.
  • the work tasks of each auditor in the use case review platform include a work task to be completed and a work task completed.
  • the server periodically counts and records the task to be completed for each auditor in the use case auditing platform, and the task information table includes the auditor ID, the auditing mailbox corresponding to the auditor ID, and the corresponding task to be completed.
  • the upper limit of each auditor's task to be completed is predefined.
  • the use case auditing platform When the use case auditing platform receives the original test case without the designated auditor, it searches for the work task to be completed corresponding to the auditor in turn. If the number of the task to be completed does not reach the upper limit, the auditor ID is obtained. The audit platform sends the original test case to the audit interface corresponding to the auditor ID, and sends a reminder message to the audit mailbox corresponding to the auditor ID. This process improves the efficiency by reasonably allocating work tasks to achieve rational use of resources.
  • step S20 the target test case is obtained based on the original test case in the use case review platform, and specifically includes the following steps:
  • S221 Obtain an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier.
  • each auditor logs in to the audit interface corresponding to the auditor ID through his login account; in the use case audit platform, the auditor can select any original test case to be audited to input the selection audit command.
  • the review interface In order for the review interface to display the original test case corresponding to the audit selection instruction.
  • the auditor should click the “Audit Pass” and “Audit Passed” buttons displayed on the audit interface to output the corresponding audit instruction.
  • the audit ID carried by the audit instruction may be the audit pass identifier or the audit. By identification.
  • the auditor audits the original test case according to his own judgment. If the original test case passes the audit, the auditor will mark the original test case as the approval pass (ie, the audit pass mark) and select the confirmation save.
  • the use case review platform is The target test case with the audit pass identifier may be sent to the use case editing management platform when the audit identifier of the original test case is obtained. If the original test case fails the audit, the auditor will mark the original test case as unapproved (ie, the audit fails the identification) and confirm the save.
  • the use case review platform will obtain the audit modification instruction, which includes the audit modification.
  • the use case management mailbox corresponding to the opinion and use case editing management platform.
  • the use case review platform enhances the automated test management process by sending the original test case with the audit failed identifier and the review modification comments to the use case editing management platform and sending the reminder information to the mailbox corresponding to the developer who created the original test case. Synchronization, not easy to leak, improve work efficiency.
  • the auditor has an error in the mark of the original test case
  • the change can be made without checking the save state, and the use case review platform will only have the review when receiving the instruction to confirm the save state.
  • the original test case of the identification is sent to the use case editing management platform to improve the fault tolerance of the management process.
  • S30 Obtain a target test script based on the target test case in the use case editing management platform, and send the target test script to the use case test management platform.
  • the target test script is a test script obtained by scripting the target test case.
  • the use case editing management platform will send the obtained target test script to the use case test management platform, and send reminder information to the test management mailbox to enhance the real-time synchronization of the work management process.
  • step S30 the target test scenario is obtained based on the target test case in the use case editing management platform, and specifically includes the following steps:
  • the use case execution number is also associated with an action execution code corresponding to the action ID of each base action.
  • the use case editing management platform acquires the use case scripting instruction input by the tester.
  • the use case scripting instruction includes an action ID.
  • the use case editing management platform sequentially calls the action execution code corresponding to each use case execution number in the target test case based on the action ID to form the original test script. This process eliminates the need for the tester to rewrite the test script according to the target test case, and can directly call the stored action execution code, saving time and improving work efficiency.
  • S32 Acquire a script modification instruction input by the user, and the script modification instruction includes an action ID and an adjustment parameter.
  • the action execution code corresponding to each basic action includes a method function and corresponding original parameters.
  • the adjustment parameter refers to the parameter input by the tester when the original test script is modified according to the system requirements.
  • the action execution code includes a method function for implementing the base action and corresponding original parameters; at this time, the user may input a script modification instruction to the use case editing management platform to modify the original parameter to the adjustment parameter in the script modification instruction.
  • the corresponding action execution script includes a method function for implementing the function of the print browser and corresponding original parameters, and the URL of the browser can be changed, and the input is performed.
  • the required adjustment parameters ie the required URL
  • S33 Modify an action execution code corresponding to the action ID in the original test script to form a target test script based on the adjustment parameter.
  • the action execution code corresponding to the action ID in the original test script is modified by the adjustment parameter corresponding to each action execution code acquired in step S32 to form a target test script, and the target test script is sent to the use case test management platform.
  • the tester ID and the corresponding mailbox for receiving the test result may be configured, so that the system to be tested corresponds to a tester to enhance the work management process.
  • the test results include pass and fail.
  • the use case test management platform sends the test result to the mailbox corresponding to the tester ID.
  • the tester can also perform batch test of the system to be tested in the use case test management platform to increase work efficiency.
  • the use case test management platform can send the failed test results to the use case defect management platform for analysis.
  • the use case defect management platform displays a defect list including at least one defect type, each defect type including a test defect description and a test defect resolution method.
  • the use case defect management platform analyzes the defect of the untested test result (ie, the target defect)
  • the analyst may select a defect type similar to the target test defect from the defect list, and the defect is managed by the use case defect management platform.
  • the test defect description and test defect resolution method corresponding to the type generate a defect report in the html (Hypertext Markup Language) format, and send the defect report to the mailbox corresponding to the tester ID. This process saves time by eliminating the need for analysts to edit defect handling methods, and testers can handle defects based on recommended defect resolution and increase productivity.
  • the use case defect management platform includes a defect report template, and the defect report template includes a defect type module, a defect description module, and a defect resolution method module.
  • the analyst When testing, the analyst only needs to select a defect similar to the target test defect from the defect list. Type, you can generate defect reports, save time and improve work efficiency.
  • the use case editing management platform, the use case review platform, the use case test management platform, and the use case defect management platform are connected through the B/S architecture.
  • the B/S architecture is the browser and server structure. Under this structure, the user work interface is implemented by the WEB browser. Very few transaction logic is implemented in the browser, but the main transaction logic is on the server ( Server) implementation.
  • the B/S architecture is a network structure mode after the rise of WEB. The WEB browser is the most important application software for the client. Users do not need to download, just install the browser to use, greatly reducing maintenance costs.
  • the original test case is created in the use case editing management platform, and the original test case is sent to the use case review platform based on the B/S mechanism, so as to obtain the target test case based on the original test case in the use case review platform.
  • the target test case is then sent to the use case editing management platform through the B/S architecture.
  • the target test script is obtained, and the target test script is sent to the use case test management platform based on the B/S framework to perform test based on the target test script in the use case test management platform, and obtain the test. result.
  • the real-time synchronization between the platforms in the workflow is strong, it is not easy to leak, improve work efficiency, and the use case editing management platform, the use case review platform and the use case test management platform are connected through the B/S architecture, so that the user does not need to download the application.
  • the software can be used, the sharing is high and the maintenance cost is low, and the automated test method pre-creates a basic action list for the user to view, the operation flow is simple, saves time, and improves work efficiency.
  • Fig. 9 is a block diagram showing the principle of an automated test management apparatus corresponding to the automated test management method in the first embodiment.
  • the automated test management apparatus includes an original test case acquisition module 10, a target test case acquisition module 20, a target test script acquisition module 30, a test result acquisition module 40, and an action list configuration module 50.
  • the steps of the original test case acquisition module 10, the target test case acquisition 20 module, the target test script acquisition module 30, the test result acquisition module 40, and the action list configuration module 50 and the automatic test management method in the embodiment are one by one.
  • the present embodiment will not be described in detail.
  • the original test case acquisition module 10 is configured to create an original test case in the use case editing management platform and send the original test case to the use case review platform.
  • the target test case obtaining module 20 is configured to obtain a target test case based on the original test case in the use case review platform, and send the target test case to the use case editing management platform.
  • the target test script obtaining module 30 is configured to obtain a target test script based on the target test case in the use case editing management platform, and send the target test platform to the use case test management platform.
  • the test result obtaining module 40 is configured to perform testing based on the target test script in the use case test management platform, and obtain test results.
  • the action list configuration module 50 is configured to pre-configure the basic action list.
  • the use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  • the original test case acquisition module 10 includes a use case execution number display unit 11 and an original test case acquisition unit 12.
  • the use case execution number display unit 11 is configured to sequentially display at least two use case execution numbers on the configuration interface of the use case editing management platform.
  • the original test case obtaining unit 12 is configured to associate each use case execution number with a base action to form an original test case.
  • the original test case acquisition unit 12 includes an action selection instruction acquisition sub-unit 1211 and a use case execution number association sub-unit 1212.
  • the action selection instruction acquisition sub-unit 1211 is configured to acquire an action selection instruction input by the user in an input box corresponding to each use case execution number, and the action selection instruction includes an action ID and/or an action name.
  • the use case execution number association sub-unit 1212 is configured to associate the use number with the base action based on the action ID and/or the action name.
  • the original test case obtaining unit 12 further includes a base action list display sub-unit 1221 and a base action selection sub-unit 1222.
  • the basic action list display sub-unit 1221 is configured to display a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action.
  • the basic action selection sub-unit 1222 is configured to drag and drop a basic action into an input box corresponding to a use case execution number by using a drag and drop method, and associate the use case execution number with the base action.
  • the automated test management device further includes an action editing unit 51 and a base action list obtaining unit 52.
  • the action editing unit 51 is configured to acquire at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action.
  • the basic action list obtaining unit 52 is configured to perform clustering processing on the at least two action names by using a clustering algorithm, and classify and manage the basic actions by using the example editing management platform to form a basic action list.
  • the automated test management apparatus further includes an audit authority configuration acquisition unit 211 and an original test case transmission unit 212.
  • the audit authority configuration obtaining unit 211 is configured to obtain an audit authority configuration request input by the user in the use case editing management platform, and the audit authority configuration request includes an auditor ID.
  • the original test case sending unit 212 is configured to send the original test case to the use case review platform based on the audit authority configuration request, so that the audit interface corresponding to the auditor ID displays the original test case.
  • the target test case acquisition module 20 includes an audit instruction acquisition unit 221 and a target test case acquisition unit 222.
  • the audit instruction obtaining unit 221 is configured to obtain an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier.
  • the target test case obtaining unit 222 is configured to use the original test case as the target test case if the audit mark is the audit pass identifier.
  • the target test script acquisition module 30 includes an original test script acquisition unit 31, a script modification instruction acquisition unit 32, and a target test script acquisition unit 33.
  • the original test script obtaining unit 31 is configured to sequentially execute an action execution code corresponding to the at least two use case execution numbers based on the target test case in the use case editing management platform to form an original test script.
  • the script modification instruction obtaining unit 32 is configured to acquire a script modification instruction input by the user, and the script modification instruction includes an action ID and an adjustment parameter.
  • the target test script obtaining unit 33 is configured to modify an action execution code corresponding to the action ID in the original test script to form a target test script based on the adjustment parameter.
  • the embodiment provides a computer readable storage medium on which computer readable instructions are stored, and when the computer readable instructions are executed by the processor, the automatic test management method in Embodiment 1 is implemented. No longer.
  • the computer readable instructions are executed by the processor, the functions of the modules/units in the automatic test management apparatus in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
  • FIG. 10 is a schematic diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 100 of this embodiment includes a processor 101, a memory 102, and computer readable instructions 103 stored in the memory 102 and executable on the processor 101.
  • the processor 101 when executing the computer readable instructions 103, implements the steps in the various automated test management method embodiments described above, such as steps S10 through S40 shown in FIG.
  • the processor 101 implements the functions of the modules/units in the various apparatus embodiments described above when the computer readable instructions 103 are executed, such as the functions of the modules 10 through 50 shown in FIG.
  • computer readable instructions 103 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 102 and executed by processor 101 to complete the application.
  • the one or more modules/units may be a series of instructions of computer readable instructions capable of performing a particular function, which is used to describe the execution of computer readable instructions 103 in the terminal device 100.
  • the computer readable instructions 103 can be segmented into an original test case acquisition module 10, a target test case acquisition 20 module, a target test script acquisition module 30, a test result acquisition module 40, and an audit authority configuration module 50.
  • the specific functions of each module are as described in Embodiment 2, and are not described herein.
  • the terminal device 100 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, the processor 101 and the memory 102. It will be understood by those skilled in the art that FIG. 10 is merely an example of the terminal device 100, and does not constitute a limitation of the terminal device 100, and may include more or less components than those illustrated, or combine some components, or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the processor 101 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 102 may be an internal storage unit of the terminal device 100, such as a hard disk or a memory of the terminal device 100.
  • the memory 102 may also be an external storage device of the terminal device 100, such as a plug-in hard disk equipped on the terminal device 100, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on.
  • the memory 102 may also include both an internal storage unit of the terminal device 100 and an external storage device.
  • the memory 102 is used to store computer readable instructions 103 and other programs and data required by the terminal device 100.
  • the memory 102 can also be used to temporarily store data that has been or will be output.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium.
  • the computer readable instructions when executed by a processor, may implement the steps of the various method embodiments described above.
  • the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like.
  • the computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media.
  • a recording medium a USB flash drive
  • a removable hard drive a magnetic disk, an optical disk
  • a computer memory a read only memory (ROM, Read-Only) Memory
  • RAM random access memory

Abstract

Disclosed are an automated test management method and apparatus, a terminal device, and a storage medium. The automated test management method comprises: creating an original test case in a case editing management platform, and sending the original test case to a case audit platform; acquiring, in the case audit platform, a target test case based on the original test case, and sending the target test case to the case editing management platform; acquiring, in the case editing management platform, a target test script based on the target test case, and sending the target test script to a case test management platform; and acquiring, in the case test management platform, a test result by means of testing based on the target test script, wherein the case editing management platform, the case audit platform and the case test management platform are connected via a B/S architecture. The automated testing management method has the advantages of a strong real-time synchronism, making it difficult to make mistakes, and improving the work efficiency.

Description

自动化测试管理方法、装置、终端设备及存储介质Automated test management method, device, terminal device and storage medium
本专利申请以2017年11月27日提交的申请号为201711204956.3,名称为“自动化测试管理方法、装置、终端设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This patent application is based on the Chinese invention patent application filed on November 27, 2017, with the application number of 201711204956.3, entitled "Automated Test Management Method, Apparatus, Terminal Equipment and Storage Medium", and requires its priority.
技术领域Technical field
本申请涉及自动化测试领域,尤其涉及一种自动化测试管理方法、装置、终端设备及存储介质。The present application relates to the field of automated testing, and in particular, to an automated test management method, apparatus, terminal device, and storage medium.
背景技术Background technique
C/S(Client/Server,客户端/服务器)架构是一种典型的两层架构,其客户端包含一个或多个在用户的电脑上运行的程序,其服务器有两种,一种是数据库服务器,客户端通过数据库连接访问服务器的数据;另一种是Socket服务器,服务器的程序通过Socket与客户端的程序通信。目前,大多数自动化测试管理平台都是基于C/S架构的,用户需要安装才可以使用,共享性低且维护成本高。The C/S (Client/Server, Client/Server) architecture is a typical two-tier architecture. The client contains one or more programs running on the user's computer. There are two types of servers, one is the database. The server, the client accesses the server's data through a database connection; the other is a Socket server, and the server's program communicates with the client's program through the Socket. At present, most automated test management platforms are based on the C/S architecture, which users need to install before they can be used, with low sharing and high maintenance costs.
在传统的自动化测试管理平台中,测试案例与自动化测试脚本之间缺少对应关系,使得测试管理平台缺乏规范性。随着需求的不断变动,测试人员需要对测试案例和测试脚本进行更新,但在现有的自动化测试管理方法中,测试案例模块和测试脚本模块相互分离,因此,需要测试人员对测试案例和测试脚本分别进行更新,这就大大增加了测试人员的工作量,耗费时间。In the traditional automated test management platform, the lack of correspondence between test cases and automated test scripts makes the test management platform lack of standardization. As the requirements change, the testers need to update the test cases and test scripts. However, in the existing automated test management methods, the test case modules and test script modules are separated from each other. Therefore, testers need to test cases and tests. The scripts are updated separately, which greatly increases the workload of the testers and takes time.
发明内容Summary of the invention
本申请提供一种自动化测试管理方法、装置、终端设备及存储介质,以解决测试案例与自动化测试脚本之间缺少对应关系以及自动化测试管理平台的共享性低、维护成本高的问题。The present application provides an automated test management method, apparatus, terminal device and storage medium to solve the problem of lack of correspondence between test cases and automated test scripts, and low sharing and high maintenance cost of the automated test management platform.
第一方面,本申请提供一种自动化测试管理方法,包括:In a first aspect, the application provides an automated test management method, including:
在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平 台;Create an original test case in the use case editing management platform and send the original test case to the use case review platform;
在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;Obtaining a target test case based on the original test case in the use case review platform, and sending the target test case to the use case editing management platform;
在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目标测试脚本发送给用例测试管理平台;Obtaining a target test script based on the target test case in the use case editing management platform, and sending the target test script to the use case test management platform;
在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;Testing in the use case test management platform based on the target test script to obtain test results;
其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
第二方面,本申请提供一种自动化测试管理装置,包括:In a second aspect, the application provides an automated test management apparatus, including:
原始测试用例获取模块,用于在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;The original test case obtaining module is configured to create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
目标测试用例获取模块,用于在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;a target test case obtaining module, configured to acquire a target test case based on the original test case in the use case review platform, and send the target test case to a use case editing management platform;
目标测试脚本获取模块,用于在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目标测试平台发送给用例测试管理平台;a target test script obtaining module, configured to acquire a target test script based on the target test case in the use case editing management platform, and send the target test platform to the use case test management platform;
测试结果获取模块,用于在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;a test result obtaining module, configured to perform testing based on the target test script in the use case test management platform, and obtain test results;
其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
第三方面,本申请提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:In a third aspect, the present application provides a terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions The following steps are implemented:
在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;Create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;Obtaining a target test case based on the original test case in the use case review platform, and sending the target test case to the use case editing management platform;
在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目标测试脚本发送给用例测试管理平台;Obtaining a target test script based on the target test case in the use case editing management platform, and sending the target test script to the use case test management platform;
在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;Testing in the use case test management platform based on the target test script to obtain test results;
其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S 架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:In a fourth aspect, the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;Create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;Obtaining a target test case based on the original test case in the use case review platform, and sending the target test case to the use case editing management platform;
在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目标测试脚本发送给用例测试管理平台;Obtaining a target test script based on the target test case in the use case editing management platform, and sending the target test script to the use case test management platform;
在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;Testing in the use case test management platform based on the target test script to obtain test results;
其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
本申请提供的自动化测试管理方法、装置、终端设备及存储介质中,先通过在用例编辑管理平台中创建原始测试用例,并基于B/S机构将原始测试用例发送给用例审核平台,以便在用例审核平台中基于原始测试用例,获取目标测试用例,之后通过B/S架构并将目标测试用例发送给用例编辑管理平台。最后,在用例编辑管理平台中基于目标测试用例,获取目标测试脚本,并基于B/S架构将目标测试脚本发送给用例测试管理平台以便在用例测试管理平台中基于目标测试脚本进行测试,获取测试结果。该工作流程中各平台之间的实时同步性强,不易出现纰漏,提高工作效率,并且通过B/S架构将用例编辑管理平台、用例审核平台和用例测试管理平台相连,以使用户无需下载应用软件即可使用,共享性高且维护成本低。In the automatic test management method, device, terminal device and storage medium provided by the present application, the original test case is first created in the use case editing management platform, and the original test case is sent to the use case review platform based on the B/S mechanism, so as to be used in the use case. The audit platform obtains the target test case based on the original test case, and then passes the B/S architecture and sends the target test case to the use case editing management platform. Finally, based on the target test case in the use case editing management platform, the target test script is obtained, and the target test script is sent to the use case test management platform based on the B/S framework to perform test based on the target test script in the use case test management platform, and obtain the test. result. The real-time synchronization between the platforms in the workflow is strong, it is not easy to leak, improve work efficiency, and the use case editing management platform, the use case review platform and the use case test management platform are connected through the B/S architecture, so that the user does not need to download the application. The software is ready to use, with high sharing and low maintenance costs.
附图说明DRAWINGS
为了更清楚地说明本申请的技术方案,下面将对本申请的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the present application, the drawings to be used in the description of the present application will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. For ordinary technicians, other drawings can be obtained based on these drawings without paying for creative labor.
图1是实施例1中提供的自动化测试管理方法的一流程图。1 is a flow chart of an automated test management method provided in Embodiment 1.
图2是图1中步骤S10的一具体示意图。FIG. 2 is a specific schematic diagram of step S10 of FIG. 1.
图3是图1中步骤S12的一具体示意图。FIG. 3 is a specific schematic diagram of step S12 of FIG. 1.
图4是图1中步骤S12的另一具体示意图。FIG. 4 is another specific schematic diagram of step S12 of FIG. 1.
图5是实施例1中提供的自动化测试管理方法的一流程图。FIG. 5 is a flowchart of an automated test management method provided in Embodiment 1.
图6是图5中步骤S50的一具体示意图。FIG. 6 is a specific schematic diagram of step S50 of FIG. 5.
图7是图1中步骤S20的一具体示意图。FIG. 7 is a specific schematic diagram of step S20 of FIG. 1.
图8是图1中步骤S30的一具体示意图。FIG. 8 is a specific schematic diagram of step S30 of FIG. 1.
图9是实施例2中提供的自动化测试管理装置的一原理框图。9 is a schematic block diagram of an automated test management apparatus provided in Embodiment 2.
图10是实施例4中提供的终端设备的一示意图。FIG. 10 is a schematic diagram of a terminal device provided in Embodiment 4.
具体实施方式Detailed ways
下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the present application will be clearly and completely described in the following with reference to the drawings in the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
实施例1Example 1
图1示出本实施例中自动化测试管理方法的流程图。该自动化测试管理方法可应用在银行、证券、保险等金融机构或其他需要对系统进行自动化测试的机构的终端设备中,以便利用该自动化测试管理方法提升测试效率、降低测试维护成本。如图1所示,该自动化测试管理方法包括如下步骤:FIG. 1 shows a flow chart of an automated test management method in this embodiment. The automated test management method can be applied to financial institutions such as banks, securities, insurance, or other institutions that need to automatically test the system, so as to utilize the automated test management method to improve test efficiency and reduce test and maintenance costs. As shown in FIG. 1, the automated test management method includes the following steps:
S10:在用例编辑管理平台中创建原始测试用例,并将原始测试用例发送给用例审核平台。S10: Create the original test case in the use case editing management platform, and send the original test case to the use case review platform.
其中,用例编辑管理平台是指测试人员用来创建测试用例的管理平台。原始测试用例是指测试人员根据待测试系统的需求进行编辑所得到的一组包含测试执行步骤的测试方案。用例审核平台是指能够对测试人员所发送的原始测试用例进行审核的平台。Among them, the use case editing management platform refers to the management platform used by testers to create test cases. The original test case refers to a set of test scenarios including test execution steps obtained by the tester according to the requirements of the system to be tested. A use case audit platform is a platform that enables auditing of the original test cases sent by testers.
如图2所示,步骤S10中,在用例编辑管理平台中创建原始测试用例,并将原始测试用例发送给用例审核平台,具体包括如下步骤:As shown in FIG. 2, in step S10, the original test case is created in the use case editing management platform, and the original test case is sent to the use case review platform, which specifically includes the following steps:
S11:在用例编辑管理平台的配置界面上依序显示至少两个用例执行编号。S11: Display at least two use case execution numbers sequentially on the configuration interface of the use case editing management platform.
其中,用例编辑管理平台的配置界面是指测试人员在点击用例编辑按钮而输入的用例编辑指令时,用例编辑管理平台会基于用例编辑指令所跳转到的界面。用例执行编号是指测试人员所编辑的原始测试用例中每一步骤的执行顺序。本实施例中,当跳转到用例编辑管理平台的配置界面时,由于界面资源有限,该配置界面会依据显示预设数量的用例执行编号,如按照阿拉伯数字的顺序展示出1-10等10个用例执行编号;当测试人员想要添加 测试用例时,可以选择批量添加方式或者逐条添加方式,降低界面资源占有率,提升加载速率。具体地,当测试人员想要添加测试用例时,可向用例编辑管理平台输入用例添加指令,该用例添加指令中可自定义输入所要添加的用例指令编号的数量;如选择批量添加方式时,可以自定义批量参数,当批量参数定义为1时,即选择逐条添加方式,以达到添加便捷的目的。The configuration interface of the use case editing management platform refers to the interface that the test case editing management platform jumps based on the use case editing instruction when the test case editing instruction input by the tester is clicked on the use case editing button. The use case execution number refers to the execution order of each step in the original test case edited by the tester. In this embodiment, when jumping to the configuration interface of the use case editing management platform, due to limited interface resources, the configuration interface performs execution number according to the preset number of use cases, such as displaying 1-10, etc. in the order of Arabic numerals. The use case execution number; when the tester wants to add a test case, you can choose to add the batch or add one by one to reduce the interface resource occupancy and increase the load rate. Specifically, when the tester wants to add a test case, the use case creation management instruction may be input to the use case editing management platform, where the use case can add a number of use case instruction numbers to be added by the custom input; if the batch addition mode is selected, Customize the batch parameters. When the batch parameter is defined as 1, the option of adding one by one is selected to achieve the convenience of adding.
S12:将每一用例执行编号与一基础动作关联,形成原始测试用例。S12: Associate each use case execution number with a base action to form an original test case.
其中,基础动作是服务器预先存储的一些基础的测试动作,例如“登录”的动作。本实施例中,将每一个用例执行编号与测试人员在预先存储的基础动作中选取的一所需基础动作(以下简称为目标动作)相关联,形成一组包含至少一个基础动作的测试方案,即原始测试用例。由于至少两个用例执行编号是依序显示并依序执行的,使得基于与用例执行编号关联的基础动作形成的原始测试用例在后续测试时,能够严格按照用例执行编号的显示和执行顺序执行,保证对待测试系统的测试可依据用户设计好的原始测试用例中各基础动作的顺序执行,增强测试的准确性。The basic action is some basic test actions pre-stored by the server, such as the action of "login". In this embodiment, each use case execution number is associated with a required basic action selected by the tester in the pre-stored basic action (hereinafter referred to as a target action) to form a set of test plans including at least one basic action. The original test case. Since at least two use case execution numbers are sequentially displayed and sequentially executed, the original test cases formed based on the basic actions associated with the use case execution number can be executed strictly in accordance with the use case execution number display and execution order in subsequent tests. Ensure that the test to be tested can be performed in the order of the basic actions in the original test case designed by the user to enhance the accuracy of the test.
如图3所示,步骤S12中,将每一用例执行编号与一基础动作关联,形成原始测试用例,具体包括如下步骤:As shown in FIG. 3, in step S12, each use case execution number is associated with a basic action to form an original test case, which specifically includes the following steps:
S1211:在每一用例执行编号对应的输入框中,获取用户输入的动作选择指令,动作选择指令包括动作ID和/或动作名称。S1211: Acquire an action selection instruction input by the user in an input box corresponding to each use case execution number, and the action selection instruction includes an action ID and/or an action name.
其中,动作选择指令是用于选择用户所需动作的指令。动作ID是用于唯一识别服务器中预先存储的基础动作的标识。动作名称是指测试人员输入目标动作的动作名称或者服务器中预先存储的基础动作的动作名称。具体地,每一用例执行编号都对应一输入框以使测试人员输入目标动作,测试人员可以只输入动作ID,也可以只输入动作名称,或者可以同时输入动作ID和动作名称,并在输入完成后点击确定按钮即可输入相应的动作选择指令,以便基于该动作选择指令获取所需的基础动作。The action selection instruction is an instruction for selecting a desired action of the user. The action ID is an identifier for uniquely identifying a base action pre-stored in the server. The action name refers to the action name of the test action input by the tester or the action name of the base action pre-stored in the server. Specifically, each use case execution number corresponds to an input box to enable the tester to input the target action, and the tester can input only the action ID, or only input the action name, or can input the action ID and the action name at the same time, and complete the input. After clicking the OK button, the corresponding action selection instruction can be input to obtain the required basic action based on the action selection instruction.
S1212:基于动作ID和/或动作名称,以使用例执行编号与基础动作关联。S1212: Associate the basic operation with the use case execution number based on the action ID and/or the action name.
具体地,测试人员获取目标动作的方式可以有如下两种情况:一是测试人员知道服务器中预先存储目标动作的动作ID和/或动作名称时,可以直接输入目标动作的动作ID和/或动作名称,以获取目标动作。二是测试人员不知道服务器中预先存储目标动作的动作ID和/或动作名称时,可以输入目标动作所要实现的目标动作,用例编辑管理平台会根据测试人员所输入的目标动作,给测试人员提供与目标动作相对应的相似基础动作,以供测试人员从所提供的相似基础动作中选择目标动作,即用户可通过向用例编辑管理平台输入选 择指令,以便基于相似基础动作选择并确定目标动作。可以理解地,若用例编辑管理平台推荐的相似基础动作没有用户所要使用的目标动作,则用例编辑管理平台会生成提醒开发人员加载该目标动作的提醒信息,并发送给该用例编辑管理平台的开发人员的客户端,以提醒开发人员基于提醒信息进行基础动作开发,从而使得该用例编辑管理平台更具有实用性,满足测试人员的需求。Specifically, the manner in which the tester obtains the target action may be as follows: First, when the tester knows the action ID and/or the action name of the target action stored in the server in advance, the action ID and/or action of the target action may be directly input. Name to get the target action. Second, when the tester does not know the action ID and/or the action name of the target action stored in the server, the target action to be achieved by the target action can be input, and the use case editing management platform provides the tester according to the target action input by the tester. A similar basic action corresponding to the target action for the tester to select the target action from the similar basic actions provided, ie the user can select and determine the target action based on the similar base action by inputting a selection instruction to the use case editing management platform. It can be understood that if the similar basic action recommended by the use case editing management platform does not have the target action to be used by the user, the use case editing management platform generates a reminder information for reminding the developer to load the target action, and sends the development information to the use case editing management platform. The client's client reminds the developer to perform basic action development based on the reminder information, which makes the use case editing management platform more practical and meets the needs of testers.
进一步地,用例编辑管理平台在给测试人员推荐相似基础动作时,可以采用关键词匹配算法,获取与目标动作相对应的相似基础动作。其中,关键词匹配算法包括但不限于克努特-莫里斯-普拉特(Knuth-Morris-Pratt,以下简称KMP)算法。具体地,KMP算法是一种改进的字符串匹配算法,KMP算法的关键是利用匹配失败后的信息,尽量减少模式串与主串的匹配次数以达到快速匹配的目的。本实施例中,选用KMP算法对测试人员所输入的目标动作和数据库中存储的动作名称进行关键词匹配,获取相似基础动作,节省时间,提高效率。Further, when the use case editing management platform recommends a similar basic action to the tester, the keyword matching algorithm may be used to obtain a similar basic action corresponding to the target action. Among them, the keyword matching algorithm includes but is not limited to the Knuth-Morris-Pratt (KMP) algorithm. Specifically, the KMP algorithm is an improved string matching algorithm. The key of the KMP algorithm is to use the information after the matching failure to minimize the number of matching between the pattern string and the main string to achieve fast matching. In this embodiment, the KMP algorithm is used to perform keyword matching on the target action input by the tester and the action name stored in the database, to obtain similar basic actions, save time, and improve efficiency.
具体地,服务器会预先存储包含将基础动作的动作名称作为关键字所形成的关键字信息表,通过KMP算法匹配目标动作与关键字信息表中的关键字,以确定相似基础动作。例如“打开浏览器”的关键字可以为浏览器,当测试人员输入“点击浏览器”时,服务器会在预先存储的关键字信息表中,通过匹配到关键字“浏览器”而为测试人员推荐“打开浏览器”的动作,方便测试人员使用,提升用户体验。Specifically, the server pre-stores a keyword information table including the action name of the basic action as a keyword, and matches the target action and the keyword in the keyword information table by the KMP algorithm to determine a similar basic action. For example, the keyword "open browser" can be a browser. When the tester enters "click browser", the server will be the tester in the pre-stored keyword information table by matching the keyword "browser". It is recommended to "open the browser" to facilitate the use of testers to enhance the user experience.
在另一具体实施方式中,如图4所示,步骤S12中,将每一用例执行编号与一基础动作关联,具体包括如下步骤:In another embodiment, as shown in FIG. 4, in step S12, each use case execution number is associated with a basic action, and specifically includes the following steps:
S1221:在用例编辑管理平台的配置界面上显示基础动作列表,基础动作列表包括至少一个基础动作。S1221: Display a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action.
其中,用例编辑管理平台的配置界面是测试人员在编辑测试用例时所显示的界面。基础动作列表是指用例编辑管理平台中预先存储的包含至少两个基础动作的动作列表。本实施例中,用例编辑管理平台的配置界面上以分级列表的形式显示基础动作列表。具体地,测试人员也可根据基础动作列表选取所需的基础动作(即目标动作),以使测试人员更快速的查看服务器存储的所有基础动作,提升用户体验。The configuration interface of the use case editing management platform is the interface displayed by the tester when editing the test case. The basic action list refers to a list of actions that are pre-stored in the use case editing management platform and contain at least two basic actions. In this embodiment, the basic action list is displayed in a hierarchical list on the configuration interface of the use case editing management platform. Specifically, the tester can also select the required basic action (ie, the target action) according to the basic action list, so that the tester can quickly view all the basic actions stored by the server and improve the user experience.
S1222:采用拖拽方式将一基础动作拖拽到与一用例执行编号对应的输入框中,以使用例执行编号与基础动作关联。S1222: Drag and drop a basic action into an input box corresponding to a use case execution number by using a drag and drop method, and associate the use case execution number with the base action.
具体地,测试人员可以采用拖拽方式在基础动作列表中选取所需的基础动作(即目标动作),将其拖拽到与用例执行编号所对应的输入框中,以使测试人员选取到的基础动作 (即目标动作)与用例执行编号相关联。本实施例中,采用拖拽方式将测试人员选取到的基础动作(即目标动作)输入到与用例执行编号所对应的输入框中,该操作过程简单,提高了工作效率。Specifically, the tester can select the required basic action (ie, the target action) in the basic action list by dragging and dropping, and drag it to the input box corresponding to the use case execution number, so that the tester selects the selected The base action (ie the target action) is associated with the use case execution number. In this embodiment, the basic action selected by the tester (ie, the target action) is input into the input box corresponding to the use case execution number by using a drag and drop method, and the operation process is simple, and the work efficiency is improved.
如图5所示,在一具体实施方式中,该自动化测试管理方法,步骤S10之前还包括步骤S50:预先配置基础动作列表。其中,如图6所示,配置基础动作列表具体包括如下步骤:As shown in FIG. 5, in an embodiment, the automated test management method, before step S10, further includes step S50: pre-configuring the basic action list. As shown in FIG. 6 , the configuration basic action list specifically includes the following steps:
S51:在用例编辑管理平台获取至少两个动作编辑请求,动作编辑请求包括基础动作对应的动作名称。S51: Acquire at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action.
具体地,开发人员可向用例编辑管理平台上输入至少两个动作编辑请求,以形成基础动作列表,用例编辑管理平台在接收到基础动作编辑请求之后会调用预先存储的基础动作编辑模板。该基础动作编辑模板包括基础动作的动作名称和对应的动作执行代码。开发人员只需编辑基础动作的动作名称和对应的动作执行代码,即可完成对基础动作的编辑,以达到简化操作流程,节省时间,提高效率的目的。Specifically, the developer may input at least two action editing requests on the use case editing management platform to form a basic action list, and the use case editing management platform may call the pre-stored basic action editing template after receiving the basic action editing request. The basic action editing template includes an action name of the base action and a corresponding action execution code. The developer only needs to edit the action name of the basic action and the corresponding action execution code to complete the editing of the basic action, so as to simplify the operation process, save time and improve efficiency.
S52:采用聚类算法对至少两个动作名称进行聚类处理,以使用例编辑管理平台对基础动作进行分类管理,形成基础动作列表。S52: clustering the at least two action names by using a clustering algorithm, and classifying and managing the basic actions by using the example editing management platform to form a basic action list.
具体地,采用K-means聚类算法对至少两个动作名称进行聚类处理后获取的基础动作列表包括至少两个聚类类簇,每一聚类类簇对应一行为类型,并且每一聚类类簇包括一质心。采用余弦相似度算法计算每一动作名称到质心的距离,将计算得出的距离最小的质心所属的聚类类簇作为该动作名称的类别。其中,余弦相似度算法,又称为余弦相似性算法,是通过计算两个向量的夹角余弦值来评估他们的相似度的算法。K-MEANS算法是输入聚类个数k,以及包含n个数据对象的数据库,输出满足方差最小标准k个聚类的一种算法,该算法的复杂度低,能在短时间内处理海量数据,提高效率。Specifically, the basic action list obtained by clustering the at least two action names by using the K-means clustering algorithm includes at least two cluster class clusters, each cluster class cluster corresponding to a behavior type, and each clustering The class cluster includes a centroid. The cosine similarity algorithm is used to calculate the distance from each action name to the centroid, and the cluster cluster to which the centroid with the smallest calculated distance belongs is used as the category of the action name. Among them, the cosine similarity algorithm, also known as the cosine similarity algorithm, is an algorithm for evaluating their similarity by calculating the angle cosine of two vectors. The K-MEANS algorithm is an algorithm that inputs the number of clusters k and a database containing n data objects, and outputs an algorithm that satisfies the minimum standard k clusters of variance. The algorithm has low complexity and can process massive data in a short time. ,Improve efficiency.
进一步地,采用K-maens聚类算法对至少两个动作名称进行聚类处理的步骤如下:首先从至少两个动作名称中随机选取K个作为质心,其中,k代表聚类类簇的数量。再采用分词技术将每个动作名称(包括质心)进行分词,采用TF-IDF计算每个词语在对应的动作名称的权值形成特征向量。例如对“打开浏览器”进行分词,得到“打开”“浏览器”形成特征向量(该特征向量的向量维度为2);若两个动作名称的特征向量的维度不同,则取最大维度的特征向量对应的维度作为最终维度,其他的特征向量维度不足的用0补齐即可。最后采用余弦相似度算法计算每个动作名称对应的特征向量与质心的距离,将计算得出的距离最小的质心所属的聚类类簇作为该动作名称的类别。其中,质心的个数由聚类 类簇的数量K决定,具体的K值由开发人员自定义。本实施例中,分词技术可采用结巴分词工具进行分词,结巴分词工具是一种常见的中文分词工具,具有准确率高、效率高的优点。Further, the step of clustering at least two action names by using the K-maens clustering algorithm is as follows: First, K are randomly selected from at least two action names as a centroid, where k represents the number of cluster clusters. Then, using the word segmentation technique, each action name (including the centroid) is segmented, and the TF-IDF is used to calculate the weight of each word in the corresponding action name to form a feature vector. For example, the word "open browser" is segmented, and the "open" "browser" is used to form a feature vector (the vector dimension of the feature vector is 2); if the dimensions of the feature vectors of the two action names are different, the feature of the largest dimension is taken. The dimension corresponding to the vector is used as the final dimension, and the other feature vector dimensions are insufficient to be filled with 0. Finally, the cosine similarity algorithm is used to calculate the distance between the feature vector corresponding to each action name and the centroid, and the cluster cluster to which the centroid with the smallest distance is calculated is used as the category of the action name. Among them, the number of centroids is determined by the number K of clustering clusters, and the specific K value is customized by the developer. In this embodiment, the word segmentation technique can use the staging word segmentation tool to perform word segmentation, and the stutter word segmentation tool is a common Chinese word segmentation tool, which has the advantages of high accuracy and high efficiency.
S20:在用例审核平台中基于原始测试用例,获取目标测试用例,并将目标测试用例发送给用例编辑管理平台。S20: Obtain the target test case based on the original test case in the use case review platform, and send the target test case to the use case editing management platform.
其中,目标测试用例是指审核人员对原始测试用例进行审核,并标记审核通过后获取到的测试用例。若审核未通过时,用例审核平台会将原始测试用例发送给用例编辑管理平台进行修改,之后用例编辑管理平台会将修改后的原始测试用例发送给用例审核平台进行审核,直到审核通过获取目标测试用例。或者,若审核未通过时,用例审核平台可以获取审核人员输入的审核修改指令,并基于该审核修改指令对原始测试用例进行修改,以获取目标测试用例。Among them, the target test case refers to the auditor reviewing the original test case and marking the test case obtained after the audit is passed. If the audit fails, the use case audit platform sends the original test case to the use case editing management platform for modification. After that, the use case editing management platform sends the modified original test case to the use case review platform for review until the audit passes the target test. Example. Or, if the audit fails, the use case audit platform can obtain the audit modification instruction input by the auditor, and modify the original test case based on the audit modification instruction to obtain the target test case.
在一具体实施方式中,如图7所示,步骤S20之前,该自动化测试管理方法还包括对原始测试用例进行审核权限配置。其中,对原始测试用例进行审核权限配置,具体包括如下步骤:In a specific embodiment, as shown in FIG. 7, before step S20, the automated test management method further includes performing audit authority configuration on the original test case. The audit permission configuration of the original test case includes the following steps:
S211:在用例编辑管理平台中获取用户输入的审核权限配置请求,审核权限配置请求包括审核人员ID。S211: Obtain an audit authority configuration request input by the user in the use case editing management platform, and the audit authority configuration request includes an auditor ID.
具体地,测试人员在保存编辑好的原始测试用例时,若需要指定审核人员对该原始测试用例进行审核时,可选择点击界面上显示的审核权限配置按钮,此时用例编辑管理平台会获取到用户输入的审核权限配置请求,该审核权限配置请求包括审核人员ID,以使原始测试用例分配给审核人员ID对应的审核人员。其中,审核人员ID是可识别审核人员的唯一标识。Specifically, when the tester saves the original test case, if the auditor needs to specify the auditor to review the original test case, the test permission configuration button displayed on the interface may be selected, and the use case editing management platform may obtain The audit authority configuration request entered by the user, the audit authority configuration request includes the auditor ID, so that the original test case is assigned to the auditor corresponding to the auditor ID. Among them, the auditor ID is a unique identifier that identifies the auditor.
S212:基于审核权限配置请求,将原始测试用例发送给用例审核平台,以使审核人员ID对应的审核界面显示原始测试用例。S212: Send the original test case to the use case review platform based on the audit permission configuration request, so that the audit interface corresponding to the auditor ID displays the original test case.
具体地,测试人员在指定审核人员ID对应的审核人员对原始测试用例进行审核时,点击上传,用例编辑管理平台即可将原始测试用例发送到与审核人员ID相对应的审核界面,并给与审核人员ID对应的审核邮箱发送提醒信息。Specifically, when the tester corresponding to the auditor ID specifies the original test case, the tester clicks upload, and the use case editing management platform can send the original test case to the audit interface corresponding to the auditor ID, and give The auditing email corresponding to the auditor ID sends an alert message.
可以理解地,若测试人员不需要指定审核人员对原始测试用例进行审核,可直接选择上传,用例编辑管理平台会直接将原始测试用例发送给用例审核平台,并由用例审核平台进行分配。具体地,用例审核平台中每一个审核人员的工作任务包括待完成工作任务和已完成工作任务。服务器会对用例审核平台中每一个审核人员的待完成工作任务进行定时统 计并存储任务信息表,该任务信息表包括审核人员ID、审核人员ID对应的审核邮箱和对应的待完成工作任务。本实施例中,每个审核人员的待完成工作任务的上限是预先定义好的。当用例审核平台接收到没有指定审核人员的原始测试用例时,依次查找审核人员对应的待完成工作任务,若查找到待完成任务的数量未达上限的审核人员,则获取该审核人员ID,用例审核平台会将原始测试用例发送到该审核人员ID对应的审核界面,并给与审核人员ID对应的审核邮箱发送提醒信息。该过程通过合理分配工作任务,以达到合理利用资源的目的,提高效率。Understandably, if the tester does not need to specify the auditor to review the original test case, the upload can be directly selected. The use case editing management platform will directly send the original test case to the use case audit platform and be allocated by the use case review platform. Specifically, the work tasks of each auditor in the use case review platform include a work task to be completed and a work task completed. The server periodically counts and records the task to be completed for each auditor in the use case auditing platform, and the task information table includes the auditor ID, the auditing mailbox corresponding to the auditor ID, and the corresponding task to be completed. In this embodiment, the upper limit of each auditor's task to be completed is predefined. When the use case auditing platform receives the original test case without the designated auditor, it searches for the work task to be completed corresponding to the auditor in turn. If the number of the task to be completed does not reach the upper limit, the auditor ID is obtained. The audit platform sends the original test case to the audit interface corresponding to the auditor ID, and sends a reminder message to the audit mailbox corresponding to the auditor ID. This process improves the efficiency by reasonably allocating work tasks to achieve rational use of resources.
在一具体实施方式中,步骤S20中,在用例审核平台中基于原始测试用例,获取目标测试用例,具体包括如下步骤:In a specific implementation, in step S20, the target test case is obtained based on the original test case in the use case review platform, and specifically includes the following steps:
S221:在审核人员ID对应的审核界面上获取审核指令,审核指令包括审核标识。S221: Obtain an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier.
本实施例中,每个审核人员通过自己的登录帐号登录与审核人员ID对应的审核界面;在用例审核平台中,审核人员可选择所要进行审核的任一原始测试用例,以输入选择审核指令,以使审核界面显示与该审核选择指令相对应的原始测试用例。审核人员在审核时,要点击审核界面上显示的“审核通过”和“审核未通过”按钮,以输出相应的审核指令,该审核指令携带的审核标识可以为审核通过标识,也可以为审核未通过标识。In this embodiment, each auditor logs in to the audit interface corresponding to the auditor ID through his login account; in the use case audit platform, the auditor can select any original test case to be audited to input the selection audit command. In order for the review interface to display the original test case corresponding to the audit selection instruction. During the audit, the auditor should click the “Audit Pass” and “Audit Passed” buttons displayed on the audit interface to output the corresponding audit instruction. The audit ID carried by the audit instruction may be the audit pass identifier or the audit. By identification.
S222:若审核标识为审核通过标识,则将原始测试用例作为目标测试用例。S222: If the audit identifier is an audit pass identifier, the original test case is used as a target test case.
具体地,审核人员根据自己的判断对原始测试用例进行审核,若原始测试用例通过审核,审核人员会将该原始测试用例标记为审核通过(即审核通过标识)并选择确认保存,用例审核平台即可在获取到该原始测试用例的审核标识时,将该带有审核通过标识的目标测试用例发送到用例编辑管理平台。若原始测试用例未通过审核,审核人员会将该原始测试用例标记为审核未通过(即审核未通过标识)并确认保存,则用例审核平台会获取到审核修改指令,该审核修改指令包括审核修改意见和用例编辑管理平台对应的用例管理邮箱。用例审核平台在将携带有审核未通过标识的原始测试用例以及审核修改意见发送到用例编辑管理平台以及发送提醒信息到创建该原始测试用例的开发人员对应的邮箱,以增强自动化测试管理流程的实时同步性,不易出现纰漏,提高工作效率。Specifically, the auditor audits the original test case according to his own judgment. If the original test case passes the audit, the auditor will mark the original test case as the approval pass (ie, the audit pass mark) and select the confirmation save. The use case review platform is The target test case with the audit pass identifier may be sent to the use case editing management platform when the audit identifier of the original test case is obtained. If the original test case fails the audit, the auditor will mark the original test case as unapproved (ie, the audit fails the identification) and confirm the save. The use case review platform will obtain the audit modification instruction, which includes the audit modification. The use case management mailbox corresponding to the opinion and use case editing management platform. The use case review platform enhances the automated test management process by sending the original test case with the audit failed identifier and the review modification comments to the use case editing management platform and sending the reminder information to the mailbox corresponding to the developer who created the original test case. Synchronization, not easy to leak, improve work efficiency.
本实施例中,若审核人员对原始测试用例的标记出现错误时,在没有选择确认保存的状态下可以进行更改,用例审核平台只有在接收到确认保存状态的指令时,才会将带有审核标识的原始测试用例发送给用例编辑管理平台,提高管理流程的容错性。In this embodiment, if the auditor has an error in the mark of the original test case, the change can be made without checking the save state, and the use case review platform will only have the review when receiving the instruction to confirm the save state. The original test case of the identification is sent to the use case editing management platform to improve the fault tolerance of the management process.
S30:在用例编辑管理平台中基于目标测试用例,获取目标测试脚本,并将目标测试脚本发送给用例测试管理平台。S30: Obtain a target test script based on the target test case in the use case editing management platform, and send the target test script to the use case test management platform.
其中,自动化测试需要根据测试脚本进行测试,因此需要将目标测试用例进行脚本化处理。具体地,目标测试脚本是将目标测试用例进行脚本化处理得到的测试脚本。用例编辑管理平台会将得到的目标测试脚本发送到用例测试管理平台,并发送提醒信息到测试管理邮箱,增强工作管理流程的实时同步性。Among them, automated testing needs to be tested according to the test script, so the target test case needs to be scripted. Specifically, the target test script is a test script obtained by scripting the target test case. The use case editing management platform will send the obtained target test script to the use case test management platform, and send reminder information to the test management mailbox to enhance the real-time synchronization of the work management process.
如图8所示,步骤S30中,在用例编辑管理平台中基于目标测试用例,获取目标测试脚本,具体包括如下步骤:As shown in FIG. 8 , in step S30, the target test scenario is obtained based on the target test case in the use case editing management platform, and specifically includes the following steps:
S31:在用例编辑管理平台中基于目标测试用例,依序调用与至少两个用例执行编号对应的动作执行代码,形成原始测试脚本。S31: In the use case editing management platform, based on the target test case, sequentially execute the action execution code corresponding to the at least two use case execution numbers to form the original test script.
其中,用例执行编号还关联存储与每个基础动作的动作ID对应的动作执行代码。具体地,用例编辑管理平台在接收到用例审核平台发送的携带有审核通过标识的目标测试用例后,会获取测试人员输入的用例脚本化指令。该用例脚本化指令包括动作ID。用例编辑管理平台会基于动作ID依序调用目标测试用例中每个用例执行编号对应的动作执行代码,以形成原始测试脚本。该过程无需测试人员重新根据目标测试用例编写测试脚本,可直接调用已存储的动作执行代码,节省时间,提高工作效率。The use case execution number is also associated with an action execution code corresponding to the action ID of each base action. Specifically, after receiving the target test case sent by the use case review platform and carrying the audit pass identifier, the use case editing management platform acquires the use case scripting instruction input by the tester. The use case scripting instruction includes an action ID. The use case editing management platform sequentially calls the action execution code corresponding to each use case execution number in the target test case based on the action ID to form the original test script. This process eliminates the need for the tester to rewrite the test script according to the target test case, and can directly call the stored action execution code, saving time and improving work efficiency.
S32:获取用户输入的脚本修改指令,脚本修改指令包括动作ID和调节参数。S32: Acquire a script modification instruction input by the user, and the script modification instruction includes an action ID and an adjustment parameter.
可以理解地,每一基础动作对应的动作执行代码包括方法函数和对应的原始参数。其中,调节参数是指测试人员根据系统需求对原始测试脚本进行修改时所输入的参数。具体地,动作执行代码包括用于实现基础动作的方法函数和对应的原始参数;此时,用户可向用例编辑管理平台输入脚本修改指令,以将原始参数修改为脚本修改指令中的调节参数。例如当测试人员选择的基础动作为“打开浏览器”时,其对应的动作执行脚本包括用于实现打印浏览器功能的方法函数和对应的原始参数,可以对浏览器的网址进行更改,输入所需的调节参数(即所需网址),以使原始测试用例更合符合待测试系统的需求。It can be understood that the action execution code corresponding to each basic action includes a method function and corresponding original parameters. The adjustment parameter refers to the parameter input by the tester when the original test script is modified according to the system requirements. Specifically, the action execution code includes a method function for implementing the base action and corresponding original parameters; at this time, the user may input a script modification instruction to the use case editing management platform to modify the original parameter to the adjustment parameter in the script modification instruction. For example, when the basic action selected by the tester is “open browser”, the corresponding action execution script includes a method function for implementing the function of the print browser and corresponding original parameters, and the URL of the browser can be changed, and the input is performed. The required adjustment parameters (ie the required URL) are needed to make the original test case more suitable for the system to be tested.
S33:基于调节参数,修改原始测试脚本中与动作ID对应的动作执行代码,以形成目标测试脚本。S33: Modify an action execution code corresponding to the action ID in the original test script to form a target test script based on the adjustment parameter.
具体地,通过步骤S32获取的每一动作执行代码对应的调节参数修改原始测试脚本中与动作ID对应的动作执行代码,以形成目标测试脚本,并将目标测试脚本发送到用例测试管理平台。本实施例中,在发送目标测试脚本到用例测试管理平台之前也可配置接收测试结果的测试人员ID和对应的邮箱,使得待测试系统对应一测试人员,以增强工作管理流程条理性。Specifically, the action execution code corresponding to the action ID in the original test script is modified by the adjustment parameter corresponding to each action execution code acquired in step S32 to form a target test script, and the target test script is sent to the use case test management platform. In this embodiment, before sending the target test script to the use case test management platform, the tester ID and the corresponding mailbox for receiving the test result may be configured, so that the system to be tested corresponds to a tester to enhance the work management process.
S40:在用例测试管理平台中基于目标测试脚本进行测试,获取测试结果。S40: Perform test based on the target test script in the use case test management platform to obtain test results.
其中,测试结果包括通过和未通过。具体地,在测试完成后,用例测试管理平台会将测试结果发送到与测试人员ID对应的邮箱。本实施例中,测试人员也可将用例测试管理平台中的待测试系统进行分组批量测试,增加工作效率。Among them, the test results include pass and fail. Specifically, after the test is completed, the use case test management platform sends the test result to the mailbox corresponding to the tester ID. In this embodiment, the tester can also perform batch test of the system to be tested in the use case test management platform to increase work efficiency.
具体地,用例测试管理平台可将未通过的测试结果发送给用例缺陷管理平台进行分析。其中,在用例缺陷管理平台会展示缺陷列表,该缺陷列表包括至少一个缺陷类型,每个缺陷类型包括测试缺陷描述和测试缺陷解决方法。本实施例中,用例缺陷管理平台在分析未通过的测试结果的缺陷(即目标缺陷)时,分析人员可从缺陷列表选取与目标测试缺陷相似的缺陷类型,用例缺陷管理平台即可将该缺陷类型对应的测试缺陷描述和测试缺陷解决方法,生成html(超文本标记语言)格式的缺陷报告,并将该缺陷报告发送给与测试人员ID对应的邮箱。该过程无需分析人员编辑缺陷处理方法,节省时间,并且测试人员可根据推荐的缺陷解决方法处理缺陷,提高工作效率。Specifically, the use case test management platform can send the failed test results to the use case defect management platform for analysis. The use case defect management platform displays a defect list including at least one defect type, each defect type including a test defect description and a test defect resolution method. In this embodiment, when the use case defect management platform analyzes the defect of the untested test result (ie, the target defect), the analyst may select a defect type similar to the target test defect from the defect list, and the defect is managed by the use case defect management platform. The test defect description and test defect resolution method corresponding to the type, generate a defect report in the html (Hypertext Markup Language) format, and send the defect report to the mailbox corresponding to the tester ID. This process saves time by eliminating the need for analysts to edit defect handling methods, and testers can handle defects based on recommended defect resolution and increase productivity.
本实施例中,用例缺陷管理平台包括缺陷报告模板,该缺陷报告模板包括缺陷类型模块、缺陷描述模块和缺陷解决方法模块,测试时分析人员只需选取从缺陷列表选取与目标测试缺陷相似的缺陷类型,即可生成缺陷报告,节省时间,提高工作效率。In this embodiment, the use case defect management platform includes a defect report template, and the defect report template includes a defect type module, a defect description module, and a defect resolution method module. When testing, the analyst only needs to select a defect similar to the target test defect from the defect list. Type, you can generate defect reports, save time and improve work efficiency.
本实施例中,用例编辑管理平台、用例审核平台、用例测试管理平台和用例缺陷管理平台通过B/S架构相连。其中,B/S架构即浏览器和服务器结构,在这种结构下,用户工作界面是通过WEB浏览器来实现,极少部分事务逻辑在浏览器(Browser)实现,但是主要事务逻辑在服务器(Server)实现。B/S架构是WEB兴起后的一种网络结构模式,WEB浏览器是客户端最主要的应用软件。用户无需下载,只要安装浏览器即可使用,大大降低维护成本。In this embodiment, the use case editing management platform, the use case review platform, the use case test management platform, and the use case defect management platform are connected through the B/S architecture. Among them, the B/S architecture is the browser and server structure. Under this structure, the user work interface is implemented by the WEB browser. Very few transaction logic is implemented in the browser, but the main transaction logic is on the server ( Server) implementation. The B/S architecture is a network structure mode after the rise of WEB. The WEB browser is the most important application software for the client. Users do not need to download, just install the browser to use, greatly reducing maintenance costs.
本实施例中,先通过在用例编辑管理平台中创建原始测试用例,并基于B/S机构将原始测试用例发送给用例审核平台,以便在用例审核平台中基于原始测试用例,获取目标测试用例,之后通过B/S架构将目标测试用例发送给用例编辑管理平台。最后,在用例编辑管理平台中基于目标测试用例,获取目标测试脚本,并基于B/S架构将目标测试脚本发送给用例测试管理平台以便在用例测试管理平台中基于目标测试脚本进行测试,获取测试结果。该工作流程中各平台之间的实时同步性强,不易出现纰漏,提高工作效率,并且通过B/S架构将用例编辑管理平台、用例审核平台和用例测试管理平台相连,以使用户无需下载应用软件即可使用,共享性高且维护成本低,并且该自动化测试方法预先创建基础动作列表供用户查看,操作流程简单,节省时间,提高工作效率。In this embodiment, the original test case is created in the use case editing management platform, and the original test case is sent to the use case review platform based on the B/S mechanism, so as to obtain the target test case based on the original test case in the use case review platform. The target test case is then sent to the use case editing management platform through the B/S architecture. Finally, based on the target test case in the use case editing management platform, the target test script is obtained, and the target test script is sent to the use case test management platform based on the B/S framework to perform test based on the target test script in the use case test management platform, and obtain the test. result. The real-time synchronization between the platforms in the workflow is strong, it is not easy to leak, improve work efficiency, and the use case editing management platform, the use case review platform and the use case test management platform are connected through the B/S architecture, so that the user does not need to download the application. The software can be used, the sharing is high and the maintenance cost is low, and the automated test method pre-creates a basic action list for the user to view, the operation flow is simple, saves time, and improves work efficiency.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执 行顺序应以其功能和内在逻辑确定,而不应对本申请的实施过程构成任何限定。It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the present application.
实施例2Example 2
图9示出与实施例1中自动化测试管理方法一一对应的自动化测试管理装置的原理框图。如图9所示,该自动化测试管理装置包括原始测试用例获取模块10、目标测试用例获取模块20、目标测试脚本获取模块30、测试结果获取模块40、动作列表配置模块50。其中,原始测试用例获取模块10、目标测试用例获取20模块、目标测试脚本获取模块30、测试结果获取模块40和动作列表配置模块50的实现功能与实施例中自动化测试管理方法对应的步骤一一对应,为避免赘述,本实施例不一一详述。Fig. 9 is a block diagram showing the principle of an automated test management apparatus corresponding to the automated test management method in the first embodiment. As shown in FIG. 9, the automated test management apparatus includes an original test case acquisition module 10, a target test case acquisition module 20, a target test script acquisition module 30, a test result acquisition module 40, and an action list configuration module 50. The steps of the original test case acquisition module 10, the target test case acquisition 20 module, the target test script acquisition module 30, the test result acquisition module 40, and the action list configuration module 50 and the automatic test management method in the embodiment are one by one. Correspondingly, in order to avoid redundancy, the present embodiment will not be described in detail.
原始测试用例获取模块10,用于在用例编辑管理平台中创建原始测试用例,并将原始测试用例发送给用例审核平台。The original test case acquisition module 10 is configured to create an original test case in the use case editing management platform and send the original test case to the use case review platform.
目标测试用例获取模块20,用于在用例审核平台中基于原始测试用例,获取目标测试用例,并将目标测试用例发送给用例编辑管理平台。The target test case obtaining module 20 is configured to obtain a target test case based on the original test case in the use case review platform, and send the target test case to the use case editing management platform.
目标测试脚本获取模块30,用于在用例编辑管理平台中基于目标测试用例,获取目标测试脚本,并将目标测试平台发送给用例测试管理平台。The target test script obtaining module 30 is configured to obtain a target test script based on the target test case in the use case editing management platform, and send the target test platform to the use case test management platform.
测试结果获取模块40,用于在用例测试管理平台中基于目标测试脚本进行测试,获取测试结果。The test result obtaining module 40 is configured to perform testing based on the target test script in the use case test management platform, and obtain test results.
动作列表配置模块50,用于预先配置基础动作列表。The action list configuration module 50 is configured to pre-configure the basic action list.
其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
优选地,原始测试用例获取模块10包括用例执行编号显示单元11和原始测试用例获取单元12。Preferably, the original test case acquisition module 10 includes a use case execution number display unit 11 and an original test case acquisition unit 12.
用例执行编号显示单元11,用于在用例编辑管理平台的配置界面上依序显示至少两个用例执行编号。The use case execution number display unit 11 is configured to sequentially display at least two use case execution numbers on the configuration interface of the use case editing management platform.
原始测试用例获取单元12,用于将每一用例执行编号与一基础动作关联,形成原始测试用例。The original test case obtaining unit 12 is configured to associate each use case execution number with a base action to form an original test case.
优选地,原始测试用例获取单元12包括动作选择指令获取子单元1211、用例执行编号关联子单元1212。Preferably, the original test case acquisition unit 12 includes an action selection instruction acquisition sub-unit 1211 and a use case execution number association sub-unit 1212.
动作选择指令获取子单元1211,用于在每一用例执行编号对应的输入框中,获取用户输入的动作选择指令,动作选择指令包括动作ID和/或动作名称。The action selection instruction acquisition sub-unit 1211 is configured to acquire an action selection instruction input by the user in an input box corresponding to each use case execution number, and the action selection instruction includes an action ID and/or an action name.
用例执行编号关联子单元1212,用于基于动作ID和/或动作名称,以使用例执行编 号与基础动作关联。The use case execution number association sub-unit 1212 is configured to associate the use number with the base action based on the action ID and/or the action name.
优选地,原始测试用例获取单元12还包括基础动作列表显示子单元1221和基础动作选择子单元1222。Preferably, the original test case obtaining unit 12 further includes a base action list display sub-unit 1221 and a base action selection sub-unit 1222.
基础动作列表显示子单元1221,用于在用例编辑管理平台的配置界面上显示基础动作列表,基础动作列表包括至少一个基础动作。The basic action list display sub-unit 1221 is configured to display a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action.
基础动作选择子单元1222,用于采用拖拽方式将一基础动作拖拽到与一用例执行编号对应的输入框中,以使用例执行编号与基础动作关联。The basic action selection sub-unit 1222 is configured to drag and drop a basic action into an input box corresponding to a use case execution number by using a drag and drop method, and associate the use case execution number with the base action.
优选地,该自动化测试管理装置还包括动作编辑单元51和基础动作列表获取单元52。Preferably, the automated test management device further includes an action editing unit 51 and a base action list obtaining unit 52.
动作编辑单元51,用于在用例编辑管理平台获取至少两个动作编辑请求,动作编辑请求包括基础动作对应的动作名称。The action editing unit 51 is configured to acquire at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action.
基础动作列表获取单元52,用于采用聚类算法对至少两个动作名称进行聚类处理,以使用例编辑管理平台对基础动作进行分类管理,形成基础动作列表。The basic action list obtaining unit 52 is configured to perform clustering processing on the at least two action names by using a clustering algorithm, and classify and manage the basic actions by using the example editing management platform to form a basic action list.
优选地,该自动化测试管理装置还包括审核权限配置获取单元211和原始测试用例发送单元212。Preferably, the automated test management apparatus further includes an audit authority configuration acquisition unit 211 and an original test case transmission unit 212.
审核权限配置获取单元211,用于在用例编辑管理平台中获取用户输入的审核权限配置请求,审核权限配置请求包括审核人员ID。The audit authority configuration obtaining unit 211 is configured to obtain an audit authority configuration request input by the user in the use case editing management platform, and the audit authority configuration request includes an auditor ID.
原始测试用例发送单元212,用于基于审核权限配置请求,将原始测试用例发送给用例审核平台,以使审核人员ID对应的审核界面显示原始测试用例。The original test case sending unit 212 is configured to send the original test case to the use case review platform based on the audit authority configuration request, so that the audit interface corresponding to the auditor ID displays the original test case.
优选地,目标测试用例获取模块20包括审核指令获取单元221和目标测试用例获取单元222。Preferably, the target test case acquisition module 20 includes an audit instruction acquisition unit 221 and a target test case acquisition unit 222.
审核指令获取单元221,用于在审核人员ID对应的审核界面上获取审核指令,审核指令包括审核标识。The audit instruction obtaining unit 221 is configured to obtain an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier.
目标测试用例获取单元222,用于若审核标识为审核通过标识,将原始测试用例作为目标测试用例。The target test case obtaining unit 222 is configured to use the original test case as the target test case if the audit mark is the audit pass identifier.
优选地,目标测试脚本获取模块30包括原始测试脚本获取单元31、脚本修改指令获取单元32和目标测试脚本获取单元33。Preferably, the target test script acquisition module 30 includes an original test script acquisition unit 31, a script modification instruction acquisition unit 32, and a target test script acquisition unit 33.
原始测试脚本获取单元31,用于在用例编辑管理平台中基于目标测试用例,依序调用与至少两个用例执行编号对应的动作执行代码,形成原始测试脚本。The original test script obtaining unit 31 is configured to sequentially execute an action execution code corresponding to the at least two use case execution numbers based on the target test case in the use case editing management platform to form an original test script.
脚本修改指令获取单元32,用于获取用户输入的脚本修改指令,脚本修改指令包括动作ID和调节参数。The script modification instruction obtaining unit 32 is configured to acquire a script modification instruction input by the user, and the script modification instruction includes an action ID and an adjustment parameter.
目标测试脚本获取单元33,用于基于调节参数,修改原始测试脚本中与动作ID对应的动作执行代码,以形成目标测试脚本。The target test script obtaining unit 33 is configured to modify an action execution code corresponding to the action ID in the original test script to form a target test script based on the adjustment parameter.
实施例3Example 3
本实施例提供一计算机可读存储介质,该计算机可读存储介质上存储有计算机可读指令,该计算机可读指令被处理器执行时实现实施例1中自动化测试管理方法,为避免重复,这里不再赘述。或者,该计算机可读指令被处理器执行时实现实施例2中自动化测试管理装置中各模块/单元的功能,为避免重复,这里不再赘述。The embodiment provides a computer readable storage medium on which computer readable instructions are stored, and when the computer readable instructions are executed by the processor, the automatic test management method in Embodiment 1 is implemented. No longer. Alternatively, when the computer readable instructions are executed by the processor, the functions of the modules/units in the automatic test management apparatus in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
实施例4Example 4
图10是本申请一实施例提供的终端设备的示意图。如图10所示,该实施例的终端设备100包括:处理器101、存储器102以及存储在存储器102中并可在处理器101上运行的计算机可读指令103。处理器101执行计算机可读指令103时实现上述各个自动化测试管理方法实施例中的步骤,例如图1所示的步骤S10至S40。或者,处理器101执行计算机可读指令103时实现上述各装置实施例中各模块/单元的功能,例如图9所示模块10至50的功能。FIG. 10 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in FIG. 10, the terminal device 100 of this embodiment includes a processor 101, a memory 102, and computer readable instructions 103 stored in the memory 102 and executable on the processor 101. The processor 101, when executing the computer readable instructions 103, implements the steps in the various automated test management method embodiments described above, such as steps S10 through S40 shown in FIG. Alternatively, the processor 101 implements the functions of the modules/units in the various apparatus embodiments described above when the computer readable instructions 103 are executed, such as the functions of the modules 10 through 50 shown in FIG.
示例性的,计算机可读指令103可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器102中,并由处理器101执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令的指令段,该指令段用于描述计算机可读指令103在终端设备100中的执行过程。例如,计算机可读指令103可以被分割成原始测试用例获取模块10、目标测试用例获取20模块、目标测试脚本获取模块30、测试结果获取模块40和审核权限配置模块50。各模块具体功能如实施例2所述,在此不一一赘述。Illustratively, computer readable instructions 103 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 102 and executed by processor 101 to complete the application. The one or more modules/units may be a series of instructions of computer readable instructions capable of performing a particular function, which is used to describe the execution of computer readable instructions 103 in the terminal device 100. For example, the computer readable instructions 103 can be segmented into an original test case acquisition module 10, a target test case acquisition 20 module, a target test script acquisition module 30, a test result acquisition module 40, and an audit authority configuration module 50. The specific functions of each module are as described in Embodiment 2, and are not described herein.
终端设备100可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备可包括,但不仅限于,处理器101、存储器102。本领域技术人员可以理解,图10仅仅是终端设备100的示例,并不构成对终端设备100的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 100 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, the processor 101 and the memory 102. It will be understood by those skilled in the art that FIG. 10 is merely an example of the terminal device 100, and does not constitute a limitation of the terminal device 100, and may include more or less components than those illustrated, or combine some components, or different components. For example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
所称处理器101可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管 逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 101 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器102可以是终端设备100的内部存储单元,例如终端设备100的硬盘或内存。存储器102也可以是终端设备100的外部存储设备,例如终端设备100上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器102还可以既包括终端设备100的内部存储单元也包括外部存储设备。存储器102用于存储计算机可读指令103以及终端设备100所需的其他程序和数据。存储器102还可以用于暂时地存储已经输出或者将要输出的数据。The memory 102 may be an internal storage unit of the terminal device 100, such as a hard disk or a memory of the terminal device 100. The memory 102 may also be an external storage device of the terminal device 100, such as a plug-in hard disk equipped on the terminal device 100, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on. Further, the memory 102 may also include both an internal storage unit of the terminal device 100 and an external storage device. The memory 102 is used to store computer readable instructions 103 and other programs and data required by the terminal device 100. The memory 102 can also be used to temporarily store data that has been or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium. The computer readable instructions, when executed by a processor, may implement the steps of the various method embodiments described above. Wherein, the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like. The computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media It does not include electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者 替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种自动化测试管理方法,其特征在于,包括:An automated test management method, comprising:
    在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;Create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
    在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;Obtaining a target test case based on the original test case in the use case review platform, and sending the target test case to the use case editing management platform;
    在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目标测试脚本发送给用例测试管理平台;Obtaining a target test script based on the target test case in the use case editing management platform, and sending the target test script to the use case test management platform;
    在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;Testing in the use case test management platform based on the target test script to obtain test results;
    其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  2. 根据权利要求1所述的自动化测试管理方法,其特征在于,所述在用例编辑管理平台中创建原始测试用例,包括:The automated test management method according to claim 1, wherein the creating the original test case in the use case editing management platform comprises:
    在所述用例编辑管理平台的配置界面上依序显示至少两个用例执行编号;Displaying at least two use case execution numbers sequentially on the configuration interface of the use case editing management platform;
    将每一所述用例执行编号与一基础动作关联,形成所述原始测试用例。Each of the use case execution numbers is associated with a base action to form the original test case.
  3. 根据权利要求2所述的自动化测试管理方法,其特征在于,所述将每一所述用例执行编号与一基础动作关联,包括:The automated test management method according to claim 2, wherein the associating each of the use case execution numbers with a basic action comprises:
    在每一所述用例执行编号对应的输入框中,获取用户输入的动作选择指令,所述动作选择指令包括动作ID和/或动作名称;Obtaining, in an input box corresponding to each of the use case execution numbers, an action selection instruction input by a user, where the action selection instruction includes an action ID and/or an action name;
    基于所述动作ID和/或动作名称,以使所述用例执行编号与所述基础动作关联。Based on the action ID and/or the action name, the use case execution number is associated with the base action.
  4. 根据权利要求2所述的自动化测试管理方法,其特征在于,所述将每一所述用例执行编号与一基础动作关联,包括:The automated test management method according to claim 2, wherein the associating each of the use case execution numbers with a basic action comprises:
    在所述用例编辑管理平台的配置界面上显示基础动作列表,所述基础动作列表包括至少一个基础动作;Displaying a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action;
    采用拖拽方式将一所述基础动作拖拽到与一所述用例执行编号对应的输入框中,以使所述用例执行编号与所述基础动作关联。Dragging a base action to an input box corresponding to a use case execution number in a drag and drop manner to associate the use case execution number with the base action.
  5. 根据权利要求1所述的自动化测试管理方法,其特征在于,在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台,之后还包括:对所述原始测试用例进行审核权限配置;The automated test management method according to claim 1, wherein the original test case is created in the use case editing management platform, and the original test case is sent to the use case review platform, and further comprising: the original test case Perform audit permission configuration;
    所述对所述原始测试用例进行审核权限配置,包括:Performing audit authority configuration on the original test case, including:
    在用例编辑管理平台中获取用户输入的审核权限配置请求,所述审核权限配置请求包括审核人员ID;Obtaining an audit authority configuration request input by the user in the use case editing management platform, where the audit authority configuration request includes an auditor ID;
    基于所述审核权限配置请求,将所述原始测试用例发送给所述用例审核平台,以使所述审核人员ID对应的审核界面显示所述原始测试用例;Sending, according to the auditing authority configuration request, the original test case to the use case auditing platform, so that the auditing interface corresponding to the auditor ID displays the original test case;
    所述在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,包括:The acquiring the target test case based on the original test case in the use case review platform, including:
    在所述审核人员ID对应的审核界面上获取审核指令,审核指令包括审核标识;Obtaining an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier;
    若所述审核标识为审核通过标识,则将所述原始测试用例作为所述目标测试用例。If the audit identifier is an audit pass identifier, the original test case is used as the target test case.
  6. 根据权利要求2所述的自动化测试管理方法,其特征在于,所述目标测试用例包括至少两个所述用例执行编号和对应的基础动作;The automated test management method according to claim 2, wherein the target test case comprises at least two of the use case execution numbers and corresponding basic actions;
    所述在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,包括:And obtaining the target test script based on the target test case in the use case editing management platform, including:
    在所述用例编辑管理平台中基于所述目标测试用例,依序调用与至少两个所述用例执行编号对应的动作执行代码,形成原始测试脚本;In the use case editing management platform, based on the target test case, sequentially calling an action execution code corresponding to at least two of the use case execution numbers to form an original test script;
    获取用户输入的脚本修改指令,所述脚本修改指令包括动作ID和调节参数;Obtaining a script modification instruction input by a user, where the script modification instruction includes an action ID and an adjustment parameter;
    基于所述调节参数,修改所述原始测试脚本中与所述动作ID对应的动作执行代码,以形成目标测试脚本。And modifying, according to the adjustment parameter, an action execution code corresponding to the action ID in the original test script to form a target test script.
  7. 根据权利要求2所述的自动化测试管理方法,其特征在于,所述基础动作包括动作名称;The automated test management method according to claim 2, wherein the basic action includes an action name;
    所述在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台的步骤之前,所述自动化测试管理方法还包括:Before the step of creating the original test case in the use case editing management platform and sending the original test case to the use case review platform, the automated test management method further includes:
    在所述用例编辑管理平台获取至少两个动作编辑请求,所述动作编辑请求包括所述基础动作对应的动作名称;Acquiring at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action;
    采用聚类算法对至少两个所述动作名称进行聚类处理,以使所述用例编辑管理平台对所述基础动作进行分类管理,形成基础动作列表。The clustering algorithm is used to perform clustering processing on at least two of the action names, so that the use case editing management platform classifies and manages the basic actions to form a basic action list.
  8. 一种自动化测试管理装置,其特征在于,包括:An automated test management device, comprising:
    原始测试用例获取模块,用于在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;The original test case obtaining module is configured to create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
    目标测试用例获取模块,用于在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;a target test case obtaining module, configured to acquire a target test case based on the original test case in the use case review platform, and send the target test case to a use case editing management platform;
    目标测试脚本获取模块,用于在所述用例编辑管理平台中基于所述目标测试用例,获 取目标测试脚本,并将所述目标测试平台发送给用例测试管理平台;a target test script obtaining module, configured to obtain a target test script based on the target test case in the use case editing management platform, and send the target test platform to the use case test management platform;
    测试结果获取模块,用于在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;a test result obtaining module, configured to perform testing based on the target test script in the use case test management platform, and obtain test results;
    其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operable on the processor, wherein the processor executes the computer readable instructions as follows step:
    在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;Create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
    在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;Obtaining a target test case based on the original test case in the use case review platform, and sending the target test case to the use case editing management platform;
    在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目标测试脚本发送给用例测试管理平台;Obtaining a target test script based on the target test case in the use case editing management platform, and sending the target test script to the use case test management platform;
    在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;Testing in the use case test management platform based on the target test script to obtain test results;
    其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  10. 如权利要求9所述的终端设备,其特征在于,所述在用例编辑管理平台中创建原始测试用例,包括:The terminal device according to claim 9, wherein the creating the original test case in the use case editing management platform comprises:
    在所述用例编辑管理平台的配置界面上依序显示至少两个用例执行编号;Displaying at least two use case execution numbers sequentially on the configuration interface of the use case editing management platform;
    将每一所述用例执行编号与一基础动作关联,形成所述原始测试用例。Each of the use case execution numbers is associated with a base action to form the original test case.
  11. 如权利要求10所述的终端设备,其特征在于,所述将每一所述用例执行编号与一基础动作关联,包括:The terminal device according to claim 10, wherein the associating each of the use case execution numbers with a basic action comprises:
    在所述用例编辑管理平台的配置界面上显示基础动作列表,所述基础动作列表包括至少一个基础动作;Displaying a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action;
    采用拖拽方式将一所述基础动作拖拽到与一所述用例执行编号对应的输入框中,以使所述用例执行编号与所述基础动作关联。Dragging a base action to an input box corresponding to a use case execution number in a drag and drop manner to associate the use case execution number with the base action.
  12. 如权利要求9所述的终端设备,其特征在于,所述在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:对所述原始测试用例进行审核权限配置;The terminal device according to claim 9, wherein after the step of creating an original test case in the use case editing management platform and transmitting the original test case to the use case review platform, the processor executes the The computer readable instructions further implement the following steps: performing audit authority configuration on the original test case;
    所述对所述原始测试用例进行审核权限配置,包括:Performing audit authority configuration on the original test case, including:
    在用例编辑管理平台中获取用户输入的审核权限配置请求,所述审核权限配置请求包括审核人员ID;Obtaining an audit authority configuration request input by the user in the use case editing management platform, where the audit authority configuration request includes an auditor ID;
    基于所述审核权限配置请求,将所述原始测试用例发送给所述用例审核平台,以使所述审核人员ID对应的审核界面显示所述原始测试用例;Sending, according to the auditing authority configuration request, the original test case to the use case auditing platform, so that the auditing interface corresponding to the auditor ID displays the original test case;
    所述在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,包括:The acquiring the target test case based on the original test case in the use case review platform, including:
    在所述审核人员ID对应的审核界面上获取审核指令,审核指令包括审核标识;Obtaining an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier;
    若所述审核标识为审核通过标识,则将所述原始测试用例作为所述目标测试用例。If the audit identifier is an audit pass identifier, the original test case is used as the target test case.
  13. 如权利要求10所述的终端设备,其特征在于,所述目标测试用例包括至少两个所述用例执行编号和对应的基础动作;The terminal device according to claim 10, wherein said target test case comprises at least two said use case execution numbers and corresponding basic actions;
    所述在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,包括:And obtaining the target test script based on the target test case in the use case editing management platform, including:
    在所述用例编辑管理平台中基于所述目标测试用例,依序调用与至少两个所述用例执行编号对应的动作执行代码,形成原始测试脚本;In the use case editing management platform, based on the target test case, sequentially calling an action execution code corresponding to at least two of the use case execution numbers to form an original test script;
    获取用户输入的脚本修改指令,所述脚本修改指令包括动作ID和调节参数;Obtaining a script modification instruction input by a user, where the script modification instruction includes an action ID and an adjustment parameter;
    基于所述调节参数,修改所述原始测试脚本中与所述动作ID对应的动作执行代码,以形成目标测试脚本。And modifying, according to the adjustment parameter, an action execution code corresponding to the action ID in the original test script to form a target test script.
  14. 如权利要求10所述的终端设备,其特征在于,所述基础动作包括动作名称;The terminal device according to claim 10, wherein the basic action includes an action name;
    所述在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台的步骤之前,所述处理器执行所述计算机可读指令时还实现如下步骤:Before the step of creating the original test case in the use case editing management platform and transmitting the original test case to the use case review platform, the processor further implements the following steps when executing the computer readable instruction:
    在所述用例编辑管理平台获取至少两个动作编辑请求,所述动作编辑请求包括所述基础动作对应的动作名称;Acquiring at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action;
    采用聚类算法对至少两个所述动作名称进行聚类处理,以使所述用例编辑管理平台对所述基础动作进行分类管理,形成基础动作列表。The clustering algorithm is used to perform clustering processing on at least two of the action names, so that the use case editing management platform classifies and manages the basic actions to form a basic action list.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the following steps:
    在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台;Create an original test case in the use case editing management platform, and send the original test case to the use case review platform;
    在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,并将所述目标测试用例发送给用例编辑管理平台;Obtaining a target test case based on the original test case in the use case review platform, and sending the target test case to the use case editing management platform;
    在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,并将所述目 标测试脚本发送给用例测试管理平台;Obtaining a target test script based on the target test case in the use case editing management platform, and sending the target test script to the use case test management platform;
    在所述用例测试管理平台中基于所述目标测试脚本进行测试,获取测试结果;Testing in the use case test management platform based on the target test script to obtain test results;
    其中,所述用例编辑管理平台、所述用例审核平台和所述用例测试管理平台通过B/S架构相连。The use case editing management platform, the use case review platform, and the use case test management platform are connected by a B/S architecture.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述在用例编辑管理平台中创建原始测试用例,包括:The computer readable storage medium of claim 15, wherein the creating the original test case in the use case editing management platform comprises:
    在所述用例编辑管理平台的配置界面上依序显示至少两个用例执行编号;Displaying at least two use case execution numbers sequentially on the configuration interface of the use case editing management platform;
    将每一所述用例执行编号与一基础动作关联,形成所述原始测试用例。Each of the use case execution numbers is associated with a base action to form the original test case.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述将每一所述用例执行编号与一基础动作关联,包括:The computer readable storage medium of claim 16, wherein the associating each of the use case execution numbers with a base action comprises:
    在所述用例编辑管理平台的配置界面上显示基础动作列表,所述基础动作列表包括至少一个基础动作;Displaying a basic action list on the configuration interface of the use case editing management platform, where the basic action list includes at least one basic action;
    采用拖拽方式将一所述基础动作拖拽到与一所述用例执行编号对应的输入框中,以使所述用例执行编号与所述基础动作关联。Dragging a base action to an input box corresponding to a use case execution number in a drag and drop manner to associate the use case execution number with the base action.
  18. 如权利要求15所述的计算机可读存储介质,其特征在于,所述在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台的步骤之后,所述计算机可读指令被处理器执行时还实现如下步骤:对所述原始测试用例进行审核权限配置;The computer readable storage medium of claim 15, wherein after the step of creating an original test case in the use case editing management platform and transmitting the original test case to the use case review platform, the computer can When the read instruction is executed by the processor, the following steps are further implemented: configuring the audit permission for the original test case;
    所述对所述原始测试用例进行审核权限配置,包括:Performing audit authority configuration on the original test case, including:
    在用例编辑管理平台中获取用户输入的审核权限配置请求,所述审核权限配置请求包括审核人员ID;Obtaining an audit authority configuration request input by the user in the use case editing management platform, where the audit authority configuration request includes an auditor ID;
    基于所述审核权限配置请求,将所述原始测试用例发送给所述用例审核平台,以使所述审核人员ID对应的审核界面显示所述原始测试用例;Sending, according to the auditing authority configuration request, the original test case to the use case auditing platform, so that the auditing interface corresponding to the auditor ID displays the original test case;
    所述在所述用例审核平台中基于所述原始测试用例,获取目标测试用例,包括:The acquiring the target test case based on the original test case in the use case review platform, including:
    在所述审核人员ID对应的审核界面上获取审核指令,审核指令包括审核标识;Obtaining an audit instruction on the audit interface corresponding to the auditor ID, and the audit instruction includes an audit identifier;
    若所述审核标识为审核通过标识,则将所述原始测试用例作为所述目标测试用例。If the audit identifier is an audit pass identifier, the original test case is used as the target test case.
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述目标测试用例包括至少两个所述用例执行编号和对应的基础动作;The computer readable storage medium of claim 16 wherein said target test case comprises at least two of said use case execution numbers and corresponding base actions;
    所述在所述用例编辑管理平台中基于所述目标测试用例,获取目标测试脚本,包括:And obtaining the target test script based on the target test case in the use case editing management platform, including:
    在所述用例编辑管理平台中基于所述目标测试用例,依序调用与至少两个所述用例执行编号对应的动作执行代码,形成原始测试脚本;In the use case editing management platform, based on the target test case, sequentially calling an action execution code corresponding to at least two of the use case execution numbers to form an original test script;
    获取用户输入的脚本修改指令,所述脚本修改指令包括动作ID和调节参数;Obtaining a script modification instruction input by a user, where the script modification instruction includes an action ID and an adjustment parameter;
    基于所述调节参数,修改所述原始测试脚本中与所述动作ID对应的动作执行代码,以形成目标测试脚本。And modifying, according to the adjustment parameter, an action execution code corresponding to the action ID in the original test script to form a target test script.
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,所述基础动作包括动作名称;The computer readable storage medium of claim 16 wherein the base action comprises an action name;
    所述在用例编辑管理平台中创建原始测试用例,并将所述原始测试用例发送给用例审核平台之前,所述处理器执行所述计算机可读指令时还实现如下步骤:Before the original test case is created in the use case editing management platform, and the original test case is sent to the use case review platform, the processor further implements the following steps when executing the computer readable instruction:
    在所述用例编辑管理平台获取至少两个动作编辑请求,所述动作编辑请求包括所述基础动作对应的动作名称;Acquiring at least two action editing requests in the use case editing management platform, where the action editing request includes an action name corresponding to the basic action;
    采用聚类算法对至少两个所述动作名称进行聚类处理,以使所述用例编辑管理平台对所述基础动作进行分类管理,形成基础动作列表。The clustering algorithm is used to perform clustering processing on at least two of the action names, so that the use case editing management platform classifies and manages the basic actions to form a basic action list.
PCT/CN2018/073376 2017-11-27 2018-01-19 Automated test management method and apparatus, terminal device, and storage medium WO2019100576A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711204956.3 2017-11-27
CN201711204956.3A CN107908566A (en) 2017-11-27 2017-11-27 Automatic test management method, device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
WO2019100576A1 true WO2019100576A1 (en) 2019-05-31

Family

ID=61847777

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/073376 WO2019100576A1 (en) 2017-11-27 2018-01-19 Automated test management method and apparatus, terminal device, and storage medium

Country Status (2)

Country Link
CN (1) CN107908566A (en)
WO (1) WO2019100576A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628748B (en) * 2018-05-09 2023-11-03 新疆北斗同创信息科技有限公司 Automatic test management method and automatic test management system
CN108681426B (en) * 2018-05-25 2020-08-11 第四范式(北京)技术有限公司 Method and system for performing feature processing on data
CN109062817B (en) * 2018-10-15 2022-06-03 网宿科技股份有限公司 Automatic testing method and system
CN109446047B (en) * 2018-10-30 2022-03-25 武汉斗鱼网络科技有限公司 Performance test platform script storage method, device, equipment and storage medium
CN109766260A (en) * 2018-12-11 2019-05-17 平安科技(深圳)有限公司 Configure method, apparatus, electronic equipment and the storage medium of test action
CN111382055B (en) * 2018-12-29 2023-09-15 贝壳技术有限公司 Automatic unit testing method and device based on unified description language
CN110659870A (en) * 2019-08-14 2020-01-07 平安普惠企业管理有限公司 Business audit test method, device, equipment and storage medium
CN110704305A (en) * 2019-09-07 2020-01-17 创新奇智(合肥)科技有限公司 Text-based automatic test case design method and system
CN111767205A (en) * 2020-04-03 2020-10-13 中国电力科学研究院有限公司 Online detection method and system supporting task splitting
CN111881038B (en) * 2020-07-23 2022-11-15 云账户技术(天津)有限公司 Test case management method and device and electronic equipment
CN112035346B (en) * 2020-08-25 2023-09-12 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Automatic test method, system and medium based on embedded DSP operating system
CN112148593B (en) * 2020-09-01 2024-04-19 杭州大搜车汽车服务有限公司 Test case management method, device and equipment
CN112069073A (en) * 2020-09-07 2020-12-11 深圳创维-Rgb电子有限公司 Test case management method, terminal and storage medium
CN112306873B (en) * 2020-10-30 2024-02-09 云账户技术(天津)有限公司 Method and device for managing online flow and electronic equipment
CN116204446B (en) * 2023-05-06 2023-08-18 云账户技术(天津)有限公司 Automatic test flow management method and device based on JIRA platform
CN117093503B (en) * 2023-10-17 2024-02-06 杭银消费金融股份有限公司 Client test management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192194A (en) * 2007-01-19 2008-06-04 中兴通讯股份有限公司 Test case design method based on test case database
CN106776343A (en) * 2017-01-13 2017-05-31 中国科学院软件研究所 A kind of web application automated test tool and method
CN107203473A (en) * 2017-05-26 2017-09-26 四川长虹电器股份有限公司 The automatization test system and method for automatic expansion interface test case

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902439B (en) * 2012-12-25 2016-08-24 北大方正集团有限公司 The management method of a kind of test case, Apparatus and system
CN103631590B (en) * 2013-11-29 2017-04-05 广东明创软件科技有限公司 The edit methods of automatic test script
WO2015088316A1 (en) * 2013-12-09 2015-06-18 Mimos Berhad Functional test automation framework using user defined ontology
CN104965781A (en) * 2015-06-04 2015-10-07 浪潮电子信息产业股份有限公司 Method and apparatus for generating test case
CN105302723B (en) * 2015-11-06 2020-07-31 北京京东尚科信息技术有限公司 Test case evaluation method and device and computer readable storage medium
CN106649090A (en) * 2016-10-10 2017-05-10 上海瀚之友信息技术服务有限公司 Automated test system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192194A (en) * 2007-01-19 2008-06-04 中兴通讯股份有限公司 Test case design method based on test case database
CN106776343A (en) * 2017-01-13 2017-05-31 中国科学院软件研究所 A kind of web application automated test tool and method
CN107203473A (en) * 2017-05-26 2017-09-26 四川长虹电器股份有限公司 The automatization test system and method for automatic expansion interface test case

Also Published As

Publication number Publication date
CN107908566A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
WO2019100576A1 (en) Automated test management method and apparatus, terminal device, and storage medium
WO2019100577A1 (en) Automated test management method and apparatus, terminal device, and storage medium
US10318412B1 (en) Systems, methods, and apparatus for dynamic software generation and testing
CN108415832B (en) Interface automation test method, device, equipment and storage medium
US10289409B2 (en) Systems, methods, and apparatus for migrating code to a target environment
CN108628748B (en) Automatic test management method and automatic test management system
US20180285247A1 (en) Systems, methods, and apparatus for automated code testing
US20100180260A1 (en) Method and system for performing an automated quality assurance testing
WO2019100635A1 (en) Editing method and apparatus for automated test script, terminal device and storage medium
US9201774B1 (en) Generating test scenario templates from testing data of different organizations utilizing similar ERP modules
US10437717B2 (en) Defect reporting in application testing
CN108509344B (en) Daily cutting batch test method, equipment and readable storage medium
US11720825B2 (en) Framework for multi-tenant data science experiments at-scale
US9239777B1 (en) Generating test scenario templates from clusters of test steps utilized by different organizations
US9201773B1 (en) Generating test scenario templates based on similarity of setup files
CN113076104A (en) Page generation method, device, equipment and storage medium
WO2019214014A1 (en) Online product management method and apparatus, terminal device, and storage medium
CN111367530A (en) Code auditing method, terminal and server based on self-defined auditing rule
CN116541372A (en) Data asset management method and system
CN113742227B (en) Control method, device, equipment and medium for software testing process
US9201772B1 (en) Sharing test scenarios among organizations while protecting proprietary data
WO2017167015A1 (en) Method and device for server device security management and computer storage medium
CN111367982A (en) Method and device for importing TRIRIGA basic data, computer equipment and storage medium
CN112015715A (en) Industrial Internet data management service testing method and system
US9170925B1 (en) Generating test scenario templates from subsets of test steps utilized by different organizations

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18880716

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18880716

Country of ref document: EP

Kind code of ref document: A1