CN108647141B - Automatic test method, device, computer readable medium and electronic equipment - Google Patents

Automatic test method, device, computer readable medium and electronic equipment Download PDF

Info

Publication number
CN108647141B
CN108647141B CN201810387086.6A CN201810387086A CN108647141B CN 108647141 B CN108647141 B CN 108647141B CN 201810387086 A CN201810387086 A CN 201810387086A CN 108647141 B CN108647141 B CN 108647141B
Authority
CN
China
Prior art keywords
test
tested
objects
testing
service
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
CN201810387086.6A
Other languages
Chinese (zh)
Other versions
CN108647141A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810387086.6A priority Critical patent/CN108647141B/en
Publication of CN108647141A publication Critical patent/CN108647141A/en
Application granted granted Critical
Publication of CN108647141B publication Critical patent/CN108647141B/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
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Abstract

The embodiment of the invention provides an automatic testing method, an automatic testing device, a computer readable medium and electronic equipment. The automatic test method comprises the following steps: starting a test service, and sequentially testing a plurality of objects to be tested based on the test service; monitoring a test process of the plurality of objects to be tested; if the test process of the plurality of objects to be tested is monitored to be abnormal, recording the target objects to be tested with the abnormal test; restarting the test service, and testing other objects to be tested behind the target object to be tested according to the test sequence of the plurality of objects to be tested. The technical scheme of the embodiment of the invention realizes an automatic test process, reduces the workload of testers, reduces the labor cost, realizes the abnormal restart of test service and the continuity of the test process, and further can improve the test efficiency.

Description

