CN112099472A - Automatic testing method and device, electronic equipment and storage medium - Google Patents

Automatic testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112099472A
CN112099472A CN202010917229.7A CN202010917229A CN112099472A CN 112099472 A CN112099472 A CN 112099472A CN 202010917229 A CN202010917229 A CN 202010917229A CN 112099472 A CN112099472 A CN 112099472A
Authority
CN
China
Prior art keywords
test
automatic
platform
train
cross
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.)
Pending
Application number
CN202010917229.7A
Other languages
Chinese (zh)
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.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit 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 CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202010917229.7A priority Critical patent/CN112099472A/en
Publication of CN112099472A publication Critical patent/CN112099472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The embodiment of the invention provides an automatic testing method, an automatic testing device, electronic equipment and a storage medium, wherein the method comprises the following steps: calling a test script case for testing the automatic control system of the train; and in an automatic test platform, based on the test script case, executing an automatic test process of the automatic train control system through cross-platform automatic test software running in the automatic test platform. According to the embodiment of the invention, by introducing cross-platform automatic test software, the automatic test process of the train automatic control system is executed based on the test script case of the system operation scene in the automatic test platform, the multiplexing of the test case is improved, the test efficiency is improved, and the reliability of the test activity is ensured.

Description

Automatic testing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of automatic control of trains, in particular to an automatic testing method, an automatic testing device, electronic equipment and a storage medium.
Background
The communication-based train automatic control system realizes the two-way communication between a train and ground equipment by using a communication network, and replaces fixed track section block with the train position reported in real time and the mobile block for calculating mobile authorization, and the test of the train operation control system is an important means for ensuring the safety and reliability of the train automatic control system.
The existing train operation control test process comprises the following steps: manually compiling test cases, executing test cases, and recording test results can take a significant amount of time. In addition, manual participation in the testing process easily causes errors and influences the testing quality.
Therefore, how to provide a testing method capable of improving testing efficiency and quality is a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides an automatic testing method, an automatic testing device, electronic equipment and a storage medium, which are used for overcoming the defects of long time consumption and easy error in the prior art and realizing efficient and accurate automatic testing.
The embodiment of the invention provides an automatic testing method, which comprises the following steps:
calling a test script case for testing the automatic control system of the train;
and in an automatic test platform, based on the test script case, executing an automatic test process of the automatic train control system through cross-platform automatic test software running in the automatic test platform.
According to an embodiment of the invention, the cross-platform automatic testing software comprises: cross-platform black box automated testing software Eggplant.
According to the automatic testing method of one embodiment of the present invention, the automatic testing process of the train automatic control system is executed through the cross-platform automatic testing software running in the automatic testing platform based on the testing script case, and the automatic testing process includes any one or a combination of the following:
in the running process of a Train, determining that the HMI monitoring state is normal in the cross-platform Automatic test software, and determining that the test result is normal after the ATS and the CI section display state are normal, wherein the HMI monitoring state is normal in the Train Automatic monitoring system ATS (Automatic Train monitoring system), the computer interlocking CI (computer interlock), the Zone Controller ZC (Zone Controller), the Automatic Train protection system ATP (Automatic Train protection) and the Automatic Train driving system ATO (Automatic Train operation) state are normal, and otherwise, determining that the test result is abnormal;
after the train stops running, the cross-platform automatic test software determines that the preset action of stopping the train is normally completed through the ATS, the ATP, the ATO, the ZC and the CI, determines that the test result is normal after the non-preset action of stopping the train does not occur, and otherwise, determines that the test result is abnormal;
before the train is ready to be restarted, the cross-platform automatic test software determines that the train restarting preset action is normally completed through the ATS, the ATP, the ATO, the ZC and the CI, determines that the test result is normal after determining that the non-train restarting preset action does not occur, and otherwise determines that the test result is abnormal.
According to an embodiment of the automated testing method of the present invention, after determining that the test result is abnormal, the method further includes:
and acquiring alarm information in the ATS, the CI, the ZC, the ATP and the ATO, and determining the time and the place of the abnormal occurrence based on the alarm information.
According to an embodiment of the automated testing method of the present invention, after determining that the test result is abnormal, the method further includes:
restarting the automatic test process in the automatic test platform, and calling the next test script case to execute the corresponding automatic test process.
An automated testing method according to one embodiment of the invention, the method further comprising:
and respectively recording test logs generated by the cross-platform automatic test software, the ATS, the CI, the ZC, the ATP and the ATO in the automatic test process.
According to an embodiment of the automated testing method, before the calling the test script case, the method further comprises:
at least one test script case is written.
In a second aspect, an embodiment of the present invention provides an automatic testing apparatus, including:
the calling module is used for calling a test script case for testing the automatic train control system;
and the test module is used for executing an automatic test process of the automatic train control system in an automatic test platform through cross-platform automatic test software running in the automatic test platform based on the test script case.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the automated testing method provided in the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the automated testing method as provided in the first aspect.
According to the automatic testing method, the automatic testing device, the electronic equipment and the storage medium, the cross-platform automatic testing software is introduced, so that the automatic testing process of the automatic train control system is executed based on the testing script case of the system operation scene in the automatic testing platform, the multiplexing of the testing case is improved, the testing efficiency is improved, and the reliability of the testing activity is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an automated testing method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an automatic test apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In recent years, as urban rail transit is rapidly developed, a CBTC (Communication Based Train Control) system becomes a development trend of a signal system due to the characteristics of safety and high efficiency, and a mature CBTC technology has entered a project commissioning phase. Therefore, the CBTC system must be fully and rigorously tested and validated. However, in the existing testing process, a large amount of manual work is involved, errors are easily caused, and the testing efficiency is too low.
The cross-platform black box automatic test software Eggplant is an innovative automatic test tool, drives the existing test system to realize automatic test operation, and greatly improves the functional test efficiency of the existing test system.
Therefore, in order to avoid the defects caused by manual participation in the testing process in the prior art, the main concept of each embodiment of the invention is as follows: a CBTC (Personal Computer) system based on a PC (Personal Computer) version is built on a cloud platform, subsystems such as CI (public communication interface), ZC (zero crossing point), ATS (automatic train tracking system), ATP (automatic train tracking system) and ATO (automatic train tracking system) in the automatic train control system, a real object agent and the PC version subsystem are linked through a distributed simulation system, and automatic scene test of system delivery test is realized through a simulation system by using cross-platform automatic test software. The subsystems can automatically record logs generated during system operation, the system can play back the logs through the operation logs, and after the test is finished, the test records are automatically output. If the operation is abnormal, part of processes or subsystems in the test platform are automatically restarted according to the fault scene or the code, and the next test case is executed, so that the automatic test efficiency is improved.
The following is explained in detail based on a plurality of embodiments.
Fig. 1 is a schematic flow chart of an automated testing method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step 100, calling a test script case for testing an automatic train control system;
specifically, in the testing process, the test script case may instruct execution of the testing work, and therefore, in this embodiment, before the automatic test is executed, the test script case for testing the train automatic control system may be called first.
And 101, executing an automatic test process of the train automatic control system in an automatic test platform through cross-platform automatic test software running in the automatic test platform based on the test script case.
Specifically, because the existing test method for the train automatic control system cannot be realized on a computer in a cross-platform manner, that is, full-automatic execution through the computer cannot be realized, that is, in this embodiment, an automatic test platform can be set up, and a test environment is set up for cross-platform automatic test software and the automatic control system to be tested.
Specifically, after the automatic test platform is built, when the automatic test is required, the automatic test environment of the automatic test platform can be started, and based on the obtained test script case, the automatic test process of the train automatic control system is executed through cross-platform automatic test software running in the automatic test platform.
It can be understood that, in this embodiment, after the automated testing environment of the automated testing platform is started, before the formal automated testing process is started, the running state of the testing environment may be checked, and if a fault occurs, the fault processing module is entered to perform fault processing.
According to the automatic testing method, the automatic testing device, the electronic equipment and the storage medium, the cross-platform automatic testing software is introduced, so that the automatic testing process of the automatic train control system is executed based on the testing script case of the system operation scene in the automatic testing platform, the multiplexing of the testing case is improved, the testing efficiency is improved, and the reliability of the testing activity is ensured.
On the basis of the foregoing embodiment, optionally, the cross-platform automated testing software includes: cross-platform black box automated testing software Eggplant.
Specifically, because the testing method of the existing train automatic control system cannot be realized on a computer in a cross-platform manner, and the cross-platform black box automatic testing software EggPlant is just suitable for the cross-platform automatic testing, in this embodiment, the cross-platform automatic testing software for executing the automatic testing process of the train automatic control system may be the cross-platform black box automatic testing software EggPlant.
On the basis of the foregoing embodiment, optionally, the automatic test process of the train automatic control system is executed through cross-platform automatic test software running in the automatic test platform based on the test script case, where the process includes any one of the following items or a combination thereof:
in the running process of a train, determining that the HMI monitoring state is normal, the ATS, the CI, the ZC, the ATP and the ATO of the automatic train protection system are normal in the cross-platform automatic test software, and determining that the test result is normal after the display states of the ATS and the CI are normal, otherwise, determining that the test result is abnormal;
specifically, in the running process of a Train, the working states of all subsystems can be monitored in real time through cross-platform Automatic test software, if a Train Automatic monitoring system ATS (Automatic Train monitoring system), a computer interlocking CI (computer interlocking), a Zone Controller ZC (Zone Controller), an Automatic Train protection system ATP (Automatic Train protection) and an Automatic Train driving system ATO (Automatic Train operation) are normal in state, the states of the ATS and the CI display Zone occupation, the output request and the unlocking state are normal, and an HMI (human Machine interface) does not display abnormal alarm information in the running process of the Train, the test result is determined to be normal, otherwise, the test result is determined to be abnormal; specifically, in this embodiment, after the automated testing environment of the automated testing platform is started and the running state of the testing environment is checked, a preparation process may be executed before the Train automatic Control system is tested, the automated testing script is executed first, the ATS automatically arranges routes according to the destination, automatically establishes a Train on a switching track, automatically drives the Train to establish a location based on the testing script case, completes a head screen, and upgrades the head screen to a Train with a CTC grade (Communication Train Control, Control grade of CBTC grade).
Specifically, after the CTC grade of the train is upgraded, an ATO button is automatically pressed through cross-platform automatic test software, and the train is automatically driven; in the running process of the train, the cross-platform automatic test software can test whether the host machine monitors the HMI state normally, determine whether the unlocking of the ATS display section is normal, determine whether the display of the ATS and the CI section is consistent, determine that the test result is normal only if the display of the ATS and the display of the CI section are both determined to be normal, and otherwise, determine that the test result is abnormal.
After the train stops running, the cross-platform automatic test software determines that the train stop preset action is normally completed through the ATS, the ATP, the ATO, the ZC and the CI, determines that the test result is normal after the non-train stop preset action does not occur, and otherwise, determines that the test result is abnormal.
Specifically, in the embodiment, the preset actions of stopping the train comprise unlocking a protection section, automatically opening a vehicle door of the train and opening a shielding door.
Specifically, after the train enters the station and stops accurately and stably, namely after the train stops running, the cross-platform automatic test software determines that the protection section is unlocked through ATS, ATP, ATO, ZC and CI, determines that the train automatically opens the train door, determines that the shielding door is opened, namely determines that the train stops and the preset action is normally completed, and meanwhile, the cross-platform automatic test software can check whether the preset action is normally completed or not through image recognition and whether the preset action is in accordance with an expected result or not.
It can be understood that it is also possible to check whether other non-train stop preset actions such as other station door errors are opened or not.
Specifically, in this embodiment, the cross-platform automated testing software determines that the train stop preset action is completed normally, and determines that the test result is normal after determining that the non-train stop preset action does not occur, otherwise, determines that the test result is abnormal;
before the train is ready to be restarted, the cross-platform automatic test software determines that the train restarting preset action is normally completed through the ATS, the ATP, the ATO, the ZC and the CI, determines that the test result is normal after determining that the non-train restarting preset action does not occur, and otherwise determines that the test result is abnormal.
Specifically, in the embodiment, the preset train restarting action includes that the train automatically closes the train door and the shielding door is closed.
Specifically, after the train stop time is over, namely before the train is ready to be restarted, the cross-platform automatic test software determines that the train automatically closes the train door through the ATS, the ATP, the ATO, the ZC and the CI, determines that the shielding door is closed, namely determines that the train restart preset action is normally completed, and meanwhile, the cross-platform automatic test software can check whether the preset action is normally completed through image recognition and whether the preset action is in accordance with expectation.
It will be appreciated that it is also possible to check whether other non-train restart preset actions occur.
Specifically, in this embodiment, the cross-platform automated testing software determines that the train restart preset action is completed normally, and determines that the test result is normal after determining that the non-train restart preset action does not occur, otherwise, determines that the test result is abnormal.
On the basis of the foregoing embodiment, optionally, after determining that the test result is abnormal, the method further includes:
and acquiring alarm information in the ATS, the CI, the ZC, the ATP and the ATO, and determining the time and the place of the abnormal occurrence based on the alarm information.
Specifically, after the test result is determined to be abnormal, alarm information in the ATS, the CI, the zone controller ZC and the ATP can be acquired, and the time and the place of the abnormal occurrence are determined based on the alarm information, so that a tester can check corresponding logs according to the time and the place of the abnormal occurrence in the later period.
On the basis of the foregoing embodiment, optionally, after determining that the test result is abnormal, the method further includes:
restarting the automatic test process in the automatic test platform, and calling the next test script case to execute the corresponding automatic test process.
Specifically, if it is determined that the test result is abnormal, the test result may enter the fault processing module according to a preset action, record a fault phenomenon and a log, restart a part of processes or subsystems in an automated test in the automated test platform, and call a next test script case to execute a corresponding automated test process.
On the basis of the foregoing embodiment, optionally, the method further includes:
and respectively recording test logs generated by the cross-platform automatic test software, the ATS, the CI, the ZC, the ATP and the ATO in the automatic test process.
Specifically, cross-platform automated test software, ATS, CI, ZC, ATP, and ATO may record test logs each generated in an automated test process;
it is understood that the test log recorded by the cross-platform automated test software may be the state of the automated test process corresponding to the test script case, such as a test success or a test process execution exception, and so on.
It can be understood that after a test log is generated in the test process, the cross-platform automated test software can replay the test log through the running log to check abnormal conditions.
It is understood that after the automated testing is completed, the cross-platform automated testing software, ATS, CI, ZC, ATP, and ATO may automatically output a test log.
On the basis of the foregoing embodiment, optionally, before the invoking the test script case, the method further includes:
at least one test script case is written.
Specifically, in this embodiment, the cross-platform automated testing software may control the testing system to write at least one testing script case, and each testing script case may correspond to one automated testing process.
According to the automatic testing method, the automatic testing device, the electronic equipment and the storage medium, the cross-platform automatic testing software is introduced, so that the automatic testing process of the automatic train control system is executed based on the testing script case of the system operation scene in the automatic testing platform, the multiplexing of the testing case is improved, the testing efficiency is improved, and the reliability of the testing activity is ensured.
The following describes an automated testing apparatus provided in an embodiment of the present invention, and the automated testing apparatus described below and the automated testing method described above may be referred to correspondingly.
Fig. 2 is a schematic structural diagram of an automated testing apparatus according to an embodiment of the present invention, and as shown in fig. 2, the automated testing apparatus includes: a calling module 201 and a testing module 202; wherein:
the calling module 201 is used for calling a test script case for testing the train automatic control system;
the test module 202 is configured to execute an automated test process of the train automatic control system in the automated test platform through cross-platform automated test software running in the automated test platform based on the test script case.
Specifically, the automatic testing device calls a test script case for testing the train automatic control system through the calling module 201, and then the test module 202 is used for executing an automatic testing process of the train automatic control system in an automatic testing platform through cross-platform automatic testing software running in the automatic testing platform based on the test script case.
According to the automatic testing device provided by the embodiment of the invention, the automatic testing process of the train automatic control system is executed based on the testing script case of the system operation scene in the automatic testing platform by introducing the cross-platform automatic testing software, so that the multiplexing of the testing case is improved, the testing efficiency is improved, and the reliability of the testing activity is ensured.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)310, a communication Interface (communication Interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication Interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform an automated testing method comprising:
calling a test script case for testing the automatic control system of the train;
and in an automatic test platform, based on the test script case, executing an automatic test process of the automatic train control system through cross-platform automatic test software running in the automatic test platform.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing 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 invention. 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.
In another aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the automated testing method provided by the above-mentioned method embodiments, and the method includes:
calling a test script case for testing the automatic control system of the train;
and in an automatic test platform, based on the test script case, executing an automatic test process of the automatic train control system through cross-platform automatic test software running in the automatic test platform.
In yet another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the automated testing method provided in the foregoing embodiments, and the method includes:
calling a test script case for testing the automatic control system of the train;
and in an automatic test platform, based on the test script case, executing an automatic test process of the automatic train control system through cross-platform automatic test software running in the automatic test platform.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An automated testing method, comprising:
calling a test script case for testing the automatic control system of the train;
and in an automatic test platform, based on the test script case, executing an automatic test process of the automatic train control system through cross-platform automatic test software running in the automatic test platform.
2. The automated testing method of claim 1, wherein the cross-platform automated testing software comprises: cross-platform black box automated testing software Eggplant.
3. The automated testing method according to claim 1, wherein the automated testing process for the train automatic control system is executed by cross-platform automated testing software running in the automated testing platform based on the testing script case, and the automated testing process includes any one or a combination of the following:
in the running process of a train, determining that the HMI monitoring state is normal, the ATS, the CI, the ZC, the ATP and the ATO of the automatic train protection system are normal in the cross-platform automatic test software, and determining that the test result is normal after the display states of the ATS and the CI are normal, otherwise, determining that the test result is abnormal;
after the train stops running, the cross-platform automatic test software determines that the preset action of stopping the train is normally completed through the ATS, the ATP, the ATO, the ZC and the CI, determines that the test result is normal after the non-preset action of stopping the train does not occur, and otherwise, determines that the test result is abnormal;
before the train is ready to be restarted, the cross-platform automatic test software determines that the train restarting preset action is normally completed through the ATS, the ATP, the ATO, the ZC and the CI, determines that the test result is normal after determining that the non-train restarting preset action does not occur, and otherwise determines that the test result is abnormal.
4. The automated testing method of claim 3, wherein upon determining that a test result is anomalous, the method further comprises:
and acquiring alarm information in the ATS, the CI, the ZC, the ATP and the ATO, and determining the time and the place of the abnormal occurrence based on the alarm information.
5. The automated testing method of claim 3, wherein upon determining that a test result is anomalous, the method further comprises:
restarting the automatic test process in the automatic test platform, and calling the next test script case to execute the corresponding automatic test process.
6. The automated testing method of any of claims 1 to 5, further comprising:
and respectively recording test logs generated by the cross-platform automatic test software, the ATS, the CI, the ZC, the ATP and the ATO in the automatic test process.
7. The automated testing method of any of claims 1 to 5, wherein prior to said invoking a test script case, the method further comprises:
at least one test script case is written.
8. An automated testing apparatus, comprising:
the calling module is used for calling a test script case for testing the automatic train control system;
and the test module is used for executing an automatic test process of the automatic train control system in an automatic test platform through cross-platform automatic test software running in the automatic test platform based on the test script case.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the automated testing method according to any one of claims 1 to 7 are implemented when the program is executed by the processor.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the automated testing method according to any one of claims 1 to 7.
CN202010917229.7A 2020-09-03 2020-09-03 Automatic testing method and device, electronic equipment and storage medium Pending CN112099472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010917229.7A CN112099472A (en) 2020-09-03 2020-09-03 Automatic testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010917229.7A CN112099472A (en) 2020-09-03 2020-09-03 Automatic testing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112099472A true CN112099472A (en) 2020-12-18

Family

ID=73757346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010917229.7A Pending CN112099472A (en) 2020-09-03 2020-09-03 Automatic testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112099472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590468A (en) * 2021-07-01 2021-11-02 交控科技股份有限公司 Automatic testing method and device for ATS interface of automatic train monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765681A (en) * 2015-03-18 2015-07-08 株洲南车时代电气股份有限公司 Automated train drive control software testing system and method
CN108804322A (en) * 2018-06-05 2018-11-13 中国平安人寿保险股份有限公司 Automated testing method, device, computer equipment and storage medium
CN110554956A (en) * 2019-07-31 2019-12-10 交控科技股份有限公司 BDMS automatic testing method
CN110704323A (en) * 2019-09-30 2020-01-17 交控科技股份有限公司 Data automatic testing method and device based on rail transit line data
CN110941563A (en) * 2019-12-31 2020-03-31 中国银行股份有限公司 Automatic script testing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765681A (en) * 2015-03-18 2015-07-08 株洲南车时代电气股份有限公司 Automated train drive control software testing system and method
CN108804322A (en) * 2018-06-05 2018-11-13 中国平安人寿保险股份有限公司 Automated testing method, device, computer equipment and storage medium
CN110554956A (en) * 2019-07-31 2019-12-10 交控科技股份有限公司 BDMS automatic testing method
CN110704323A (en) * 2019-09-30 2020-01-17 交控科技股份有限公司 Data automatic testing method and device based on rail transit line data
CN110941563A (en) * 2019-12-31 2020-03-31 中国银行股份有限公司 Automatic script testing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590468A (en) * 2021-07-01 2021-11-02 交控科技股份有限公司 Automatic testing method and device for ATS interface of automatic train monitoring system

Similar Documents

Publication Publication Date Title
CN110704323B (en) Automatic data testing method and device based on rail transit line data
CN103529711B (en) ATC mobile unit automatic test approach and system
CN104246714A (en) Software defect verification
CN111176910A (en) System function testing method and device
CN112099472A (en) Automatic testing method and device, electronic equipment and storage medium
CN112000558A (en) Method for generating automatic test case of rail transit signal system
CN111459800A (en) Method, device, equipment and medium for verifying availability of service system
CN112148614A (en) Regression testing method and device
CN111737255A (en) Method and system for storing interlocking monitoring data
CN110990289A (en) Method and device for automatically submitting bug, electronic equipment and storage medium
CN111176974A (en) Disaster tolerance testing method and device, computer readable medium and electronic equipment
CN112114577B (en) On-site system testing method and device, electronic equipment and storage medium
Flemström et al. Exploring test overlap in system integration: An industrial case study
CN115892147A (en) Computer automatic control testing method based on interlocking route and interlocking function angle
CN115865613A (en) Basic environment fault processing method and device
CN115599758A (en) Cross-platform log frame and log information acquisition method
CN115328771A (en) Fault testing method, device, equipment and medium of testing tool
CN114691488A (en) Automatic testing system and method for interlocking system
CN112230949A (en) Terminal software upgrading method and device, electronic equipment and storage medium
CN109799992B (en) Method for checking software buffer area range of urban rail transit signal system
CN117608934A (en) Test method, system and device for interlocking system and vehicle-mounted interface
CN116257458B (en) Automatic testing method and system for mobile API (application program interface) in hybrid development mode
CN113886165B (en) Verification method, device and equipment for firmware diagnosis function and readable medium
CN110798372B (en) Data testing method and device
AU2023201696B2 (en) Method and device for determining coverage in HIL testing, 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201218

RJ01 Rejection of invention patent application after publication