CN114116453A - Method, device and equipment for testing case associated configuration information and readable medium - Google Patents

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

Info

Publication number
CN114116453A
CN114116453A CN202111279038.3A CN202111279038A CN114116453A CN 114116453 A CN114116453 A CN 114116453A CN 202111279038 A CN202111279038 A CN 202111279038A CN 114116453 A CN114116453 A CN 114116453A
Authority
CN
China
Prior art keywords
case
configuration
information
field
cases
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.)
Granted
Application number
CN202111279038.3A
Other languages
Chinese (zh)
Other versions
CN114116453B (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

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
    • 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

Landscapes

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

Abstract

The invention discloses a method, a device, computer equipment and a medium for testing case associated configuration information, wherein the method comprises the following steps: configuring the test case input 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated. The method realizes the configuration of the associated case field of the case and the configuration of the pull-down parameters under the condition that the field type is the pull-down frame; when the case is executed, the information needing to be configured is associated, and the information to be input is uploaded or selected or input to serve as a necessary condition, and the information is not input into the unexecutable case for testing; and summarizing the associated configuration information when batch use case selection is realized, and removing repeated information.

Description

Method, device and equipment for testing case associated configuration information and readable medium
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 associated configuration information.
Background
In the current server test, required conditions are configured according to test preparation before the test, the test configuration is prompted in the test process, and the test configuration of the case is carried out according to the prompt. Active association cannot be achieved, test attention configuration of each case can prompt, repeated work needs to be done in the situations of multiple cases, test configuration among cases is not associated, and 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, an apparatus, a device, and a readable medium for testing case association configuration information, so as to implement configuration of case fields associated with a case, and implement configuration of pull-down parameters when a field type is a pull-down box; when the case is executed, the information needing to be configured is associated, and the information to be input is uploaded or selected or input to serve as a necessary condition, and the information is not input into the unexecutable case for testing; when batch use case selection is realized, the associated configuration information is summarized and then repeated information is removed, and one piece of configuration is reserved for the same configuration, so that the method is concise and convenient to operate.
Based on the above object, an aspect of the embodiments of the present invention provides a method for testing case association configuration information, including the following steps: configuring the test case input 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated.
In some embodiments, the method further comprises: the use case field is configured and set as a common field to be directly referenced when needed by the test case.
In some embodiments, configuring the test case entry field and setting the configuration parameters comprises: setting configuration information needing to be associated in a test case association case field mode; and after the configuration is finished, parameter setting is carried out on the configured fields so as to directly refer to the fields when other use cases need to be used.
In some embodiments, the drop-down box parameter is set if the field type is a drop-down box.
In some embodiments, the configuration information includes field type, formatting rules, chinese field name, english field name, and default values.
In some embodiments, in response to the test case being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to enter includes: when executing the use case, firstly judging whether the fields are related; if the associated field is found, popping up a window to prompt the input of the content set by the front field, and storing the input information after the input information is finished, so that the use case can be repeatedly used in the following test; and if no associated field exists, continuously inputting field configuration, setting configuration parameters and storing for later use.
In some embodiments, in response to that the test case is a plurality of cases, executing configuration of a page-associated field of the plurality of cases, where the popup window information is configuration information after eliminating duplicate information, including: combining the fields associated with the multiple use cases, removing repeated fields, and displaying the fields in a pop-up prompt window to prompt information to be input in the fields associated with the use cases so as to avoid repeated information input.
In another aspect of the embodiments of the present invention, a device for testing case associated configuration information is further provided, including: the first module is configured and used 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 being a single case, execute case page associated field configuration, pop up window prompt and check whether to enter; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing steps of the method comprising: configuring the test case input 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated.
In some embodiments, the method steps further comprise:
the use case field is configured and set as a common field to be directly referenced when needed by the test case.
In some embodiments, configuring the test case entry field and setting the configuration parameters comprises:
setting configuration information needing to be associated in a test case association case field mode; and
after the configuration is completed, parameters are set for the configured fields to be directly referred to when other use cases need to be used.
In some embodiments, the drop-down box parameter is set if the field type is a drop-down box.
In some embodiments, the configuration information includes field type, formatting rules, Chinese field name, English field name, and default values.
In some embodiments, in response to the test case being a single use case, executing use case page associated field configuration, and popping up a window prompt to check whether entry includes:
when executing the use case, firstly judging whether the fields are related;
if the associated field is found, popping up a window to prompt the input of the content set by the front field, and storing the input information after the input information is finished, so that the use case can be repeatedly used in the following test;
and if no associated field exists, continuously inputting field configuration, setting configuration parameters and storing for later use.
In some embodiments, in response to that the test case is a plurality of cases, executing configuration of a page-associated field of the plurality of cases, where the popup window information is configuration information after eliminating duplicate information, including:
combining the fields associated with the multiple use cases, removing repeated fields, and displaying the fields in a pop-up prompt window to prompt information to be input in the fields associated with the use cases so as to avoid repeated information input.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has at least the following beneficial technical effects:
the method for associating the configuration information with the test case configures the input field of the test case 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated. Therefore, the configuration of the associated use case field of the use case is realized, and the configuration of the pull-down parameters can be realized under the condition that the field type is a pull-down frame; when the case is executed, the information needing to be configured is associated, and the information to be input is uploaded or selected or input to serve as a necessary condition, and the information is not input into the unexecutable case for testing; when batch use case selection is realized, the associated configuration information is summarized and then repeated information is removed, and one piece of configuration is reserved for the same configuration, so that the method is concise and convenient to operate. For a case executor, the case executor does not need to spend time reading and understanding case test preparation configuration and directly performs configuration according to a popped prompt window; it is not particularly clear that the use case may also be done to perform this. Meanwhile, a large number of cases of the same type are selected for execution, a large amount of configuration time is saved, configuration is summarized and duplicate removal is carried out in the background, cases are not needed to be compared, the same configuration is carried out only once, repeated redundant work is avoided, information is input more simply after duplicate removal, and the use is more convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a method for associating configuration information with test cases according to the present invention;
FIG. 2 is a diagram illustrating an embodiment of an apparatus for testing case associated configuration information 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 are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for testing case associated configuration information. Fig. 1 is a schematic diagram illustrating an embodiment of a method for associating configuration information with test cases according to the present invention. As shown in fig. 1, the method for test case association configuration information according to the embodiment of the present invention includes the following steps:
001. configuring the test case input 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and
004. and responding to the test cases 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 the configuration information after the repeated information is eliminated.
In this embodiment, the test is for server testing, such as large-scale BMC, BIOS, SIT testing. Through the development of java language, the configuration of the associated use case field of the use case is realized, and the configuration of the pull-down parameters can be realized under the condition that the field type is a pull-down frame; when the case is executed, the information needing to be configured is associated, and the information to be input is uploaded or selected or input to serve as a necessary condition, and the information is not input into the unexecutable case for testing; when batch use case selection is realized, the associated configuration information is summarized and then repeated information is removed, and one piece of configuration is reserved for the same configuration, so that the method is concise and convenient to operate. Setting the type of fields (input box, radio box, multi-selection box, file uploading and the like) to be associated through the way of the test case associated case field, for example, if a certain tool is needed, the file uploading way is selected, if the version number of the system is needed, the radio box, the input box or the multi-selection box can be selected, the format rule (if the uploaded file is in a xxx.sh format or xxx _ xxx _ xxx.rpm format, the input format is xxx; xxx or xx xx xx xx, and the like), the name of Chinese character field (the name for display), the name of English field (the field for background association), and the default value, the field can be set as a public field after being edited, if the field type is a drop-down box, parameters of the drop-down box are set, the configured field is subjected to parameter setting after configuration is completed, other use cases can be directly quoted if needed, and new use cases do not need to be edited again.
When the use case is selected to be executed, if the use case has associated fields, a popup window prompts to enter the content set by the previous fields (if the fields are associated with file uploading fields in the front, a Chinese name of a 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 file display frame after selection are arranged behind the Chinese name, and the uploading button is clicked to prompt that the uploading is successful, if the fields are associated with the fields uploaded by the radio frame in the front, the Chinese name and the radio frame to be selected are displayed in the popped prompt frame, if a default value is available, the default value is displayed in the radio frame, and the value can be selected from the radio frame drop frame without using the default value), the information to be input is stored after the input is finished, and the use case can be used for repeated testing without associating the fields again and inputting the associated information.
The above is that for a single use case, after selecting a plurality of use cases, combining fields associated with the plurality of use cases, removing repeated fields, and displaying the fields in a pop-up prompt window to prompt information to be input in fields associated with the use cases, so that the input information with repeatability is avoided.
In some embodiments of the invention, the method further comprises: the use case field is configured and set as a common field to be directly referenced when needed by the test case.
The field type, the format rule, the Chinese field name, the English field name and the default value which need to be associated are configured in the case field and then edited, the case field can be set as a public field after being completed, other cases can be directly quoted if needed, and new cases do not need to be edited and added again.
In some embodiments of the present invention, configuring the test case entry field and setting the configuration parameters comprises: setting configuration information needing to be associated in a test case association case field mode; and after the configuration is finished, parameter setting is carried out on the configured fields so as to directly refer to the fields when other use cases need to be used. If the field type is a drop-down box, the drop-down box parameters are set. The configuration information includes field type, format rule, Chinese field name, English field name, and default value.
In this embodiment, each test case usually has its test preparation condition, and test configuration is performed according to the test preparation condition, 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, executing case page association field configuration, popping up a window prompt, and checking whether to enter includes: when executing the use case, firstly judging whether the fields are related; if the associated field is found, popping up a window to prompt the input of the content set by the front field, and storing the input information after the input information is finished, so that the use case can be repeatedly used in the following test; and if no associated field exists, continuously inputting field configuration, setting configuration parameters and storing for later use.
In this embodiment, when the use case is executed, a configured field pops up, information is entered perfectly according to a prompt, and especially when a plurality of use cases are executed, the popped-up prompt window information is deduplicated after the configuration information is summarized, the same preparation conditions are entered, the preparation data is concise and comprehensive, and the test configuration conditions are fully satisfied.
In some embodiments of the present invention, in response to that the test case is a plurality of cases, executing configuration of page association fields of the plurality of cases, where the popup window information is configuration information after eliminating duplicate information, including: combining the fields associated with the multiple use cases, removing repeated fields, and displaying the fields in a pop-up prompt window to prompt information to be input in the fields associated with the use cases so as to avoid repeated information input.
In the embodiment, a large number of cases of the same type are selected for execution, a large amount of configuration time is saved, the background performs summary duplicate removal of configuration, the cases are not required to be compared, the same configuration is performed only once, repeated redundant work is avoided, information is input more simply after duplicate removal, and the use is more convenient.
The method for associating the configuration information with the test case configures the input field of the test case 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated. Therefore, the configuration of the associated use case field of the use case is realized, and the configuration of the pull-down parameters can be realized under the condition that the field type is a pull-down frame; when the case is executed, the information needing to be configured is associated, and the information to be input is uploaded or selected or input to serve as a necessary condition, and the information is not input into the unexecutable case for testing; when batch use case selection is realized, the associated configuration information is summarized and then repeated information is removed, and one piece of configuration is reserved for the same configuration, so that the method is concise and convenient to operate. For a case executor, the case executor does not need to spend time reading and understanding case test preparation configuration and directly performs configuration according to a popped prompt window; it is not particularly clear that the use case may also be done to perform this. Meanwhile, a large number of cases of the same type are selected for execution, a large amount of configuration time is saved, configuration is summarized and duplicate removal is carried out in the background, cases are not needed to be compared, the same configuration is carried out only once, repeated redundant work is avoided, information is input more simply after duplicate removal, and the use is more convenient.
It should be particularly noted that, the steps in the embodiments of the method for server centralized test described above can be mutually intersected, replaced, added, and deleted, so that these methods for server centralized test, which are transformed by reasonable permutation and combination, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the foregoing, a second aspect of the embodiments of the present invention provides an apparatus for testing case-related configuration information. Fig. 2 is a schematic diagram illustrating an embodiment of a device for testing case associated configuration information provided by the present invention. As shown in fig. 2, the apparatus for testing case associated configuration information according to the embodiment of the present invention includes the following modules: the first module 011 is configured to configure and set configuration parameters for the test case entry field; a second module 012 configured to execute a test case and determine whether the test case is a single case or a plurality of cases; and a third module 013 configured to, in response to the test case being a single case, execute a case page association field configuration, pop up a window prompt, and verify whether to enter; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the 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 as the common field after configuration, so as to directly refer to the test case when needed.
In some embodiments of the invention, the first module is further configured to: setting configuration information needing to be associated in a test case association case field mode; and after the configuration is finished, parameter setting is carried out on the configured fields so as to directly refer to the fields when other use cases need to be used. If the field type is a drop-down box, the drop-down box parameters are set. The configuration information includes field type, format rule, Chinese field name, English field name, and default value.
In some embodiments of the invention, the third module is further configured to: when executing the use case, firstly judging whether the fields are related; if the associated field is found, popping up a window to prompt the input of the content set by the front field, and storing the input information after the input information is finished, so that the use case can be repeatedly used in the following test; and if no associated field exists, continuously inputting field configuration, setting configuration parameters and storing for later use.
In some embodiments of the invention, the third module is further configured to: combining the fields associated with the multiple use cases, removing repeated fields, and displaying the fields in a pop-up prompt window to prompt information to be input in the fields associated with the use cases so as to avoid repeated information input.
Firstly, carrying out field configuration on a use case, directly introducing the use case if the public field has the configuration, adding field configuration which comprises field types, format rules, Chinese character field names, English field names, default values and test roles according to test preparation conditions if the public field does not have the configuration, completing the configuration of the use case field after submitting, setting the field configuration which is newly added with the use case field configuration and is commonly used as the public field, and carrying out parameter setting on the configured field after newly adding the configuration. Secondly, a test task is newly established, a test case to be tested is selected, if the case has field configuration and the test role is VM, a file name prompt or an input content prompt or a selected prompt which needs to be uploaded is popped up when the test task is submitted, and after the prompt information is input, the task is successfully submitted, and the test case can be executed; if the use case has field configuration and the testing role is a tester, no prompt is given when the testing task is submitted, and the input information is prompted when the testing task is executed. For example, a case for BIOS version upgrading, BIOS upgrading version field configuration and system version field configuration are selected, a test task is newly established, the case for BIOS version upgrading is selected, the case has a requirement on the system version, the test task is submitted, a prompt page is popped up, two items of information of the page need to be input, one is to upload a BIOS version upgrading file, the other is to select a system version (the content to be selected is a parameter set by the field configuration), and the test task is successfully submitted after the two items are input.
In view of the above object, a third aspect of the embodiments of the present invention provides 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 apparatus of 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 steps of the method comprising: configuring the test case input 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated.
The invention also provides a computer readable storage medium. FIG. 4 is a schematic diagram illustrating 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 method as described above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes in the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for centralized server testing can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. 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 embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments 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. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
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 disclosed embodiments of the present invention.
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 place 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 a general-purpose or special-purpose processor. Also, 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 technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, D0L, or wireless technologies such as infrared, radio, and microwave are all 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 present 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 of the invention 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 numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits 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 instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for associating configuration information with test cases is characterized by comprising the following steps:
configuring the test case input 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 being a single case, executing case page associated field configuration, popping up a window prompt, and checking whether to input; and
and responding to the test cases 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 the configuration information after the repeated information is eliminated.
2. The method of test case associated configuration information according to claim 1, further comprising:
the use case field is configured and set as a common field to be directly referenced when needed by the test case.
3. The method of claim 1, wherein configuring the test case entry field and setting the configuration parameters comprises:
setting configuration information needing to be associated in a test case association case field mode; and
after the configuration is completed, parameters are set for the configured fields to be directly referred to when other use cases need to be used.
4. The method of test case associated configuration information according to claim 3,
if the field type is a drop-down box, the drop-down box parameters are set.
5. The method of test case associated configuration information according to claim 3,
the configuration information includes field type, format rule, Chinese field name, English field name, and default value.
6. The method of claim 1, wherein in response to the test case being a single use case, performing a use case page association field configuration, prompting a pop-up window, and checking whether to enter the test case page association configuration information comprises:
when executing the use case, firstly judging whether the fields are related;
if the associated field is found, popping up a window to prompt the input of the content set by the front field, and storing the input information after the input information is finished, so that the use case can be repeatedly used in the following test;
and if no associated field exists, continuously inputting field configuration, setting configuration parameters and storing for later use.
7. The method according to claim 1, wherein in response to the test case being a plurality of cases, executing a configuration of a page association field of the plurality of cases, and the popup window information being the configuration information after eliminating the duplicate information includes:
combining the fields associated with the multiple use cases, removing repeated fields, and displaying the fields in a pop-up prompt window to prompt information to be input in the fields associated with the use cases so as to avoid repeated information input.
8. An apparatus for testing case associated configuration information, comprising:
the first module is configured and used 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 being a single case, execute case page associated field configuration, pop up window prompt and check whether to enter; and responding to the test cases as multiple cases, executing the configuration of the page associated fields of the multiple cases, wherein the pop-up window information is the configuration information after the repeated information is eliminated.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
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 true CN114116453A (en) 2022-03-01
CN114116453B 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 (8)

* 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
US20120259576A1 (en) * 2011-04-07 2012-10-11 Infosys Technologies, Ltd. System and method for efficient test case generation using input dependency information
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

Patent Citations (8)

* 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
US20120259576A1 (en) * 2011-04-07 2012-10-11 Infosys Technologies, Ltd. System and method for efficient test case generation using input dependency information
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
刘逻;郭立红;陈媛;王俊杰;: "基于通信协议的接口测试用例自动生成框架", 测控技术 *
杨娜;: "跨平台系统中测试用例复用技术研究", 电子设计工程 *

Also Published As

Publication number Publication date
CN114116453B (en) 2024-01-09

Similar Documents

Publication Publication Date Title
EP3220272A1 (en) A method and system for performing regression integration testing
EP3129885A1 (en) Software test automation system and method
US11150879B2 (en) Method and system for configuring processes of software applications using activity fragments
CN114003451B (en) Interface testing method, device, system and medium
CN110990274A (en) Data processing method, device and system for generating test case
CN103679390A (en) Background testing method and device of configuration system
CN111581183A (en) Data migration method and device based on data model
US10956407B2 (en) Automatic detection of problems in a large-scale multi-record update system and method
US8195982B2 (en) Systems and methods for managing testing functionalities
CN114116453A (en) Method, device and equipment for testing case associated configuration information and readable medium
CN116841898A (en) Test case and test script generation method, device, system and medium
CN114385243B (en) Method and device for automatically issuing instructions for controlling layout engine
CN114546749A (en) Chip random test case regression method, device, equipment and readable medium
CN113918150A (en) Method for automatically configuring interface front-end code
CN114138633A (en) Method, device and equipment for testing software based on data driving and readable medium
CN113377368A (en) Project development method, device, server and storage medium
CN112463320A (en) Execution method, device and equipment for managing software task and readable medium
CN110795338A (en) Automatic testing method and device based on front-end and back-end interaction and electronic equipment
US20240143863A1 (en) Method and system for interactively creating, executing, and managing design for excellence (dfx) rules
CN112463023B (en) Data processing method, device and equipment for read-write disk and readable medium
CN112783788B (en) Test system, method, electronic device and storage medium
CN110716855B (en) Processor instruction set testing method and device
CN114331374A (en) Configuration method and device for integrated form format in workflow system
US20240086547A1 (en) Method and system for patching websites running in a .net framework environment
US11068495B2 (en) Method and system for integrating business logic database with HMI application

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