Automatic test method, device, computer readable medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to an automatic testing method, an automatic testing device, a computer readable medium and electronic equipment.
Background
At present, when a tester tests a plurality of website links, the tester needs to record the problems and test results in the test process one by one, then the results are counted manually, the whole process is completed manually, and the test consumes time and labor. When the test process is abnormal, the user needs to reopen the link for re-testing, but if the tested website links are more, the user often has difficulty in remembering which one of the completed test links is, and further the tested website links may be repeatedly tested again, so that the test efficiency is seriously influenced.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
Embodiments of the present invention provide an automatic testing method, an automatic testing device, a computer-readable medium, and an electronic apparatus, so as to overcome the problem of low testing efficiency in the prior art at least to a certain extent.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to an aspect of an embodiment of the present invention, there is provided an automatic test method including: starting a testing service, and sequentially testing a plurality of objects to be tested based on the testing service; monitoring a test process of the plurality of objects to be tested; if the test process of the plurality of objects to be tested is monitored to be abnormal, recording the target objects to be tested with the abnormal test; restarting the test service, and testing other objects to be tested behind the target object to be tested according to the test sequence of the plurality of objects to be tested.
According to an aspect of an embodiment of the present invention, there is provided an automatic test apparatus including: the test unit is used for starting a test service and sequentially testing a plurality of objects to be tested based on the test service; the monitoring unit is used for monitoring the test process of the plurality of objects to be tested; the recording unit is used for recording the abnormal target objects to be tested when monitoring that the test process of the plurality of objects to be tested is abnormal; and the processing unit is used for restarting the test service and testing other objects to be tested behind the target object to be tested according to the test sequence of the plurality of objects to be tested.
In some embodiments of the present invention, based on the foregoing solution, the processing unit is further configured to, after restarting the testing service, test the target object to be tested again; and if the target object to be tested is tested again abnormally, skipping the target object to be tested to test other objects to be tested behind the target object to be tested.
In some embodiments of the invention, based on the foregoing solution, the test unit is configured to: and loading a test script based on the test service so as to test the plurality of objects to be tested in sequence.
In some embodiments of the present invention, based on the foregoing solution, the test script includes a first identification code for identifying whether the execution of the test script is completed and a second identification code for identifying whether the execution of the test script is abnormal; the monitoring unit is used for: and if the test script is determined not to be executed completely according to the first identification code and the test script to be tested is determined to be abnormal according to the second identification code, determining that the test process of the plurality of objects to be tested is abnormal.
In some embodiments of the present invention, based on the foregoing, the monitoring unit is configured to: and determining whether the execution of the test script is finished according to the first identification code every preset time, and determining whether the execution of the script to be tested is abnormal according to the second identification code.
In some embodiments of the present invention, based on the foregoing solution, the automatic testing apparatus further includes: the first generating unit is used for generating a third identification code used for identifying the test progress of the plurality of objects to be tested; and the adjusting unit is used for adjusting the value of the third identification code after the test of any one of the plurality of objects to be tested is completed.
In some embodiments of the present invention, based on the foregoing solution, the processing unit is further configured to: and after the test service is restarted, determining the target object to be tested and the other objects to be tested according to the value of the third identification code.
In some embodiments of the present invention, based on the foregoing solution, the automatic testing apparatus further includes: and the second generating unit is used for generating a test report according to the test result of each object to be tested in the plurality of objects to be tested after the plurality of objects to be tested are tested.
In some embodiments of the present invention, based on the foregoing solution, the automatic testing apparatus further includes: and the sending unit is used for sending the test report to a terminal of a designated person after the test report is generated.
In some embodiments of the present invention, based on the foregoing solution, the automatic testing apparatus further includes: the acquisition unit is used for acquiring a test address corresponding to each object to be tested in the plurality of objects to be tested; the test unit is used for: and sequentially calling the test address corresponding to each object to be tested based on the test service, and testing each function in the page corresponding to the test address based on the test script so as to test each object to be tested.
In some embodiments of the present invention, based on the foregoing solution, the automatic testing apparatus further includes: the receiving unit is used for receiving the test platform selected by the user; the test unit is used for: and calling the test address corresponding to each object to be tested on the test platform in sequence based on the test service.
In some embodiments of the invention, based on the foregoing solution, the test unit is configured to: and calling an operation instruction set corresponding to the page based on the test script so as to test each function in the page according to the operation instruction set.
According to an aspect of an embodiment of the present invention, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements an automatic test method as described in the above embodiments.
According to an aspect of an embodiment of the present invention, there is provided an electronic apparatus including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the automatic test method as described in the embodiments above.
In the technical scheme provided by some embodiments of the invention, when the test process of a plurality of objects to be tested is monitored to be abnormal, the abnormal target object to be tested is recorded, then the test service is restarted, and other objects to be tested behind the target object to be tested are tested according to the test sequence of the plurality of objects to be tested, so that when the plurality of objects to be tested are tested, the abnormal target object to be tested can be automatically recorded, and the next other objects to be tested are tested after the test service is restarted, thereby realizing the abnormal restart of the test service and the continuity of the test process, and further improving the test efficiency; meanwhile, the technical scheme of the embodiment of the invention automatically restarts the test service when the test process is abnormal and carries out the next test work, thereby realizing the automatic test process, reducing the workload of testers, reducing the labor cost and improving the test efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic diagram illustrating an exemplary system architecture to which an automatic test method or an automatic test apparatus according to an embodiment of the present invention may be applied;
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention;
FIG. 3 schematically illustrates a flow diagram of an automatic test method according to one embodiment of the invention;
FIG. 4 schematically illustrates a flow diagram of an automatic test method according to another embodiment of the invention;
FIG. 5 illustrates an interface schematic of a medical registration automated testing system according to one embodiment of the present invention;
FIG. 6 shows a schematic diagram of a test report according to an embodiment of the invention;
FIG. 7 schematically illustrates a screenshot of a test failure in accordance with an embodiment of the present invention;
FIG. 8 schematically illustrates a flow diagram of an automatic test method according to yet another embodiment of the invention;
FIG. 9 schematically illustrates a hardware architecture diagram of an automatic test system according to one embodiment of the invention;
FIG. 10 is a diagram illustrating the internal processing of a server according to one embodiment of the invention;
FIG. 11 illustrates a flow diagram for testing a registration page for a hospital according to one embodiment of the present invention;
FIG. 12 schematically illustrates a block diagram of an automatic test equipment, according to one embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the automatic test method or the automatic test apparatus of an embodiment of the present invention may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired communication links, wireless communication links, and so forth.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, and the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services. For example, a user uploads a plurality of objects to be tested (such as a plurality of web addresses to be tested) to the server 105 by using the terminal device 103 (or the terminal device 101 or 102), the server 105 may start a test service after receiving the plurality of objects to be tested, sequentially test the plurality of objects to be tested based on the test service, in the test process, start a monitoring thread to monitor the test process of the plurality of objects to be tested, when it is detected that the test process of the plurality of objects to be tested is abnormal, record a target object to be tested that is abnormal, and then automatically restart the test service, and test other objects to be tested after the target object to be tested according to the test sequence of the plurality of objects to be tested, or restart the test service, first test the target object to be tested again, if the test fails, and testing other objects to be tested behind the target object to be tested.
It should be noted that the automatic test method provided by the embodiment of the present invention is generally executed by the server 105, and accordingly, the automatic test apparatus is generally disposed in the server 105. However, in other embodiments of the present invention, the terminal may also have a similar function as the server, so as to execute the automatic test scheme provided by the embodiments of the present invention.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiment of the present invention.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for system operation are also stored. The CPU 201, ROM202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 210 as necessary, so that a computer program read out therefrom is mounted into the storage section 208 as necessary.
In particular, according to an embodiment of the present invention, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 201.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. 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 involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiment; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 4.
The implementation details of the technical scheme of the embodiment of the invention are explained in detail as follows:
fig. 3 schematically shows a flow chart of an automatic test method according to an embodiment of the invention, which is applicable to the electronic device described in the foregoing embodiment. Referring to fig. 3, the automatic test method at least includes steps S310 to S340, which are described in detail as follows:
in step S310, a testing service is started, and a plurality of objects to be tested are sequentially tested based on the testing service.
In one embodiment of the invention, the object to be tested can be a registration website of a hospital, such as performing automatic registration test for the registration website of each hospital; the object to be tested can also be an online inquiry website of a hospital, a network bad information reporting website and the like. The method comprises the following steps of sequentially testing a plurality of objects to be tested, namely testing the objects to be tested one by one according to a certain sequence.
In an embodiment of the present invention, a test script may be loaded based on a test service, and then the plurality of objects to be tested may be sequentially tested through the test script.
In step S320, a test process for the plurality of objects to be tested is monitored.
In one embodiment of the invention, a monitoring thread may be created to monitor the testing process of a plurality of objects to be tested based on the monitoring thread.
In an embodiment of the invention, a first identification code for identifying whether the test script completes execution and a second identification code for identifying whether the test script is abnormal in execution may be set in the test script, and whether an abnormality occurs in the test process may be further determined according to the first identification code and the second identification code. For example, a value of 0 for the first identification code indicates that the execution of the test script is not completed, and a value of 1 for the first identification code indicates that the execution of the test script is completed; the value of the second identification code is 0, which indicates that no abnormality occurs in the test process, and the value of the second identification code is 1, which indicates that an abnormality occurs in the test process.
In an embodiment of the present invention, based on the first identification code and the second identification code, if it is determined that the test script is not executed completely according to the first identification code, and it is determined that the test script to be tested is executed abnormally according to the second identification code, it is determined that it is monitored that the test process for the plurality of objects to be tested is abnormal.
In an embodiment of the present invention, it may be determined whether the execution of the test script is completed according to the first identification code every predetermined time, and it may be determined whether the execution of the script to be tested is abnormal according to the second identification code. Namely, whether the test process is abnormal or not is determined according to the value of the first identification code and the value of the second identification code at intervals.
Continuing to refer to fig. 3, in step S330, if it is detected that an abnormality occurs in the test process for the multiple objects to be tested, recording the target object to be tested in which the abnormality occurs.
In an embodiment of the present invention, the recording of the target object to be tested with the abnormality may be recording an identifier of the target object to be tested, and the like.
In step S340, the testing service is restarted, and other objects to be tested after the target object to be tested are tested according to the testing sequence of the plurality of objects to be tested.
In one embodiment of the present invention, a third identification code for identifying the test progress of the plurality of objects to be tested may be generated in advance, and the value of the third identification code may be adjusted after the test of any one of the objects to be tested is completed, so that the test progress of the plurality of objects to be tested may be determined by the value of the third identification code. And the target object to be tested and the other objects to be tested can be determined according to the value of the third identification code after the test service is restarted.
The technical scheme of the embodiment shown in fig. 3 enables a target object to be tested with an abnormality to be automatically recorded when a plurality of objects to be tested are tested, and tests other next objects to be tested after restarting the test service, thereby realizing the abnormal restart of the test service and the continuity of the test process, and further improving the test efficiency; meanwhile, an automatic testing process is realized, the workload of testing personnel is reduced, the labor cost is reduced, and the testing efficiency can be improved.
Fig. 4 schematically shows a flowchart of an automatic test method according to another embodiment of the present invention, which further includes the following steps on the basis of step S310, step S320 and step S330 shown in fig. 3:
and step S410, restarting the test service, and testing the target object to be tested again.
Step S420, if the target object to be tested is tested again abnormally, skipping the target object to be tested to test other objects to be tested after the target object to be tested.
The technical scheme of the embodiment shown in fig. 4 enables the test service to be restarted after an abnormality occurs in the test process, and the test service tries again for the object to be tested with the abnormality, and then tests the next other objects to be tested.
Based on the technical solutions of the embodiments shown in fig. 3 and fig. 4, in an embodiment of the present invention, before a plurality of objects to be tested are tested in sequence based on a test service, a test address corresponding to each object to be tested in the plurality of objects to be tested may be obtained; based on this, step S310 may include: and sequentially calling the test address corresponding to each object to be tested based on the test service, and testing each function in the page corresponding to the test address based on the test script so as to test each object to be tested.
In this embodiment, for example, the test address corresponding to each object to be tested may be an address of a network registration website of a hospital, and then each function (such as selecting a department, selecting a date, selecting a doctor, etc.) in the website may be tested based on the test script.
In an embodiment of the present invention, an operation instruction set corresponding to the page may be called based on the test script, so as to test each function in the page according to the operation instruction set. For example, an operation instruction set is generated in advance for a page to be tested, and then the operation instruction set is called to test each function in the page during testing.
In one embodiment of the invention, a user-selected test platform may also be received prior to testing; and then calling the test address corresponding to each object to be tested on the test platform in sequence based on the test service.
In this embodiment, the test platform may be an operating system platform of the terminal, such as an IOS platform, an android platform, or the like.
Based on the technical solution of the foregoing embodiment, in an embodiment of the present invention, the automatic testing method may further include: after the plurality of objects to be tested are tested, generating a test report according to the test result of each object to be tested in the plurality of objects to be tested. According to the technical scheme of the embodiment, the test report can be automatically generated without manual completion of testers, so that the labor cost is saved, and the generation efficiency of the test report can be improved.
In one embodiment of the invention, after the test report is generated, the test report may be sent to a terminal of a designated person. For example, the test report may be sent to the terminal of the designated person by means of mail, short message, or instant messaging.
The technical scheme of the embodiment of the invention is explained in detail by taking the test of the on-line registration page of the hospital as an example.
In an embodiment of the invention, when the online registration needs to be tested, a tester can select a certain partner (e.g., a medical institution needing to be tested, such as a hospitalizing 160 and an interest medical network), select a tested platform (e.g., an android platform), select a certain idle model (e.g., a specific mobile phone model), upload a test link document of the partner (the test link document contains a plurality of links to be tested, and realizes batch uploading) or directly fill in a test link of the partner, and after the test is executed, the manual registration and registration cancellation operation can be simulated according to a corresponding operation instruction, and the operation result is subjected to statistical calculation and fed back to a user interface for analysis by the tester.
The method mainly comprises the following key technical points:
1) and presetting an operation instruction: the process is to pack various operation instructions for testing the page to generate an operation instruction set so as to call the operation instruction set to realize automatic testing. Such as packing the following instructions into an instruction set (which may be in the form of a jar packet): starting a certain platform, opening the tested website, selecting a department, a doctor and the like, performing registration operation, and canceling the registration operation after the registration is successful. In an embodiment of the present invention, the operation instruction of the page may be implemented by an apple (an automation framework of a mobile terminal, which may be used to test native applications, mobile web applications, and hybrid applications, and is a cross-platform UI test framework with a version of UI 4.1 or more, which is provided by Google official, for UI test, which may acquire all view elements and spaces on the interface, and may also be used to perform functionality test and simulate clicking on control elements on the interface).
2. Drawing an interface: drawing a corresponding UI (user interface) based on the operation of the tester, and giving corresponding functions to the tester so that the tester can perform corresponding operations (such as url uploading, test parameter setting and the like) on the UI, and after the tester completes the operations, the background can call the operation instruction set to perform corresponding instruction testing.
3. And in the test process, a monitoring thread needs to be started to monitor the test process, if an exception occurs, the site is protected, and the test process is restarted, so that the test can be continued from the exception point of the last test.
Specifically, although the test script avoids the abnormal situation of each page from the hospital home page to the registration details, it still cannot eliminate the extreme UI abnormal situation, such as unpredictable situations that a page generates page messy codes or control deformation, "system abnormal" pop-up window, "network error" pop-up window, registration of a particular hospital cannot jump to a specified page, black screen and white screen, and the like, so that the UI element cannot be located, the Appium test service is stopped, and the registration test cannot be performed on the subsequent remaining hospitals. In this case, if the app service is restarted and then the registration test is started from the first hospital, not only is more garbage data generated on the hospital side in the normal environment, but also the test time is wasted.
Therefore, in the embodiment of the invention, a monitoring function can be added into the test script, the test script starts a monitoring thread to monitor the test process when executing, when the test abnormality is monitored, a hospital with the test abnormality is marked, then the application service is restarted, the registration test of the hospital is tried again, if an error occurs, the hospital is skipped to continue the registration test of other hospitals, and meanwhile, the hospital information with the registration abnormality is recorded into the test result. Therefore, the technical scheme of the embodiment of the invention reduces the risk of interruption of the test process and saves the test time.
In an embodiment of the present invention, the monitoring thread monitors the execution process of the test script, and simultaneously may set a global flag "isDone" to indicate whether the test script has been run completely, and set a global flag "isException" to indicate whether the test script has been run abnormally. Then, whether the test script runs completely or not can be judged according to the 'isDone' every 10 seconds (numerical values are only examples), whether the test script runs abnormally or not is judged according to the 'isException', and if the test script does not run completely but is abnormal, the test service is restarted.
In an embodiment of the invention, because registration test needs to be performed on a plurality of hospitals, a registered hospital progress value mark can be set and stored in the database, and the mark is valued in the database after the test script runs so as to be used as a starting value of hospital list circulation. And when one hospital is tested, mark +1 is used, if the test of the hospital is abnormal, the same mark +1 is used, so that after the abnormal test occurs and the test service is restarted, the next value of the mark skips the abnormal hospital.
4. And setting a timing task to regularly monitor whether the registration service of each partner is normal, and if the registration service of each partner is abnormal, sending a notification mail to a concerned person.
In one embodiment of the present invention, as shown in fig. 5, which is a schematic interface diagram of a medical registration automated testing system according to one embodiment of the present invention, a tester can open the system by opening an application program or directly inputting a website of the testing system.
Before testing, the tester can perform corresponding operations in the page to set relevant parameters, such as selecting a partner through the pull-down menu 501, the partner including a partner in use in the formal environment and in a debugging stage in the testing environment, such as hospitalizing 160, fun medical network, and the like. The url (which may be one or more) of the hospital under test can be manually entered via the text box 502; or uploading the url file of the hospital to be tested by triggering the control 503, so that a plurality of urls can be specified in a batch uploading manner, wherein the file template of the url can be downloaded by clicking the 'file template download' control in the interface.
Meanwhile, the tester can select whether to start timing monitoring or not through the control 504, and set a corresponding mode, such as setting an integral point test once every day and the like. It is also possible to enter a spotlighter in the text box 505 to send a test report to the spotlighter after the test is completed, such as by mail, short message, instant messaging, etc.
In addition, a tester model (corresponding control not shown in fig. 5) may be selected, which is a model that is tested in the library and is idle for the purpose of testing model compatibility.
After the setting of the tester is completed, the "submit test" control 506 can be triggered, so that the test service can perform automatic operation of registering and canceling the appointment registration for each input url, and a prompt for completing the test can be popped up after the test is completed. When the test is completed, if the "view test report" control 507 is triggered, a test report is presented, such as the test report shown in fig. 6, and information related to the test result is displayed on the test report.
When the export excel table control 601 is triggered in the test report interface shown in fig. 6, the detailed test result excel files are obtained everywhere; when the "9) mail sending" control 602 is triggered in the test report interface shown in fig. 6, the excel list of the test results and the test result summary are sent to the interested person set in fig. 5; when the "view screenshot" control 603 is triggered in the test report interface shown in fig. 6, a screenshot in which the test fails is displayed, specifically, a screenshot in which registration fails and a system is abnormal is displayed as shown in fig. 7.
Based on the technical solution of the above embodiment, in an embodiment of the present invention, as shown in fig. 8, an automatic testing method according to an embodiment of the present invention includes the following steps:
step S801, test data is submitted. Such as the tester submitting the corresponding test data on the interface shown in fig. 5.
Step S802, judging whether url is filled in and/or uploaded, if yes, executing step S803; otherwise, return to step S801.
In step S803, if it is determined that the url is filled and/or the url file is uploaded, the test is started. The url and/or url file filled by the tester are tested in turn.
Step S804, after the test is completed, the test result is sent to the user.
In an embodiment of the present invention, as shown in fig. 9, a hardware architecture diagram of an automatic test system according to an embodiment of the present invention is shown, wherein the hardware architecture diagram mainly includes three parts, namely a client, a server and a test handset. The client may be a client submitting test data, such as a client displaying the interface shown in fig. 5; the server is a server for receiving test data submitted by the client, such as a server for starting a test service and loading a test script for testing; the test mobile phone runs with a corresponding system platform (such as IOS, android and the like) so that the server can test the system platform conveniently. Based on the hardware architecture diagram shown in fig. 9, the process flow among the client, the server and the test handset includes:
step S901, a client sends a test request to a server;
step S902, the server starts a test service, and calls a test script to test a corresponding url on a test mobile phone;
step S903, after the test of the test mobile phone is completed, the server obtains a test result;
and step S904, the server returns the test result to the client so that the client can conveniently present the test result to a tester for checking.
In an embodiment of the present invention, the server may be implemented based on a Struts2Web service framework (in other embodiments of the present invention, it may also be based on a Struts or Spring framework, etc.) and an app automation test framework (in other embodiments of the present invention, it may also be based on a UIautomator or Robotium framework, etc.), and a specific processing flow is shown in fig. 10 and includes:
1. the client (namely the front end) fills in a front end page of a test data submission test request index to the background (namely the server);
2. xml (web.xml) determines which requests need to be responded to, xml (struts.xml) determines the business logic (Action) that needs to be executed;
3. the service logic (Action) judges the correctness of the request parameters, returns to different pages, executes different test codes (Runjar), judges whether continuous integration test is needed or not, and starts a timer (Timers) to execute the continuous integration test if the continuous integration test is needed;
4. the DataBase (DataBase) saves and backs up the test request data;
5. executing the test script according to the request data, and simultaneously creating a monitoring thread (Threadmonitor) to monitor the test process and process the exception;
6. generating test result data by the test script and storing the test result data into a database in real time, and continuously executing the test from an abnormal point when the test is restarted abnormally (Restart);
7. and sending a test report mail after the test is finished, and attaching test result data.
In one embodiment of the present invention, a process of testing a registration page of a hospital may be as shown in fig. 11, including the following steps:
in step S1101, the app service is started. Such as launching the appum service in the server and connecting to the test handset while launching the main thread (i.e., the test thread) and the monitoring thread. And if the monitoring thread monitors that the main thread is abnormal, the main thread is restarted.
Step S1102, a test script is called by a test service (i.e., an Appium service) in the server to enable the test handset to enter a registration page to be tested. Meanwhile, the server can acquire hospital data to be tested from the test file uploaded by the client, so that the hospital data can be conveniently used in subsequent tests.
And step S1103, calling the test script to enable the test mobile phone to enter a hospital page.
Step S1104, judging whether there is a department hangable room, if so, executing step S1105; otherwise, ending and recording the result.
In step S1105, a department is selected.
Step S1106, judging whether a signal source exists or not, and if so, executing step S1107; otherwise, the process returns to step S1105 to reselect another department.
Step S1107, selects the registration date/doctor. For example, the last date may be selected for registration, so that the function of canceling registration is tested later.
Step S1108, registration is performed.
Step S1109, determining whether the registration is successful, if so, executing step S1110; otherwise, ending and recording the result.
Step S1110, cancel registration, and return the result to the database.
The technical scheme of the embodiment of the invention realizes one-stop test service of submitting test, executing test and returning test results, does not need to manually execute a large amount of repeated registration operation, greatly liberates manpower and simplifies the test flow; different test scripts can be run according to different partners, and test results can be stored in real time; and moreover, a monitoring thread is introduced, abnormal conditions which may occur during testing are processed, and abnormal restarting and breakpoint continuous running are realized. In addition, the technical scheme of the embodiment of the invention has better expansibility, and can expand and carry the test requirements of other script types.
It should be noted that the automatic testing scheme of the embodiment of the present invention is not only applicable to registration services, but also applicable to on-line inquiry tests, such as inquiry tests performed with multiple hospital doctors of multiple partners, and also applicable to tests of other non-medical services, such as services requiring testing of multiple partners or multiple cities in urban services (e.g., network bad information reporting, online residence certificate handling, and the like).
Embodiments of the apparatus of the present invention are described below, which may be used to perform the automatic test method of the above-described embodiments of the present invention. For details that are not disclosed in the embodiments of the apparatus of the present invention, refer to the embodiments of the automatic testing method of the present invention.
FIG. 12 schematically illustrates a block diagram of an automatic test equipment, according to one embodiment of the present invention.
Referring to fig. 12, an automatic test apparatus 120 according to an embodiment of the present invention includes: a test unit 121, a monitoring unit 122, a recording unit 123 and a processing unit 124.
The testing unit 121 is configured to start a testing service, and sequentially test a plurality of objects to be tested based on the testing service; the monitoring unit 122 is used for monitoring the test process of the plurality of objects to be tested; the recording unit 123 is configured to record a target object to be tested, which is abnormal when it is monitored that the test process of the plurality of objects to be tested is abnormal; the processing unit 124 is configured to restart the testing service, and test other objects to be tested after the target object to be tested according to the testing sequence of the plurality of objects to be tested.
In an embodiment of the present invention, based on the foregoing solution, the processing unit 124 is further configured to, after restarting the testing service, test the target object to be tested again; and if the target object to be tested is tested again abnormally, skipping the target object to be tested to test other objects to be tested behind the target object to be tested.
In an embodiment of the present invention, based on the foregoing solution, the test unit 121 is configured to: and loading a test script based on the test service so as to test the plurality of objects to be tested in sequence.
In an embodiment of the present invention, based on the foregoing solution, the test script includes a first identification code for identifying whether the execution of the test script is completed and a second identification code for identifying whether the execution of the test script is abnormal; the monitoring unit 122 is configured to: and if the test script is determined not to be executed completely according to the first identification code and the script to be tested is determined to be executed abnormally according to the second identification code, determining that the test process of the plurality of objects to be tested is monitored to be abnormal.
In an embodiment of the present invention, based on the foregoing solution, the monitoring unit 122 is configured to: and determining whether the execution of the test script is finished according to the first identification code every preset time, and determining whether the execution of the script to be tested is abnormal according to the second identification code.
In an embodiment of the present invention, based on the foregoing solution, the automatic testing apparatus 120 further includes: the first generating unit is used for generating a third identification code used for identifying the test progress of the plurality of objects to be tested; and the adjusting unit is used for adjusting the value of the third identification code after the testing of any one of the plurality of objects to be tested is completed.
In an embodiment of the present invention, based on the foregoing solution, the processing unit 124 is further configured to: and after the test service is restarted, determining the target object to be tested and the other objects to be tested according to the value of the third identification code.
In an embodiment of the present invention, based on the foregoing solution, the automatic testing apparatus 120 further includes: and the second generating unit is used for generating a test report according to the test result of each object to be tested in the plurality of objects to be tested after the plurality of objects to be tested are tested.
In an embodiment of the present invention, based on the foregoing solution, the automatic testing apparatus 120 further includes: and the sending unit is used for sending the test report to a terminal of a designated person after the test report is generated.
In an embodiment of the present invention, based on the foregoing solution, the automatic testing apparatus 120 further includes: the acquisition unit is used for acquiring a test address corresponding to each object to be tested in the plurality of objects to be tested; the test unit 121 is configured to: and sequentially calling the test address corresponding to each object to be tested based on the test service, and testing each function in the page corresponding to the test address based on the test script so as to test each object to be tested.
In an embodiment of the present invention, based on the foregoing solution, the automatic testing apparatus 120 further includes: the receiving unit is used for receiving the test platform selected by the user; the test unit 121 is configured to: and calling the test address corresponding to each object to be tested on the test platform in sequence based on the test service.
In an embodiment of the present invention, based on the foregoing solution, the test unit 121 is configured to: and calling an operation instruction set corresponding to the page based on the test script so as to test each function in the page according to the operation instruction set.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. An automatic test method, comprising:
the front end submits a test request to a request filter in the background through an index front end page;
the background determines the request needing to be responded through the request filter and determines the service logic needing to be executed through the logic controller;
the background judges the correctness of the request parameters through the service logic, returns to different pages, executes different test codes, judges whether a continuous integration test is needed or not, and starts a timer to execute the continuous integration test if the continuous integration test is needed;
the background sends the request data to a database through the service logic for storage and backup;
the background reads the request data from the database, starts a test service, executes a test script according to the request data, simultaneously creates a monitoring thread, and sequentially tests a plurality of objects to be tested based on the test service, wherein the objects to be tested are the objects to be tested, and the objects to be tested comprise web pages;
the background monitors the test process of the plurality of objects to be tested through the monitoring thread; if the test process of the multiple objects to be tested is monitored to be abnormal, recording the target objects to be tested with the abnormal conditions, wherein the abnormal conditions comprise the abnormal conditions of the webpage in which UI elements cannot be positioned; restarting the test service, and testing the target object to be tested again; if the target object to be tested is tested again abnormally, skipping the testing process of the target object to be tested, and testing other objects to be tested behind the target object to be tested according to the testing sequence of the plurality of objects to be tested;
the background generates a test result through the test script and stores the test result in a database in real time;
after the plurality of objects to be tested are tested, generating a test report according to the test result of each object to be tested in the plurality of objects to be tested;
if the control for viewing the test report is triggered, presenting a test report interface,
if a control for exporting the excel table in the test report interface is triggered, exporting a detailed test result excel file;
if the control for sending the mail in the test report interface is triggered, sending the excel table of the test result and the test result summary to a set interested person;
and if the control for viewing the screenshots in the test report interface is triggered, displaying screenshots which fail the test, and displaying screenshots which fail registration and are abnormal to the system.
2. The automatic test method of claim 1, wherein sequentially testing a plurality of objects to be tested based on the test service comprises:
and loading a test script based on the test service so as to test the plurality of objects to be tested in sequence.
3. The automatic test method according to claim 2, wherein the test script comprises a first identification code for identifying whether the execution of the test script is completed and a second identification code for identifying whether the execution of the test script is abnormal;
the automatic test method further comprises the following steps: and if the test script is determined not to be executed completely according to the first identification code and the test script is determined to be executed abnormally according to the second identification code, determining that the test process of the plurality of objects to be tested is monitored to be abnormal.
4. The automatic test method of claim 3, wherein, every predetermined time interval, whether the execution of the test script is completed is determined according to the first identification code, and whether the execution of the test script is abnormal is determined according to the second identification code.
5. The automatic test method of claim 1, further comprising:
generating a third identification code for identifying the test progress of the plurality of objects to be tested;
adjusting a value of the third identification code after completion of testing any one of the plurality of objects to be tested.
6. The automatic test method of claim 5, further comprising:
and after the test service is restarted, determining the target object to be tested and the other objects to be tested according to the value of the third identification code.
7. The automatic test method according to any one of claims 1 to 6, further comprising, before sequentially testing a plurality of objects to be tested based on the test service: acquiring a test address corresponding to each object to be tested in the plurality of objects to be tested;
sequentially testing a plurality of objects to be tested based on the testing service, comprising: and sequentially calling the test address corresponding to each object to be tested based on the test service, and testing each function in the page corresponding to the test address based on the test script so as to test each object to be tested.
8. The automatic test method of claim 7, further comprising, before sequentially testing a plurality of objects to be tested based on the test service: receiving a test platform selected by a user;
based on the test service, sequentially calling the test address corresponding to each object to be tested, including: and calling the test address corresponding to each object to be tested on the test platform in sequence based on the test service.
9. The automatic test method of claim 7, wherein testing each function in the page corresponding to the test address based on the test script comprises:
and calling an operation instruction set corresponding to the page based on the test script so as to test each function in the page according to the operation instruction set.
10. An automatic testing device is characterized in that,
the device receives a test request submitted by a front end through an index front end page through a request filter;
the device determines the request needing to be responded through the request filter and determines the service logic needing to be executed through the logic controller;
the device judges the correctness of the request parameters through the service logic, returns to different pages, executes different test codes, judges whether continuous integration test is needed or not, and starts a timer to execute the continuous integration test if the continuous integration test is needed;
the device sends the request data to a database for storage and backup through the service logic;
the device comprises:
the testing unit is used for reading the request data from the database, starting testing service, executing a testing script according to the request data, simultaneously creating a monitoring thread, and sequentially testing a plurality of objects to be tested based on the testing service, wherein the objects to be tested are the objects to be tested, and the objects to be tested comprise web pages;
the monitoring unit is used for monitoring the test process of the plurality of objects to be tested through the monitoring thread;
the recording unit is used for recording the abnormal target objects to be tested when monitoring that the test process of the multiple objects to be tested is abnormal, wherein the abnormality comprises the abnormality that the UI elements cannot be positioned in the webpage;
the processing unit is used for restarting the test service and testing the target object to be tested again; if the target object to be tested is tested again abnormally, skipping the testing process of the target object to be tested, and testing other objects to be tested behind the target object to be tested according to the testing sequence of the plurality of objects to be tested;
the device generates a test result through the test script and stores the test result in a database in real time;
after the device finishes testing the plurality of objects to be tested, generating a test report according to the test result of each object to be tested in the plurality of objects to be tested;
if the control for viewing the test report is triggered, presenting a test report interface,
if a control for exporting the excel table in the test report interface is triggered, exporting a detailed test result excel file;
if the control for sending the mail in the test report interface is triggered, sending the excel table of the test result and the test result summary to a set interested person;
and if the control for checking the screenshot in the test report interface is triggered, displaying the screenshot which does not pass the test, and displaying the screenshot which fails in registration and is abnormal to the system.
11. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out an automatic test method according to any one of claims 1 to 9.
12. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the automatic test method of any one of claims 1 to 9.
CN201810387086.6A 2018-04-26 2018-04-26 Automatic test method, device, computer readable medium and electronic equipment Active CN108647141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810387086.6A CN108647141B (en) 2018-04-26 2018-04-26 Automatic test method, device, computer readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810387086.6A CN108647141B (en) 2018-04-26 2018-04-26 Automatic test method, device, computer readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108647141A CN108647141A (en) 2018-10-12
CN108647141B true CN108647141B (en) 2022-09-09

Family

ID=63747951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810387086.6A Active CN108647141B (en) 2018-04-26 2018-04-26 Automatic test method, device, computer readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108647141B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634782B (en) * 2018-12-06 2021-05-04 Oppo广东移动通信有限公司 Method and device for detecting system robustness, storage medium and terminal
CN109710465A (en) * 2018-12-29 2019-05-03 出门问问信息科技有限公司 The initial method of smartwatch and its locating module, device and electronic equipment
CN109919578A (en) * 2019-02-26 2019-06-21 浪潮金融信息技术有限公司 A kind of business processing flow optimization method based on Hybrid
CN110716778B (en) * 2019-09-10 2023-09-26 创新先进技术有限公司 Application compatibility testing method, device and system
CN111414306A (en) * 2020-03-20 2020-07-14 深圳忆联信息系统有限公司 Method and device for generating and sending test reports in batches and computer equipment
CN111694711A (en) * 2020-06-10 2020-09-22 浪潮商用机器有限公司 Server equipment monitoring method, device, equipment and readable storage medium
CN112306873B (en) * 2020-10-30 2024-02-09 云账户技术(天津)有限公司 Method and device for managing online flow and electronic equipment
CN112416777B (en) * 2020-11-23 2022-11-18 珠海格力电器股份有限公司 Text display test method and device, computer equipment and storage medium
CN113836035B (en) * 2021-10-14 2024-03-01 东莞新能安科技有限公司 Battery management system testing method and device and electronic equipment
CN114995360B (en) * 2022-07-28 2022-12-13 浙江国利网安科技有限公司 Test method, system, medium and equipment for industrial control systems with different specifications
CN117041534B (en) * 2023-10-08 2024-01-02 天津华来科技股份有限公司 Binding performance testing method for intelligent camera

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268666A (en) * 2005-03-25 2006-10-05 Fujitsu Ltd Automatic test system with correction function, automatic test method, and program
CN1932776A (en) * 2006-09-29 2007-03-21 上海科泰世纪科技有限公司 Automatic operating method for interface test in embedded operating system
CN106598594A (en) * 2016-12-14 2017-04-26 捷开通讯(深圳)有限公司 Test system and method for quickly restoring test program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2297994A1 (en) * 2000-02-04 2001-08-04 Ibm Canada Limited-Ibm Canada Limitee Automated testing computer system components
CN101226501A (en) * 2008-02-20 2008-07-23 福建星网锐捷网络有限公司 Method and device for monitoring test
CN104731701B (en) * 2013-12-23 2018-04-27 展讯通信(上海)有限公司 Test system and the method and apparatus for performing test assignment
US9396098B2 (en) * 2014-03-26 2016-07-19 Mckesson Financial Holdings Apparatuses, methods, and computer program products for conducting automated tests
US9767009B2 (en) * 2014-11-10 2017-09-19 International Business Machines Corporation Adaptation of automated test scripts
CN107908494B (en) * 2017-11-10 2021-05-07 泰康保险集团股份有限公司 Abnormal event processing method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268666A (en) * 2005-03-25 2006-10-05 Fujitsu Ltd Automatic test system with correction function, automatic test method, and program
CN1932776A (en) * 2006-09-29 2007-03-21 上海科泰世纪科技有限公司 Automatic operating method for interface test in embedded operating system
CN106598594A (en) * 2016-12-14 2017-04-26 捷开通讯(深圳)有限公司 Test system and method for quickly restoring test program

