CN114116453B - Method, device, equipment and readable medium for testing case association configuration information - Google Patents

Method, device, equipment and readable medium for testing case association configuration information Download PDF

Info

Publication number
CN114116453B
CN114116453B CN202111279038.3A CN202111279038A CN114116453B CN 114116453 B CN114116453 B CN 114116453B CN 202111279038 A CN202111279038 A CN 202111279038A CN 114116453 B CN114116453 B CN 114116453B
Authority
CN
China
Prior art keywords
case
configuration
field
information
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111279038.3A
Other languages
Chinese (zh)
Other versions
CN114116453A (en
Inventor
秦秀凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111279038.3A priority Critical patent/CN114116453B/en
Publication of CN114116453A publication Critical patent/CN114116453A/en
Application granted granted Critical
Publication of CN114116453B publication Critical patent/CN114116453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method, a device, computer equipment and a medium for testing case association configuration information, wherein the method comprises the following steps: configuring the test case entry field and setting configuration parameters; executing the test case and judging whether the test case is a single case or a plurality of cases; responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated. The method realizes the configuration of the associated use case field of the use case, and can configure the drop-down parameters when the field type is a drop-down frame; when the use case is executed, information needing to be configured is associated, the information needing to be input is uploaded, selected or input, and the information is not input into the non-executable use case test as a necessary condition; and summarizing the associated configuration information and removing the repeated information when the batch use case selection is realized.

Description

Method, device, equipment and readable medium for testing case association configuration information
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a readable medium for testing case association configuration information.
Background
The current server test is to prompt test configuration in the test process according to the conditions required by the test preparation before the test, and to perform the test configuration of the use case according to the prompt. The test attention configuration of each use case can prompt that repeated work is needed for the scenes of a plurality of use cases, the test configuration among the use cases is not associated, and the configuration is repeated and redundant.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, apparatus, device, and readable medium for testing case association configuration information, to implement configuration of case association field of a case, and to implement configuration of a drop-down parameter in the case that a field type is a drop-down frame; when the use case is executed, information needing to be configured is associated, the information needing to be input is uploaded, selected or input, and the information is not input into the non-executable use case test as a necessary condition; and when the batch use case selection is realized, the related configuration information is summarized and repeated information is removed, and the same configuration is reserved for one piece, so that the method is simple and convenient to operate.
Based on the above objects, an aspect of the embodiments of the present invention provides a method for associating configuration information with a test case, including the following steps: configuring the test case entry field and setting configuration parameters; executing the test case and judging whether the test case is a single case or a plurality of cases; responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated.
In some embodiments, the method further comprises: the case field is configured to be set to a common field for direct reference when needed by the test case.
In some implementations, configuring and setting the test case entry field includes: setting configuration information to be associated in a test case association case field mode; and setting parameters of the configured fields after the configuration is completed so as to directly refer to the configured fields when other use cases need.
In some implementations, the drop-down box parameter is set if the field type is drop-down box.
In some implementations, the configuration information includes field types, format rules, chinese field names, english field names, and default values.
In some embodiments, in response to the test case being a single case, performing case page association field configuration, popup window prompting, checking whether entry includes: when executing the use case, judging whether the fields are associated or not; if the fields are associated, the pop-up window prompts to input the content set by the previous field, and the input information is saved after the completion of inputting, so that the use case is reused in the subsequent test; if the field is not associated, the field configuration is continuously recorded, the configuration parameters are set and stored for standby.
In some embodiments, in response to the test case being a plurality of cases, performing configuration of the page association field of the plurality of cases, the pop-up window information being configuration information after eliminating the duplicate information includes: and combining the fields associated with the multiple use cases, removing the repeated fields, displaying the combined fields in a popup prompt window, and prompting information required to be recorded in the fields associated with the use cases so as to avoid repeated information recording.
In another aspect of the embodiment of the present invention, there is also provided a device for associating configuration information with a test case, including: the first module is configured for configuring the test case entry field and setting configuration parameters; the second module is configured to execute the test case and judge whether the test case is a single case or a plurality of cases; the third module is configured to respond to the test case as a single case, execute case page association field configuration, pop up window prompt and check whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated.
In still another aspect of the embodiment of the present invention, there is also provided a computer apparatus, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor performing steps of a method comprising: configuring the test case entry field and setting configuration parameters; executing the test case and judging whether the test case is a single case or a plurality of cases; responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated.
In some embodiments, the method steps further comprise:
the case field is configured to be set to a common field for direct reference when needed by the test case.
In some embodiments, configuring and setting the configuration parameters for the test case entry field includes:
setting configuration information to be associated in a test case association case field mode; and
the configuration field is set with parameters after the configuration is completed so as to be directly referenced when other use cases need.
In some embodiments, the drop-down box parameter is set if the field type is drop-down box.
In some embodiments, the configuration information includes field types, format rules, chinese field names, english field names, and default values.
In some embodiments, in response to the test case being a single case, performing case page association field configuration, popup window prompting, checking whether entry includes:
when executing the use case, judging whether the fields are associated or not;
if the fields are associated, the pop-up window prompts to input the content set by the previous field, and the input information is saved after the completion of inputting, so that the use case is reused in the subsequent test;
if the field is not associated, the field configuration is continuously recorded, the configuration parameters are set and stored for standby.
In some embodiments, in response to the test case being a plurality of cases, performing configuration of the page association field of the plurality of cases, the pop-up window information being configuration information after eliminating the duplicate information includes:
and combining the fields associated with the multiple use cases, removing the repeated fields, displaying the combined fields in a popup prompt window, and prompting information required to be recorded in the fields associated with the use cases so as to avoid repeated information recording.
In yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The invention has at least the following beneficial technical effects:
the method for associating the configuration information with the test cases configures the test case entry field and sets configuration parameters; executing the test case and judging whether the test case is a single case or a plurality of cases; responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated. Therefore, the field configuration of the associated use case of the use case is realized, and the configuration of the drop-down parameters can be realized under the condition that the field type is a drop-down frame; when the use case is executed, information needing to be configured is associated, the information needing to be input is uploaded, selected or input, and the information is not input into the non-executable use case test as a necessary condition; and when the batch use case selection is realized, the related configuration information is summarized and repeated information is removed, and the same configuration is reserved for one piece, so that the method is simple and convenient to operate. For the case executor, the time is not required to read and understand the case test preparation configuration, and the configuration is directly carried out according to the popped prompt window; it is not particularly clear that this use case can also be done to do so. And meanwhile, a large number of use cases with the same type are selected for execution, a large amount of configuration time is saved, the background is used for summarizing and de-duplicating the configuration, the comparison of the use cases is not needed, the same configuration is only carried out once, the repeated redundancy work is avoided, and the information is more concise after de-duplication and more convenient to use.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an embodiment of a method for associating configuration information with a test case according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of an apparatus for associating configuration information with a test case according to the present invention;
FIG. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention;
fig. 4 is a schematic diagram of an embodiment of a computer readable storage medium provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
Based on the above object, in a first aspect of the embodiment of the present invention, an embodiment of a method for associating configuration information with a test case is provided. Fig. 1 is a schematic diagram of an embodiment of a method for associating configuration information with a test case according to the present invention. As shown in fig. 1, the method for associating configuration information with a test case according to an embodiment of the present invention includes the following steps:
001. configuring the test case entry field and setting configuration parameters;
002. executing the test case and judging whether the test case is a single case or a plurality of cases;
003. responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and
004. and in response to the test case being a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the popup window information is configuration information after the repeated information is eliminated.
In this embodiment, the test is for a test of a server, such as a large-scale BMC, BIOS, SIT test. The java language development is used for realizing the field configuration of the associated use case of the use case, and the configuration of the drop-down parameters can be realized under the condition that the field type is a drop-down frame; when the use case is executed, information needing to be configured is associated, the information needing to be input is uploaded, selected or input, and the information is not input into the non-executable use case test as a necessary condition; and when the batch use case selection is realized, the related configuration information is summarized and repeated information is removed, and the same configuration is reserved for one piece, so that the method is simple and convenient to operate. The method comprises the steps of setting field types (input box, single selection box, multi-selection box, file uploading and the like) needing to be associated in a test case field mode, for example, selecting a file uploading mode if a certain tool is needed, selecting a single selection box or an input box or a multi-selection box if a version number of a system is needed, format rules (a format of an uploading file is xxx.sh or a format of xxx_xxx_xxx.rpm, an input format is xxx, xxx or xx xx and the like), chinese field names (names used for displaying), english field names (fields used for background association), default values, setting common fields after editing, setting parameters of a drop-down frame if the field types are drop-down boxes, setting parameters of configured fields after configuration is completed, directly referencing other fields if needed, and not editing new addition again.
When the selection case is executed, if the case has the associated field, a popup window prompts to input the content set by the previous field (if the field of uploading the file is associated, the Chinese name of the file to be uploaded (the Chinese name input during association) is displayed in the popup window, then a button for selecting the file and a selected file display frame are arranged behind the Chinese name of the file to be uploaded (the Chinese name input during association), the uploading is prompted to be successful after the uploading button is clicked successfully, if the field of uploading the radio frame is associated, the Chinese name and the radio frame to be selected are displayed in the popup prompt frame, if the field of uploading the radio frame is associated, the default value is displayed in the radio frame, the value can be selected from the drop-down frame of the radio frame without using the default value), the information to be input is saved after the input is completed, and the case can be used for repeatedly testing the fields and the associated information is not required to be associated again.
The method comprises the steps of selecting a plurality of use cases according to a single use case, combining the fields related to the plurality of use cases, removing repeated fields, displaying the combined fields in a popup prompt window, prompting information required to be input by the fields related to the use cases, avoiding repeated input of information, and saving time as the conditions for testing preparation of a plurality of use cases are repeated, wherein the more the selected use cases are.
In some embodiments of the invention, the method further comprises: the case field is configured to be set to a common field for direct reference when needed by the test case.
The use case field configuration needs to be edited after the associated field type, format rule, chinese field name, english field name and default value, can be set as a public field after completion, and can be directly referred by other use cases without editing the new addition again.
In some embodiments of the present invention, configuring the test case entry field and setting the configuration parameters includes: setting configuration information to be associated in a test case association case field mode; and setting parameters of the configured fields after the configuration is completed so as to directly refer to the configured fields when other use cases need. And setting a drop-down frame parameter if the field type is a drop-down frame. The configuration information includes field type, format rule, chinese field name, english field name, and default values.
In this embodiment, each test case generally has its test preparation conditions, test configuration is performed according to the test preparation conditions, and the test of the case is performed after the configuration is completed.
In some embodiments of the present invention, in response to the test case being a single case, performing case page association field configuration, popup window prompting, verifying whether entry includes: when executing the use case, judging whether the fields are associated or not; if the fields are associated, the pop-up window prompts to input the content set by the previous field, and the input information is saved after the completion of inputting, so that the use case is reused in the subsequent test; if the field is not associated, the field configuration is continuously recorded, the configuration parameters are set and stored for standby.
In the embodiment, the configured field is popped up when the use cases are executed, the perfect input information is carried out according to the prompt, particularly when a plurality of use cases are executed, the popped prompt window information is obtained by summarizing the configuration information and then removing duplication, the same preparation conditions are input into one, the preparation data is concise and comprehensive, and the test configuration conditions are fully met.
In some embodiments of the present invention, in response to the test case being a plurality of cases, performing configuration of a plurality of case page association fields, the pop-up window information being configuration information after eliminating duplicate information includes: and combining the fields associated with the multiple use cases, removing the repeated fields, displaying the combined fields in a popup prompt window, and prompting information required to be recorded in the fields associated with the use cases so as to avoid repeated information recording.
In the embodiment, a large number of use cases with the same type are selected for execution, a large amount of configuration time is saved, the background is used for summarizing and de-duplicating the configuration, the comparison of the use cases is not needed, the same configuration is only carried out once, the repeated redundancy work is avoided, and the input information after de-duplication is simpler and more convenient to use.
The method for associating the configuration information with the test cases configures the test case entry field and sets configuration parameters; executing the test case and judging whether the test case is a single case or a plurality of cases; responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated. Therefore, the field configuration of the associated use case of the use case is realized, and the configuration of the drop-down parameters can be realized under the condition that the field type is a drop-down frame; when the use case is executed, information needing to be configured is associated, the information needing to be input is uploaded, selected or input, and the information is not input into the non-executable use case test as a necessary condition; and when the batch use case selection is realized, the related configuration information is summarized and repeated information is removed, and the same configuration is reserved for one piece, so that the method is simple and convenient to operate. For the case executor, the time is not required to read and understand the case test preparation configuration, and the configuration is directly carried out according to the popped prompt window; it is not particularly clear that this use case can also be done to do so. And meanwhile, a large number of use cases with the same type are selected for execution, a large amount of configuration time is saved, the background is used for summarizing and de-duplicating the configuration, the comparison of the use cases is not needed, the same configuration is only carried out once, the repeated redundancy work is avoided, and the information is more concise after de-duplication and more convenient to use.
It should be noted that, in the embodiments of the method for server centralized testing, the steps may be intersected, replaced, added and deleted, so that the method for server centralized testing by using these reasonable permutation and combination changes should also belong to the protection scope of the present invention, and should not limit the protection scope of the present invention to the embodiments.
Based on the above object, in a second aspect of the embodiment of the present invention, an apparatus for associating configuration information with a test case is provided. Fig. 2 is a schematic diagram of an embodiment of an apparatus for associating configuration information with a test case according to the present invention. As shown in fig. 2, the device for associating configuration information with a test case according to an embodiment of the present invention includes the following modules: a first module 011 configured to configure the test case entry field and set configuration parameters; a second module 012 configured to execute test cases, and determine whether it is a single case or a plurality of cases; and a third module 013 configured to execute the case page association field configuration, pop-up window prompt, and check whether to enter in response to the test case being a single case; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated.
In some embodiments of the present invention, the apparatus further includes a fourth module (not shown in the figure) configured to set the use case field to a common field after configuration, so as to directly refer to the use case when needed by the test case.
In some embodiments of the invention, the first module is further configured to: setting configuration information to be associated in a test case association case field mode; and setting parameters of the configured fields after the configuration is completed so as to directly refer to the configured fields when other use cases need. And setting a drop-down frame parameter if the field type is a drop-down frame. The configuration information includes field type, format rule, chinese field name, english field name, and default values.
In some embodiments of the invention, the third module is further configured to: when executing the use case, judging whether the fields are associated or not; if the fields are associated, the pop-up window prompts to input the content set by the previous field, and the input information is saved after the completion of inputting, so that the use case is reused in the subsequent test; if the field is not associated, the field configuration is continuously recorded, the configuration parameters are set and stored for standby.
In some embodiments of the invention, the third module is further configured to: and combining the fields associated with the multiple use cases, removing the repeated fields, displaying the combined fields in a popup prompt window, and prompting information required to be recorded in the fields associated with the use cases so as to avoid repeated information recording.
Firstly, carrying out field configuration on a use case, directly introducing the use case if the common field has the configuration, newly adding the field configuration including a field type, a format rule, a Chinese field name, an English field name, a default value and a test role according to test preparation conditions if the common field does not have the configuration, completing the field configuration of the use case after submitting, setting the newly added use case field as the common field configuration, and carrying out parameter setting on the configured field after newly adding the configuration. Secondly, creating a test task, selecting a test case to be tested, if the test case has field configuration and the test role is VM, popping up a file name prompt or an input content prompt or a selected prompt to be uploaded when submitting the test task, and after the prompt information is completely input, successfully submitting the task and entering the execution; if the use case has field configuration and the test role is a tester, no prompt is given when the test task is submitted, and the input information is prompted when the test task is executed. For example, a use case of BIOS version upgrade is selected, a test task is newly established, the use case of BIOS version upgrade is selected, the use case has requirements on the system version, the test task is submitted, a prompt page is popped up, two items of information need to be input on the page, one is to upload a BIOS version upgrade file, the other is to select the system version (the content to be selected is a parameter set by the field configuration), and the test task is submitted successfully after the two items of information are input.
Based on the above object, a third aspect of the embodiments of the present invention proposes a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, the computer device according to the embodiment of the present invention includes the following means: at least one processor 021; and a memory 022, the memory 022 storing computer instructions 023 executable on the processor, the instructions when executed by the processor implementing the steps of the method comprising: configuring the test case entry field and setting configuration parameters; executing the test case and judging whether the test case is a single case or a plurality of cases; responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and responding to the test case as a plurality of cases, executing the configuration of the page association fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated.
The invention also provides a computer readable storage medium. Fig. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer-readable storage medium 031 stores a computer program 032 which, when executed by a processor, performs the above method.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the embodiments described above may be implemented by a computer program to instruct related hardware, and the program of the method for server centralized testing may be stored in a computer readable storage medium, where the program may include the processes of the embodiments of the methods described above when executed. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
Furthermore, the method disclosed according to the embodiment of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. The above-described functions defined in the methods disclosed in the embodiments of the present invention are performed when the computer program is executed by a processor.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general purpose or special purpose computer or general purpose or special purpose processor. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (D0L), or wireless technology such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, D0L, or wireless technology such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (7)

1. A method for testing case-related configuration information, comprising the steps of:
configuring the test case entry field and setting configuration parameters;
executing the test case and judging whether the test case is a single case or a plurality of cases;
responding to the test case as a single case, executing case page association field configuration, popup window prompting, and checking whether to enter; and
responding to the test case as a plurality of cases, executing the configuration of the page associated fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated;
and in response to the test case being a single case, executing case page association field configuration, popup window prompting, and checking whether to enter comprises:
when executing the use case, judging whether the fields are associated or not;
if the field is associated, the popup window prompts to input the content set by the associated field, and the input information is saved after the completion of inputting, so that the use case is reused in the following test;
if the associated field is not available, continuing to input field configuration, setting configuration parameters and storing the configuration parameters for standby;
and in response to the test case being a plurality of cases, executing configuration of a plurality of case page association fields, wherein the pop-up window information is configuration information after eliminating the repeated information, and comprises:
combining the fields associated with a plurality of use cases, removing repeated fields, displaying the combined fields in a popup prompt window, and prompting information required to be recorded in the associated use case fields so as to avoid repeated information recording;
the case field is configured to be set to a common field for direct reference when needed by the test case.
2. The method of claim 1, wherein configuring and setting configuration parameters for test case entry fields comprises:
setting configuration information to be associated in a test case association case field mode; and
the configuration field is set with parameters after the configuration is completed so as to be directly referenced when other use cases need.
3. The method of claim 2, wherein the test case association configuration information,
and setting a drop-down frame parameter if the field type is a drop-down frame.
4. The method of claim 2, wherein the test case association configuration information,
the configuration information includes field type, format rule, chinese field name, english field name, and default values.
5. An apparatus for associating configuration information with a test case, comprising:
the first module is configured for configuring the test case entry field and setting configuration parameters;
the second module is configured to execute the test case and judge whether the test case is a single case or a plurality of cases; and
the third module is configured to respond to the test case as a single case, execute case page association field configuration, pop up window prompt and check whether to enter; responding to the test case as a plurality of cases, and executing the configuration of the page associated fields of the plurality of cases, wherein the pop-up window information is configuration information after the repeated information is eliminated;
the use case field is configured and set as a public field so as to be directly referenced when the test use case is needed;
the third module is further configured to:
when executing the use case, judging whether the fields are associated or not;
if the field is associated, the popup window prompts to input the content set by the associated field, and the input information is saved after the completion of inputting, so that the use case is reused in the following test;
if the associated field is not available, continuing to input field configuration, setting configuration parameters and storing the configuration parameters for standby;
and combining the fields associated with the multiple use cases, removing the repeated fields, displaying the combined fields in a popup prompt window, and prompting information required to be recorded in the fields associated with the use cases so as to avoid repeated information recording.
6. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-4.
7. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any of claims 1-4.
CN202111279038.3A 2021-10-31 2021-10-31 Method, device, equipment and readable medium for testing case association configuration information Active CN114116453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111279038.3A CN114116453B (en) 2021-10-31 2021-10-31 Method, device, equipment and readable medium for testing case association configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111279038.3A CN114116453B (en) 2021-10-31 2021-10-31 Method, device, equipment and readable medium for testing case association configuration information

Publications (2)

Publication Number Publication Date
CN114116453A CN114116453A (en) 2022-03-01
CN114116453B true CN114116453B (en) 2024-01-09

Family

ID=80379954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111279038.3A Active CN114116453B (en) 2021-10-31 2021-10-31 Method, device, equipment and readable medium for testing case association configuration information

Country Status (1)

Country Link
CN (1) CN114116453B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
US8549483B1 (en) * 2009-01-22 2013-10-01 Intuit Inc. Engine for scalable software testing
CN111078564A (en) * 2019-12-18 2020-04-28 广州品唯软件有限公司 UI test case management method and device, computer equipment and computer readable storage medium
CN111813685A (en) * 2020-07-17 2020-10-23 京东数字科技控股股份有限公司 Automatic testing method and device
CN112463645A (en) * 2021-01-15 2021-03-09 苏州浪潮智能科技有限公司 Test case scheduling method, device, terminal and storage medium
CN112559313A (en) * 2019-09-26 2021-03-26 北京国双科技有限公司 Test case setting method and device, storage medium and electronic equipment
CN113220578A (en) * 2021-05-17 2021-08-06 上海中通吉网络技术有限公司 Method for generating function test case

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8649995B2 (en) * 2011-04-07 2014-02-11 Infosys Technologies, Ltd. System and method for efficient test case generation using input dependency information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
US8549483B1 (en) * 2009-01-22 2013-10-01 Intuit Inc. Engine for scalable software testing
CN112559313A (en) * 2019-09-26 2021-03-26 北京国双科技有限公司 Test case setting method and device, storage medium and electronic equipment
CN111078564A (en) * 2019-12-18 2020-04-28 广州品唯软件有限公司 UI test case management method and device, computer equipment and computer readable storage medium
CN111813685A (en) * 2020-07-17 2020-10-23 京东数字科技控股股份有限公司 Automatic testing method and device
CN112463645A (en) * 2021-01-15 2021-03-09 苏州浪潮智能科技有限公司 Test case scheduling method, device, terminal and storage medium
CN113220578A (en) * 2021-05-17 2021-08-06 上海中通吉网络技术有限公司 Method for generating function test case

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘逻 ; 郭立红 ; 陈媛 ; 王俊杰 ; .基于通信协议的接口测试用例自动生成框架.测控技术.2020,全文. *
杨娜 ; .跨平台系统中测试用例复用技术研究.电子设计工程.2016,全文. *

Also Published As

Publication number Publication date
CN114116453A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US7559001B2 (en) Method and apparatus for executing commands and generation of automation scripts and test cases
US20100325492A1 (en) Identification Of Elements Of Currently-Executing Component Script
EP3220272A1 (en) A method and system for performing regression integration testing
US20170228220A1 (en) Self-healing automated script-testing tool
CN108459951B (en) Test method and device
CN105260274A (en) Linux-based hard disk random hot plug stability detection method
WO2020258674A1 (en) Script file verification method and apparatus, server and storage medium
CN114003451B (en) Interface testing method, device, system and medium
CN114116453B (en) Method, device, equipment and readable medium for testing case association configuration information
US8195982B2 (en) Systems and methods for managing testing functionalities
WO2016165461A1 (en) Automated testing method and apparatus for network management system software of telecommunications network
CN108804257A (en) SOT state of termination detection method, device, terminal and storage medium
CN116483707A (en) Test method, test device, test apparatus, test program, and test program
CN114385243B (en) Method and device for automatically issuing instructions for controlling layout engine
CN116402325A (en) Automatic business process processing method and device
CN113918150A (en) Method for automatically configuring interface front-end code
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN113377368A (en) Project development method, device, server and storage medium
CN113239119A (en) Data synchronization method, device and storage medium
CN112862399A (en) Method, device and equipment for changing material list table and storage medium
CN111782641A (en) Data error repairing method and system
CN112463320A (en) Execution method, device and equipment for managing software task and readable medium
CN111782670A (en) Method and device for automatically processing data resource operation
CN110795338A (en) Automatic testing method and device based on front-end and back-end interaction and electronic equipment
CN105407112B (en) Equipment capability learning method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant