CN115145777B - Test method, system, device and storage medium - Google Patents

Test method, system, device and storage medium Download PDF

Info

Publication number
CN115145777B
CN115145777B CN202211068386.0A CN202211068386A CN115145777B CN 115145777 B CN115145777 B CN 115145777B CN 202211068386 A CN202211068386 A CN 202211068386A CN 115145777 B CN115145777 B CN 115145777B
Authority
CN
China
Prior art keywords
module
interface
test
sequence
displaying
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
CN202211068386.0A
Other languages
Chinese (zh)
Other versions
CN115145777A (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.)
Zhuhai Miaocun Technology Co ltd
Original Assignee
Zhuhai Miaocun 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 Zhuhai Miaocun Technology Co ltd filed Critical Zhuhai Miaocun Technology Co ltd
Priority to CN202211068386.0A priority Critical patent/CN115145777B/en
Publication of CN115145777A publication Critical patent/CN115145777A/en
Application granted granted Critical
Publication of CN115145777B publication Critical patent/CN115145777B/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/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a test method, a test system, a test device and a storage medium, which can be widely applied to the technical field of tests, such as the test of eMMC. The test method comprises the steps of obtaining a second interface comprising a first sequence by carrying out first operation on at least one first module in a first interface, obtaining a third interface comprising a second sequence by carrying out second operation on a second module obtained by modularizing the second interface, and generating a corresponding running script by executing the second sequence in the third interface, so that the test case is rapidly developed, the test efficiency is improved, and the learning cost of a tester during testing is reduced; the intuitiveness of the testing process is improved through the development of the modularized testing case and the generation and display of the testing flow chart according to the running script.

Description