Also Published As

Publication number Publication date
CN108647141A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN108647141B (en) Automatic test method, device, computer readable medium and electronic equipment
US11467952B2 (en) API driven continuous testing systems for testing disparate software
CN109302522B (en) Test method, test device, computer system, and computer medium
US8898643B2 (en) Application trace replay and simulation systems and methods
US20150331779A1 (en) Framework to accommodate test plan changes without affecting or interrupting test execution
CN109684188B (en) Test method and device
CN107508720B (en) Automatic testing method and device
CN108134708B (en) Method and device for monitoring third-party interface
CN109344066B (en) Method, system and terminal for testing browser page
US10795793B1 (en) Method and system for simulating system failures using domain-specific language constructs
CN115065652B (en) Message reply method and device, storage medium and computer equipment
CN110221948A (en) Test script generation method, device, computer installation and storage medium
CN113535567B (en) Software testing method, device, equipment and medium
CN109388420A (en) Application upgrade test method, device, computer equipment and storage medium
JP2017016507A (en) Test management system and program
CN111221727B (en) Test method, test device, electronic equipment and computer readable medium
CN110727575A (en) Information processing method, system, device and storage medium
CN109815083B (en) Application crash monitoring method and device, electronic equipment and medium
CN110851688A (en) Page request method, device and equipment
US20150156090A1 (en) Systems and Methods for Monitoring Multiple Services
KR101691929B1 (en) An apparatus for implementing an automation of a web user interface and method therefor
CN114328257A (en) Automatic test case execution method and system and electronic equipment
CN113626392A (en) Method and device for updating document data, electronic equipment and storage medium
US20160275002A1 (en) Image capture in application lifecycle management for documentation and support
CN112882948A (en) Stability testing method, device and system for application 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