Test method, system, device and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a test method, a test system, a test apparatus, and a storage medium.
Background
The eMMC is used as a storage device with excellent performance, and is more and more widely applied to a main control device, a terminal product and various scenes. Therefore, the design of eMMC software for eMMC testing also faces higher requirements. In addition, as the Nand flash type used inside the eMMC is increasing, the difficulty of the eMMC software development is also increasing.
The current eMMC test method mainly includes the following two methods: firstly, an eMMC chip is tested and developed by installing the eMMC into a testing device and using a script language; and secondly, developing and running the eMMC test case through the selection and configuration of the visual image interface. However, the test development method using the scripting language requires testers to know about protocols and interface related knowledge, so that the learning cost is high, and meanwhile, the test case flow needs to be drawn by means of other tools, so that the test case flow is not easy to archive and modify, and the overall test efficiency is low; the existing image interface test method can only use simple command combination for testing and cannot meet the comprehensive requirement of the eMMC test, and meanwhile, the existing image interface test method cannot develop test cases and is large in limitation.
Disclosure of Invention
The present invention aims to solve at least to some extent one of the technical problems existing in the prior art.
Therefore, the embodiment of the invention provides a test method, a test system, a test device and a storage medium, which improve the test efficiency and the intuition, reduce the test learning cost and facilitate the development of test cases.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the invention comprises the following steps:
in one aspect, an embodiment of the present invention provides a testing method, including the following steps:
responding to a test request, and displaying a first interface, wherein the first interface comprises a plurality of first modules, and each first module comprises a test operation described by a test protocol;
responding to a first operation on at least one first module in the first interface, and displaying a second interface, wherein the second interface comprises a first sequence consisting of the at least one first module which performs the first operation;
modularizing the second interface to generate a second module;
responding to a second operation on at least one second module, and displaying a third interface, wherein the third interface comprises a second sequence, and the second sequence is composed of the at least one second module which performs the second operation;
responding to the second sequence, and generating a corresponding running script, wherein the running script is used for carrying out test operation;
and generating and displaying a test flow chart according to the running script.
The test method provided by the embodiment of the invention can be widely applied to the technical field of test, such as the test of eMMC. According to the invention, a second interface comprising a first sequence is obtained by performing first operation on at least one first module in the first interface, a third interface comprising a second sequence is obtained by performing second operation on a second module obtained by modularizing the second interface, and a corresponding operation script is generated by executing the second sequence in the third interface, so that the rapid development of a test case is realized, the test efficiency is improved, and the learning cost of a tester during testing is reduced; the intuitiveness of the testing process is improved through the development of the modularized testing case and the generation and display of the testing flow chart according to the running script.
In addition, the testing method according to the above embodiment of the present invention may further have the following additional technical features:
further, in a testing method according to an embodiment of the present invention, if the at least one first module is a plurality of first modules, the displaying a second interface in response to a first operation on the at least one first module in the first interface includes:
responding to a first operation on at least one first module in the first interface, and acquiring a first connection relation, wherein the first connection relation is a logic connection relation between the at least one first module;
performing logical connection on the test operation described by the test protocol corresponding to the at least one first module according to the first connection relation to generate program data corresponding to the first sequence;
and displaying the second interface according to the program data corresponding to the first sequence.
Further, in an embodiment of the present invention, if the at least one first module is a first module, the displaying the second interface in response to the first operation on the at least one first module in the first interface includes:
responding to a first operation on at least one first module in the first interface, and taking a test operation described by the test protocol corresponding to the at least one first module as program data corresponding to the first sequence;
and displaying the second interface according to the program data corresponding to the first sequence.
Further, in an embodiment of the present invention, if the at least one second module is a plurality of second modules, the displaying a third interface in response to a second operation on the at least one second module includes:
responding to a second operation on at least one second module, and acquiring a second connection relation, wherein the second connection relation is a logic connection relation between the at least one second module;
performing logic connection on the subprogram corresponding to the at least one second module according to the second connection relation to generate program data corresponding to the second sequence;
and displaying the third interface according to the program data corresponding to the second sequence.
Further, in an embodiment of the present invention, if the at least one second module is a second module, the displaying a third interface in response to a second operation on the at least one second module includes:
in response to a second operation on at least one second module, taking a subprogram corresponding to the at least one second module as program data corresponding to the second sequence;
and displaying the third interface according to the program data corresponding to the second sequence.
Further, in an embodiment of the present invention, the generating a corresponding run script in response to running the second sequence includes:
responding to the second sequence, and acquiring program data corresponding to the second sequence;
and generating the running script according to the program data corresponding to the second sequence.
Further, in an embodiment of the present invention, the testing method further includes the steps of:
monitoring the running state of the running script in real time;
and generating and displaying a test particle state according to the running state, wherein the test particle state is used for representing the test state of each data block.
In another aspect, an embodiment of the present invention provides a test system, including:
the system comprises a first module, a second module and a third module, wherein the first module is used for responding to a test request and displaying a first interface, the first interface comprises a plurality of first modules, and each first module comprises a test operation described by a test protocol;
a second module, configured to respond to a first operation on at least one first module in the first interface, and display a second interface, where the second interface includes a first sequence, and the first sequence is composed of the at least one first module on which the first operation is performed;
the third module is used for modularizing the second interface to generate a second module;
a fourth module, configured to respond to a second operation on at least one second module, and display a third interface, where the third interface includes a second sequence, and the second sequence is composed of the at least one second module that has performed the second operation;
a fifth module, configured to generate a corresponding running script in response to running the second sequence, where the running script is used to perform a test operation;
and the sixth module is used for generating and displaying a test flow chart according to the running script.
In another aspect, an embodiment of the present invention provides a testing apparatus, including:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement the one test method.
In another aspect, an embodiment of the present invention provides a storage medium, in which a program executable by a processor is stored, and the program executable by the processor is used for implementing the testing method.
The invention has the advantages and beneficial effects that:
the embodiment of the invention can be widely applied to the technical field of testing, for example, the invention is applied to eMMC testing, a second interface comprising a first sequence is obtained by performing first operation on at least one first module in a first interface, a second operation is performed on a second module obtained by modularizing a second interface to obtain a third interface comprising a second sequence, and then a corresponding running script is generated by executing the second sequence in the third interface, thereby realizing the rapid development of a test case, improving the testing efficiency and reducing the learning cost of a tester during testing; the intuitiveness of the testing process is improved through the development of the modularized testing case and the generation and display of the testing flow chart according to the running script.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description is made on the drawings of the embodiments of the present application or the related technical solutions in the prior art, and it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solutions of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart of an embodiment of a testing method of the present invention;
FIG. 2 is a schematic diagram of a first interface according to an embodiment of a testing method of the present invention;
FIG. 3 is a schematic diagram of a basic command interface according to an embodiment of the testing method of the present invention;
FIG. 4 is a schematic diagram of a third interface of an embodiment of a testing method according to the invention;
FIG. 5 is a schematic view of a test particle state according to one embodiment of the test method of the present invention;
FIG. 6 is a schematic structural diagram of a test system according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. For the step numbers in the following embodiments, they are set for convenience of illustration only, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The current eMMC test method mainly includes the following two methods: firstly, an eMMC chip is tested and developed by installing the eMMC into a testing device and using a script language; and secondly, developing and running the eMMC test case through the selection and configuration of the visual image interface. However, the test development method using the scripting language requires testers to know about protocols and interface related knowledge, so that the learning cost is high, meanwhile, the test case flow needs to be drawn by means of other tools, the archiving and the modification are not facilitated, and the overall test efficiency is low; the existing image interface test method can only use simple command combination for testing and cannot meet the comprehensive requirement of the eMMC test, and meanwhile, the existing image interface test method cannot develop test cases and is large in limitation. Therefore, the invention provides a test method, a test system, a test device and a storage medium, which can be widely applied to the technical field of tests, such as the test of eMMC. According to the invention, a second interface comprising a first sequence is obtained by performing first operation on at least one first module in the first interface, a third interface comprising a second sequence is obtained by performing second operation on a second module obtained by modularizing the second interface, and a corresponding running script is generated by executing the second sequence in the third interface, so that the rapid development of a test case is realized, the test efficiency is improved, and the learning cost of a tester during testing is reduced; the intuitiveness of the testing process is improved through the development of the modularized testing case and the generation and display of the testing flow chart according to the running script.
A test method, system, apparatus, and storage medium according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings, and first, a test method according to an embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 1, a test method is provided in an embodiment of the present invention, and the test method in the embodiment of the present invention may be applied to a terminal, a server, software running in the terminal or the server, or the like. The terminal may be, but is not limited to, a tablet computer, a notebook computer, a desktop computer, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. The test method in the embodiment of the invention mainly comprises the following steps:
s101, responding to a test request, and displaying a first interface;
referring to fig. 2, the first interface includes a plurality of first modules, and each first module includes a test operation described by a test protocol.
Optionally, the first module includes test operations described by a predefined test protocol, such as "read", "write", "erase", "mode switch", "upgrade", and "initialization" test operations shown in fig. 2.
Optionally, a basic command interface is further provided in an embodiment of the present invention, as shown in fig. 3. The basic command interface comprises a plurality of visual modules, and each module comprises a command contained in a test protocol.
Alternatively, in one embodiment of the invention, special behavior may be defined in the base command interface and the first interface for protecting the field.
S102, responding to a first operation of at least one first module in the first interface, and displaying a second interface;
the second interface comprises a first sequence, and the first sequence is composed of at least one first module which carries out first operation.
Optionally, the first operation may be a "drag operation" in which a first sequence is formed in the second interface by dragging at least one first module; alternatively, the first operation may be a "click operation" in which a first sequence is formed in the second interface by clicking on at least one first module.
It is to be understood that when the at least one first module is a first module, the first sequence consists of one first module; when the at least one first module is a plurality of first modules, the first sequence is formed by logically connecting the plurality of first modules through a first operation.
Specifically, in the embodiment of the present invention, when the at least one first module is a plurality of first modules, the step S102 specifically includes the following steps:
1) Responding to a first operation of at least one first module in a first interface, and acquiring a first connection relation;
wherein the first connection relation is a logical connection relation between the at least one first module.
2) According to the first connection relation, carrying out logic connection on the test operation described by the test protocol corresponding to at least one first module to generate program data corresponding to a first sequence;
3) And displaying the second interface according to the program data corresponding to the first sequence.
Specifically, in the embodiment of the present invention, when at least one first module is one first module, the step S102 specifically includes the following steps:
1) Responding to a first operation of at least one first module in the first interface, and taking a test operation described by a test protocol corresponding to the at least one first module as program data corresponding to a first sequence;
2) And displaying the second interface according to the program data corresponding to the first sequence.
S103, modularizing the second interface to generate a second module;
specifically, in the embodiment of the present invention, the second interface including the first sequence in step S102 is modularized to obtain a second module, such as "layer X" shown in fig. 4.
S104, responding to a second operation on at least one second module, and displaying a third interface;
referring to fig. 4, wherein the third interface (shown as "textX" in fig. 4) includes therein a second sequence consisting of at least one second module performing a second operation. As the third interface "text1" includes "layer 1 → layer 2 → layer 1 → layer 3 → 8230;" and the third interface "text2" includes "layer 1 → layer 3 → layer 2 → layer 1 → 8230;".
Optionally, the second operation may be a "drag operation" that forms a second sequence in the third interface by dragging the at least one second module; alternatively, the second operation may be a "click operation" in which a second sequence is formed in the third interface by clicking on at least one second module.
It is to be understood that when at least one second module is a second module, the second sequence consists of one second module; when the at least one second module is a plurality of second modules, the second sequence is formed by logically connecting the plurality of second modules through a second operation.
Specifically, in the embodiment of the present invention, when the at least one second module is a plurality of second modules, the step S104 specifically includes the following steps:
1) Responding to a second operation on at least one second module, and acquiring a second connection relation;
wherein the second connection relationship is a logical connection relationship between at least one second module.
2) According to the second connection relation, logically connecting the subprograms corresponding to at least one second module to generate program data corresponding to a second sequence;
3) And displaying the third interface according to the program data corresponding to the second sequence.
Specifically, in the embodiment of the present invention, when at least one second module is one second module, the step S104 specifically includes the following steps:
1) In response to a second operation on at least one second module, taking a subprogram corresponding to the at least one second module as program data corresponding to a second sequence;
2) And displaying a third interface according to the program data corresponding to the second sequence.
S105, responding to the second sequence, and generating a corresponding running script;
wherein the run script is used to perform a test operation.
Specifically, in the embodiment of the present invention, when the second sequence in the third interface is run, a running script corresponding to the second sequence is generated, and the test is performed according to the running script, so that the development and the test of the test case based on modularization are realized.
Optionally, in an embodiment of the present invention, a behavior (test operation) is sent to a test object (e.g., eMMC) through the middle layer and the bottom layer according to the run script for testing.
S105 may further divide the following steps S1051-S1052:
step S1051, responding to the second sequence, and acquiring program data corresponding to the second sequence;
step S1052, generating the running script according to the program data corresponding to the second sequence.
And S106, generating and displaying a test flow chart according to the running script.
Specifically, in the embodiment of the present invention, when the running script runs, a test flowchart is generated according to the running script, and the test flowchart is fed back to each interface to be displayed in real time.
In the embodiment of the present invention, in the running process of the running script, the running state of the running script is monitored in real time, and a test particle state is generated and displayed according to the running state, where the test particle state is used to characterize the test state of each data block, as shown in fig. 5, the test state of each data block of the eMMC, which is characterized by the test particle state when the embodiment of the present invention is applied to the eMMC test, includes the current operation write state, the current operation read state, the written state, and the read verification state of the data block.
As can be seen from the testing method described in connection with steps S101-S106, the present invention can be widely applied to the testing technology field, such as testing of eMMC. According to the invention, a second interface comprising a first sequence is obtained by performing first operation on at least one first module in the first interface, a third interface comprising a second sequence is obtained by performing second operation on a second module obtained by modularizing the second interface, and a corresponding operation script is generated by executing the second sequence in the third interface, so that the rapid development of a test case is realized, the test efficiency is improved, and the learning cost of a tester during testing is reduced; the intuitiveness of the testing process is improved through the development of the modularized testing case and the generation and display of the testing flow chart according to the running script.
FIG. 6 is a block diagram of a test system according to an embodiment of the present application.
The system specifically comprises:
a first module 601, configured to respond to a test request, and display a first interface, where the first interface includes a plurality of first modules, and each of the first modules includes a test operation described by a test protocol;
a second module 602, configured to display a second interface in response to a first operation on at least one first module in the first interface, where the second interface includes a first sequence, and the first sequence is composed of the at least one first module that has performed the first operation;
a third module 603, configured to modularize the second interface to generate a second module;
a fourth module 604, configured to display a third interface in response to a second operation on at least one second module, where the third interface includes a second sequence, and the second sequence is composed of the at least one second module that has performed the second operation;
a fifth module 605, configured to generate a corresponding running script in response to running the second sequence, where the running script is used to perform a test operation;
a sixth module 606, configured to generate and display a test flowchart according to the running script.
It can be seen that the contents in the foregoing method embodiments are all applicable to this system embodiment, the functions specifically implemented by this system embodiment are the same as those in the foregoing method embodiment, and the advantageous effects achieved by this system embodiment are also the same as those achieved by the foregoing method embodiment.
Referring to fig. 7, an embodiment of the present application provides a test apparatus, including:
at least one processor 701;
at least one memory 702 for storing at least one program;
when executed by the at least one processor 701, the at least one program causes the at least one processor 701 to implement a testing method as described in steps S101-S106.
Similarly, the contents of the method embodiments are all applicable to the apparatus embodiments, the functions specifically implemented by the apparatus embodiments are the same as the method embodiments, and the beneficial effects achieved by the apparatus embodiments are also the same as the beneficial effects achieved by the method embodiments.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present application are provided by way of example in order to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in a separate physical device or software module. It will also be understood that a detailed discussion regarding the actual implementation of each module is not necessary for an understanding of the present application. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer given the nature, function, and interrelationships of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the present application as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the application, which is to be determined by the appended claims along with their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium, which includes programs for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable programs that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with a program execution system, apparatus, or device (such as a computer-based system, processor-containing system, or other system that can fetch the programs from the program execution system, apparatus, or device and execute the programs). For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the program execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable program execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the foregoing description of the specification, reference to the description of "one embodiment/example," "another embodiment/example," or "certain embodiments/examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: numerous changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present application have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. A method of testing, comprising the steps of:
responding to a test request, and displaying a first interface, wherein the first interface comprises a plurality of first modules, and each first module comprises a test operation described by a test protocol;
responding to a first operation on at least one first module in the first interface, and displaying a second interface, wherein the second interface comprises a first sequence consisting of the at least one first module which performs the first operation;
modularizing the second interface to generate a second module;
responding to a second operation on at least one second module, and displaying a third interface, wherein the third interface comprises a second sequence consisting of the at least one second module which performs the second operation;
responding to the second sequence, and generating a corresponding running script, wherein the running script is used for carrying out test operation;
generating a test flow chart according to the running script and displaying the test flow chart;
if the at least one first module is a plurality of first modules, the responding to the first operation of the at least one first module in the first interface and displaying a second interface comprises:
responding to a first operation of at least one first module in the first interface, and acquiring a first connection relation, wherein the first connection relation is a logic connection relation between the at least one first module;
performing logical connection on the test operation described by the test protocol corresponding to the at least one first module according to the first connection relation to generate program data corresponding to the first sequence;
and displaying the second interface according to the program data corresponding to the first sequence.
2. The method of claim 1, wherein if the at least one first module is a first module, the displaying the second interface in response to the first operation on the at least one first module in the first interface comprises:
responding to a first operation of at least one first module in the first interface, and taking a test operation described by the test protocol corresponding to the at least one first module as program data corresponding to the first sequence;
and displaying the second interface according to the program data corresponding to the first sequence.
3. The method according to claim 1, wherein if the at least one second module is a plurality of second modules, the displaying a third interface in response to the second operation on the at least one second module comprises:
responding to a second operation on at least one second module, and acquiring a second connection relation, wherein the second connection relation is a logic connection relation between the at least one second module;
performing logic connection on the subprogram corresponding to the at least one second module according to the second connection relation to generate program data corresponding to the second sequence;
and displaying the third interface according to the program data corresponding to the second sequence.
4. A testing method according to claim 1, wherein if the at least one second module is a second module, said displaying a third interface in response to a second operation on the at least one second module comprises:
in response to a second operation on at least one second module, taking a subprogram corresponding to the at least one second module as program data corresponding to the second sequence;
and displaying the third interface according to the program data corresponding to the second sequence.
5. A testing method according to claim 3, wherein said generating a corresponding run script in response to running said second sequence comprises:
responding to the second sequence, and acquiring program data corresponding to the second sequence;
and generating the running script according to the program data corresponding to the second sequence.
6. A method of testing as claimed in claim 1, the method further comprising:
monitoring the running state of the running script in real time;
and generating and displaying a test particle state according to the running state, wherein the test particle state is used for representing the test state of each data block.
7. A test system, comprising:
the first module is used for responding to a test request and displaying a first interface, wherein the first interface comprises a plurality of first modules, and each first module comprises a test operation described by a test protocol;
a second module, configured to display a second interface in response to a first operation on at least one first module in the first interface, where the second interface includes a first sequence, and the first sequence is composed of the at least one first module that has performed the first operation;
the third module is used for modularizing the second interface to generate a second module;
a fourth module, configured to respond to a second operation on at least one second module, and display a third interface, where the third interface includes a second sequence, and the second sequence is composed of the at least one second module that has performed the second operation;
a fifth module, configured to generate a corresponding running script in response to running the second sequence, where the running script is used to perform a test operation;
a sixth module, configured to generate and display a test flowchart according to the running script;
if the at least one first module is a plurality of first modules, the responding to the first operation of the at least one first module in the first interface and displaying a second interface comprises:
responding to a first operation of at least one first module in the first interface, and acquiring a first connection relation, wherein the first connection relation is a logic connection relation between the at least one first module;
performing logical connection on the test operation described by the test protocol corresponding to the at least one first module according to the first connection relation to generate program data corresponding to the first sequence;
and displaying the second interface according to the program data corresponding to the first sequence.
8. A test apparatus, comprising:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement a testing method according to any one of claims 1-6.
9. A storage medium in which a processor-executable program is stored, wherein the processor-executable program, when executed by a processor, is adapted to implement a testing method according to any one of claims 1-6.
CN202211068386.0A 2022-09-02 2022-09-02 Test method, system, device and storage medium Active CN115145777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211068386.0A CN115145777B (en) 2022-09-02 2022-09-02 Test method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211068386.0A CN115145777B (en) 2022-09-02 2022-09-02 Test method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN115145777A CN115145777A (en) 2022-10-04
CN115145777B true CN115145777B (en) 2022-12-20

Family

ID=83416453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211068386.0A Active CN115145777B (en) 2022-09-02 2022-09-02 Test method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN115145777B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116524986B (en) * 2023-04-23 2024-04-19 深圳市晶存科技有限公司 System level testing method and system for storage products
CN116483639B (en) * 2023-04-26 2024-03-19 珠海妙存科技有限公司 eMMC information acquisition method and system, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122295A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 The generation method and device of test case script
CN114650330A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Method, electronic equipment and system for adding operation sequence

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8928591B2 (en) * 2011-06-30 2015-01-06 Google Inc. Techniques for providing a user interface having bi-directional writing tools
US9928161B1 (en) * 2016-09-08 2018-03-27 Fmr Llc Automated quality assurance testing of browser-based applications
CN112870704B (en) * 2021-03-18 2022-11-18 腾讯科技(深圳)有限公司 Game data processing method, device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122295A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 The generation method and device of test case script
CN114650330A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Method, electronic equipment and system for adding operation sequence

Also Published As

Publication number Publication date
CN115145777A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN115145777B (en) Test method, system, device and storage medium
US10606734B2 (en) Intelligent device selection for mobile application testing
US10318246B2 (en) System, method, and recording medium for validating computer documentation
US10191838B2 (en) Method and device for checking influence of deleting cache file, and mobile terminal
CN111190825A (en) Automatic test method, system and robot
CN109683880A (en) Webpage exchange method, device, equipment and storage medium
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN116644250B (en) Page detection method, page detection device, computer equipment and storage medium
CN111190791A (en) Application exception reporting method and device and electronic equipment
WO2023138923A1 (en) Failure prediction using informational logs and golden signals
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN110413800B (en) Method and equipment for providing novel information
CN113315841A (en) File uploading method and device, medium and electronic equipment
CN113220386A (en) Instrument board publishing method and related equipment
CN114077575A (en) Format conversion method, equipment and system for memory snapshot file
CN112486517A (en) Application program installation method and system, electronic equipment and storage medium
CN113760696A (en) Program problem positioning method and device, electronic equipment and storage medium
CN116136813B (en) Method, device and storage medium for simulating adaptive multi-model avionics signals
CN112965944B (en) Visual page restoration method and system, electronic equipment and storage medium
CN114706715B (en) Control method, device, equipment and medium for distributed RAID based on BMC
CN116524986B (en) System level testing method and system for storage products
CN110399243B (en) Blue screen reason determining method, system, computer readable medium and electronic device
CN112597058A (en) Web page testing method, device, equipment and storage medium based on volume creation
CN114528438A (en) XML information extraction method based on human-computer interaction, storage medium and electronic equipment
CN115858267A (en) Circuit testing method and device, electronic equipment and storage medium

Legal Events

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