CN110554956B - BDMS automatic test method - Google Patents
BDMS automatic test method Download PDFInfo
- Publication number
- CN110554956B CN110554956B CN201910699665.9A CN201910699665A CN110554956B CN 110554956 B CN110554956 B CN 110554956B CN 201910699665 A CN201910699665 A CN 201910699665A CN 110554956 B CN110554956 B CN 110554956B
- Authority
- CN
- China
- Prior art keywords
- test
- terminal
- bdms
- information
- display element
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Abstract
The embodiment of the invention provides a BDMS automatic test method, which comprises the following steps: the method comprises the steps that a first terminal obtains a test message, a BDMS test case coding value is written in input parameters of the test message, and the test message carrying input information is sent to a second terminal; the input information comprises the input parameters and the BDMS test case coding values; the second terminal determines a display element corresponding to the input parameter, generates a test result according to a matching result of display information in the display element and the BDMS test case coding value, and writes the test result into an output parameter corresponding to the display element; the first terminal receives a test message which is returned by the second terminal and carries output information, so as to realize the test of the BDMS test case; the output information includes the output parameters and the test results. The BDMS automatic test method provided by the embodiment of the invention can efficiently and accurately perform BDMS automatic test.
Description
Technical Field
The invention relates to the technical field of rail transit, in particular to a BDMS automatic test method.
Background
Currently, according to the test specification of a comprehensive operation and maintenance scheduling command platform (Basic Data Management System, abbreviated as BDMS) based on big data in a communication-based train control (Communication Based Train Control, abbreviated as CBTC) indoor engineering test case, the requirements are as follows:
(1) The BDMS includes all data items and function items of subsystems such as a trackside electronic unit (Line Electronic Unit, abbreviated as "LEU"), a computer interlock (Computer of Interlock, abbreviated as "CI"), a Vehicle On-board Controller (abbreviated as "VOBC"), a Zone Controller (abbreviated as "ZC"), a data storage unit (Data Storage Unit, abbreviated as "DSU"), an AXLE (AXLE counting system), a data communication system (Data Communication System, abbreviated as "DCS"), and the like, which need to be fully tested for defects before being used in the field.
(2) BDMS testing is completed within the time node specified by the engineering.
(3) In the conventional manual testing method, taking a ZC subsystem in a BDMS as an example, during manual testing, the 1 st use case (for example, input parameters are A-series 1 machine state) coding value is changed into a fault code bit value 0xff, then the transmitter software is operated, fig. 1 is a software interface of the transmitter operated in the prior art, as shown in fig. 1, and finally the content of the BDMS interface is checked through human eyes, so that a testing result is determined. And then changing the code value of the 1 st use case into 0xaa, operating the transmitter software again, finally checking the content of the BDMS interface again through human eyes, determining the test result, and the like, and sequentially executing the tests of all the test cases.
However, as subway engineering lines increase gradually, the method for manually testing BDMS data and functions is time-consuming and labor-consuming, needs to occupy a large amount of manpower resources and space resources, and is low in efficiency. And because BDMS data volume is extremely big, when the manual test, sometimes in order to save time do not carry out the case by case test, cause the test result to have the risk of mistake, the rate of accuracy is not high. For example, when the manual test is completed for all ZC subsystem use cases, 50 works are needed, the accuracy is about 70%. In addition, the testers are in repeated working every day, so that boring feeling is easy to generate in the heart, and the capability of the testers is not improved.
Therefore, how to avoid the above-mentioned drawbacks and to efficiently and accurately perform BDMS automated testing is a highly desirable problem.
Disclosure of Invention
Aiming at the problems existing in the prior art, the embodiment of the invention provides a BDMS automatic test method; the method comprises the following steps:
the method comprises the steps that a first terminal obtains a test message, a BDMS test case coding value is written in input parameters of the test message, and the test message carrying input information is sent to a second terminal; the input information comprises the input parameters and the BDMS test case coding values;
the second terminal determines a display element corresponding to the input parameter, generates a test result according to a matching result of display information in the display element and the BDMS test case coding value, and writes the test result into an output parameter corresponding to the display element;
the first terminal receives a test message which is returned by the second terminal and carries output information, so as to realize the test of the BDMS test case; the output information includes the output parameters and the test results.
Wherein the display element comprises a text or an image; correspondingly, the generating a test result according to the matching result of the display information in the display element and the BDMS test case coding value includes:
if the second terminal judges that the text content information in the text is matched with the matching result of the BDMS test case coding value, a passing test result is generated;
if the second terminal judges that the text content information in the text is not matched with the matching result of the BDMS test case coding value, a failed test result is generated;
or if the second terminal judges that the image attribute information in the image is matched with the matching result of the BDMS test case coding value, generating a passing test result;
and if judging that the image attribute information in the image is not matched with the matching result of the BDMS test case coding value, the second terminal generates a failed test result.
Wherein said determining a display element corresponding to said input parameter comprises:
the second terminal determines a target area containing the display element;
the second terminal determines a display element corresponding to the input parameter in the target area.
Wherein the method further comprises:
the second terminal obtains the sending time of the test message carrying the input information and the receiving time of the test message carrying the input information received by the second terminal;
and if the second terminal judges that the time interval between the receiving time and the sending time is smaller than the preset time interval, executing the step of determining the display element corresponding to the input parameter.
Wherein the method further comprises:
and if the second terminal judges that the time interval between the receiving time and the sending time is larger than or equal to the preset time interval, the second terminal terminates executing the method and generates an early warning message.
The first terminal acquires a test message, which includes:
the first terminal receives a test message sent by a third terminal; the test message in the third terminal is pre-stored in a designated file.
After the step of implementing the test of the BDMS test case, the method further includes:
the first terminal stores the input information and the output information according to a preset sequence.
The sending the test message carrying the input information to the second terminal includes:
the first terminal calls the peripheral through the script command to operate the operation transmitter software in the first terminal so as to execute operation actions required by sending the test message carrying the input information to the second terminal according to a preset operation sequence.
According to the BDMS automatic test method provided by the embodiment of the invention, the display element corresponding to the input parameter of the test message is determined, and then the test result is generated according to the matching result of the display information in the display element and the encoding value of the BDMS test case, so that the BDMS automatic test can be efficiently and accurately performed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a prior art operation transmitter software interface;
FIG. 2 is a flow chart of an embodiment of a BDMS automated test method of the present invention;
fig. 3 is a schematic structural diagram of a modular design according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 2 is a flowchart of an embodiment of a BDMS automated test method according to the present invention, and as shown in fig. 2, the BDMS automated test method according to the embodiment of the present invention includes the following steps:
s201: the method comprises the steps that a first terminal obtains a test message, a BDMS test case coding value is written in input parameters of the test message, and the test message carrying input information is sent to a second terminal; the input information comprises the input parameters and the BDMS test case coding values.
Specifically, a first terminal acquires a test message, writes a BDMS test case code value in an input parameter of the test message, and sends the test message carrying input information to a second terminal; the input information comprises the input parameters and the BDMS test case coding values. Before this step, eggplant Functional software is deployed in the first terminal in the existing BDMS manual test environment, constituting an automated test environment. And then, the test flow is scripted by writing program codes, and automatic test is realized by executing the script. Communication links between the first terminal and the second terminal and between the first terminal and the third terminal can be established through Eggplant Functional software, and after the communication links are established, the first terminal, the second terminal and the third terminal can execute corresponding method steps through the program codes. The second terminal is used for displaying the BDMS interface, and the third terminal is used for storing the test message in the designated file in advance. The specified file may be an Excel file, as shown in table 1, and it should be noted that, in table 1, the whole content after the test is completed, and at this time, part of the content in table 1 is empty.
TABLE 1
The Excel file is not required to be opened, header information of the test message (namely, the input parameter is the state of the A-system 1 machine) can be directly read, the BDMS test case coding value of the input parameter, such as the fault code bit 0xff, is directly written, and then the test message carrying the input information is sent to the second terminal, namely, the input information comprises the input parameter of the A-system 1 machine state and the BDMS test case coding value corresponding to the input parameter of the A-system 1 machine state, such as the fault code bit 0 xff.
S202: and the second terminal determines a display element corresponding to the input parameter, generates a test result according to a matching result of display information in the display element and the BDMS test case coding value, and writes the test result into an output parameter corresponding to the display element.
Specifically, the second terminal determines a display element corresponding to the input parameter, generates a test result according to a matching result of display information in the display element and the BDMS test case coding value, and writes the test result into an output parameter corresponding to the display element. The display element may include a text or an image, that is, a text or an image displayed on the BDMS interface of the second terminal, the text corresponding to the "a-system 1 machine state" may be "a-1", the corresponding image may be an "a-1 indicator icon", and referring to the above example, the display information corresponding to the "a-1" may be text content information of "a-1", which may be "failed" or "non-failed"; for the image attribute information of the "a-1 indicator icon", the display information corresponding to the "a-1 indicator icon" may be image attribute information of the "a-1 indicator icon", the image attribute information may include an image shape, a color, etc., and the color may be "green" (indicating that no malfunction has occurred) or "red" (indicating that malfunction has occurred), for example. The matching result between the "failed" or "red" and the "failed bit 0xff" is the match, so the test result is generated as "pass"; the result of the match between "no fault" or "green" and "fault code bit 0xff" is a mismatch. Taking "pass" as an example, the "pass" corresponding to the "fail bit test result" may be written into the output parameter "PU1 (a system 1 machine)".
S203: the first terminal receives a test message which is returned by the second terminal and carries output information, so as to realize the test of the BDMS test case; the output information includes the output parameters and the test results.
Specifically, the first terminal receives a test message carrying output information returned by the second terminal, so as to realize the test of BDMS test cases; the output information includes the output parameters and the test results. Referring to the above example, the output information includes the output parameter "PU1 (a system 1 machine)", the test result "pass" corresponding to the "fault bit test result" thereof, so far, the test of the "fault bit" in the "a system 1 machine state" is realized, the output parameter "PU1 (a system 1 machine)", the test result "pass" corresponding to the "fault bit test result" thereof may be written into table 1, the test result may be sent to the third terminal, so as to write into table 1 in the third terminal, then the BDMS test case code value "non-fault bit 0xaa" may be written into the input parameter "a system 1 machine state", the specific description may refer to the description of the "fault bit 0xff" described above, and the test of the "a system 1 machine state" may be completed after the test of the "non-fault bit 0xaa" is realized. It should be noted that: the embodiment of the invention does not specifically limit the sequence of testing the fault code bit 0xff and the non-fault code bit 0xaa, and the testing of the fault code bit 0xff and the non-fault code bit 0xaa are only examples.
Also to be described is: the method further comprises the steps of: determining a case final test result, namely if the fault code bit test result and the non-fault code bit test result are both "pass", the case final test result is "pass"; if the fault code bit test result and the non-fault code bit test result are not all 'pass', the final test result of the use case is 'fail'.
The test in the row of the "a-system 2 machine state" in table 1 may be executed again, and the description in the row of the "a-system 1 machine state" may be referred to specifically, and will not be repeated.
The embodiment of the invention has the following beneficial effects:
and Eggplant Functional software is applied to write BDMS test procedure scripts, process images and characters on a BDMS interface, realize automatic execution of the test procedure, replace manual test and greatly improve the accuracy and the test efficiency compared with manual test. For example, the accuracy rate is 100% when the automation test is completed and all ZC subsystem use cases only need 15 works.
According to the BDMS automatic test method provided by the embodiment of the invention, the display element corresponding to the input parameter of the test message is determined, and then the test result is generated according to the matching result of the display information in the display element and the encoding value of the BDMS test case, so that the BDMS automatic test can be efficiently and accurately performed.
On the basis of the above embodiment, the display element includes a text or an image; correspondingly, the generating a test result according to the matching result of the display information in the display element and the BDMS test case coding value includes:
specifically, if the second terminal judges that the text content information in the text is matched with the matching result of the BDMS test case coding value, a passing test result is generated. Reference is made to the above description and will not be repeated.
Specifically, if the second terminal judges that the text content information in the text is not matched with the matching result of the BDMS test case coding value, a failed test result is generated. Reference is made to the above description and will not be repeated.
Or specifically, if the second terminal judges that the image attribute information in the image is matched with the matching result of the BDMS test case coding value, generating a passing test result. Reference is made to the above description and will not be repeated.
Specifically, if the second terminal judges that the image attribute information in the image is not matched with the matching result of the BDMS test case coding value, a failed test result is generated. Reference is made to the above description and will not be repeated.
According to the BDMS automatic test method provided by the embodiment of the invention, the BDMS automatic test can be further performed efficiently and accurately through the text content information or the image attribute information which are respectively corresponding to the display elements of the text or the image.
On the basis of the above embodiment, the determining a display element corresponding to the input parameter includes:
the second terminal determines a target area containing the display element.
Specifically, the second terminal determines a target area containing the display element. This can be achieved based on establishing coordinates for the pixels of the display, and in particular: the search range is determined by sizing the display pixel area. For example, if the pixel is 1920×1080, and the origin of coordinates is set at the top left corner of the display, the coordinates of the pixel area with a size of 100×100 are set to ((0, 0), (100 )), and the area search is performed according to the search range (for example, the pixel area may be the above-mentioned pixel area), so as to determine the above-mentioned target area.
The second terminal determines a display element corresponding to the input parameter in the target area.
Specifically, the second terminal determines a display element corresponding to the input parameter in the target area. Further, an image recognition method, such as an image binarization method, may be used to determine the display elements in the target region.
The BDMS automatic test method provided by the embodiment of the invention is beneficial to executing the method more rapidly by determining the target area and determining the display element from the target area.
On the basis of the above embodiment, the method further includes:
the second terminal obtains the sending time of the test message carrying the input information and the receiving time of the test message carrying the input information received by the second terminal.
Specifically, the second terminal obtains a sending time of sending the test message carrying the input information and a receiving time of receiving the test message carrying the input information by the second terminal. The specific implementation method can be as follows: when the first terminal sends a test message carrying input information, the first terminal also carries a sending time, and the second terminal obtains the sending time by analyzing the test message carrying the input information and the sending time. The order of acquiring the transmission time and the reception time is not particularly limited.
And if the second terminal judges that the time interval between the receiving time and the sending time is smaller than the preset time interval, executing the step of determining the display element corresponding to the input parameter.
Specifically, if the second terminal determines that the time interval between the receiving time and the sending time is smaller than the preset time interval, the step of determining the display element corresponding to the input parameter is executed. The preset time interval can be set independently according to actual conditions, and is optionally 20 seconds, namely if the time interval is smaller than 20 seconds, the subsequent steps of the method are continuously executed; if the time interval is more than or equal to 20 seconds, the execution of the method is stopped, and an early warning message is generated to prompt relevant personnel to deal with the problem in time.
According to the BDMS automatic test method provided by the embodiment of the invention, the time interval between the receiving time and the transmitting time of the test message is acquired firstly, and then corresponding processing steps are adopted according to the comparison result of the time interval and the preset time interval, so that the method is further optimized.
On the basis of the above embodiment, the method further includes:
specifically, if the second terminal determines that the time interval between the receiving time and the sending time is greater than or equal to the preset time interval, the second terminal terminates executing the method and generates an early warning message. Reference is made to the above description and will not be repeated.
According to the BDMS automatic test method provided by the embodiment of the invention, the time interval between the receiving time and the transmitting time of the test message is acquired firstly, and then corresponding processing steps are adopted according to the comparison result of the time interval and the preset time interval, so that the method is further optimized.
On the basis of the foregoing embodiment, the first terminal obtains a test packet, including:
specifically, the first terminal receives a test message sent by a third terminal; the test message in the third terminal is pre-stored in a designated file. The specified file may be an Excel file as shown in table 1, and the current Excel file may include only the first three columns in table 1.
According to the BDMS automatic test method provided by the embodiment of the invention, the test message is obtained by receiving the test message sent by the third terminal, so that the test message can be obtained efficiently, and the BDMS automatic test is facilitated.
On the basis of the foregoing embodiment, after the step of implementing the test of the BDMS test case, the method further includes:
specifically, the first terminal stores the input information and the output information according to a preset sequence. The predetermined sequence may be the sequence of each column in table 1, and is not particularly limited.
According to the BDMS automatic test method provided by the embodiment of the invention, the input information and the output information are stored in the preset sequence, so that the test results and the like of the BDMS test cases can be reserved, and the BDMS test case management is facilitated.
On the basis of the above embodiment, the sending, to the second terminal, the test message carrying the input information includes:
specifically, the first terminal invokes the peripheral device through the script command to operate the operation transmitter software in the first terminal, so as to execute the operation action required by sending the test message carrying the input information to the second terminal according to the preset operation sequence. The script command may be implemented based on program code written in the Eggplant Functional software described above. The peripheral may include a mouse, a keyboard, etc., without being particularly limited. It will be appreciated that: the preset operation sequence simulates the operation action of the man-made operation transmitter software, thereby realizing automatic transmission of the test message carrying the input information to the second terminal.
The BDMS automatic test method provided by the embodiment of the invention realizes the automatic transmission of the test message carrying the input information to the second terminal, saves the manpower and improves the efficiency.
The embodiment of the present invention may be implemented in a modularized design manner, and fig. 3 is a schematic structural diagram of the modularized design of the embodiment of the present invention, and as shown in fig. 3, a system for executing the method may include four parts, namely an automatic message modifying module, an automatic message sending module, an automatic comparison result module, and an automatic test report generating module, where:
the automatic message modifying module may include a remote connection script sub-module and an internal read data script sub-module, where the remote connection script sub-module is configured to establish a communication link between the first terminal and the second terminal, and between the first terminal and the third terminal through Eggplant Functional software. The internal read data script sub-module is used for directly reading the header information of the test message and directly writing the BDMS test case coding value of the input parameter after the communication link is established.
The automatic message sending module may include a button processing script sub-module and a clock identification script sub-module, where the button processing script sub-module is configured to invoke, by using a script command, a peripheral device to operate an operation transmitter software in the first terminal, so as to execute, according to a preset operation sequence, an operation action required for implementing sending a test message carrying input information to the second terminal. The clock identification script sub-module is used for acquiring the sending time of the test message carrying the input information and the receiving time of the test message carrying the input information received by the second terminal.
The automatic comparison result module may include a search region setting script sub-module for determining a search range by setting a display pixel region size and performing region search according to the search range to determine a target region including a display element, and a BDMS interface image and word processing script sub-module. The BDMS interface image and word processing script sub-module is used for determining display elements corresponding to the input parameters in the target area and generating a test result according to the matching result of the display information in the display elements and the BDMS test case coding value.
The automatic generation test report module may include an output information return script sub-module for writing test results into output parameters corresponding to the display elements and a result comparison return script sub-module. The result comparison and return script submodule is used for enabling the first terminal to receive a test message which is returned by the second terminal and carries output information so as to realize the test of the BDMS test case, and the output information comprises output parameters and test results.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (6)
1. A BDMS automated test method, comprising:
the method comprises the steps that a first terminal obtains a test message, a BDMS test case coding value is written in input parameters of the test message, and the test message carrying input information is sent to a second terminal; the input information comprises the input parameters and the BDMS test case coding values;
the second terminal determines a display element corresponding to the input parameter, generates a test result according to a matching result of display information in the display element and the BDMS test case coding value, and writes the test result into an output parameter corresponding to the display element;
the first terminal receives a test message which is returned by the second terminal and carries output information, so as to realize the test of the BDMS test case; the output information comprises the output parameters and the test results;
the method further comprises the steps of:
the second terminal obtains the sending time of the test message carrying the input information and the receiving time of the test message carrying the input information received by the second terminal;
if the second terminal judges that the time interval between the receiving time and the sending time is smaller than the preset time interval, the step of determining the display element corresponding to the input parameter is executed;
if the second terminal judges that the time interval between the receiving time and the sending time is larger than or equal to the preset time interval, the second terminal terminates executing the method and generates an early warning message;
the BDMS test case code value includes fault code bits and non-fault code bits.
2. A BDMS automated testing method according to claim 1 wherein the display element comprises text or images; correspondingly, the generating a test result according to the matching result of the display information in the display element and the BDMS test case coding value includes:
if the second terminal judges that the text content information in the text is matched with the matching result of the BDMS test case coding value, a passing test result is generated;
if the second terminal judges that the text content information in the text is not matched with the matching result of the BDMS test case coding value, a failed test result is generated;
or if the second terminal judges that the image attribute information in the image is matched with the matching result of the BDMS test case coding value, generating a passing test result;
and if judging that the image attribute information in the image is not matched with the matching result of the BDMS test case coding value, the second terminal generates a failed test result.
3. A BDMS automated testing method according to claim 1 wherein said determining a display element corresponding to said input parameter comprises:
the second terminal determines a target area containing the display element;
the second terminal determines a display element corresponding to the input parameter in the target area.
4. The BDMS automation test method according to claim 1, wherein the first terminal obtains a test message, including:
the first terminal receives a test message sent by a third terminal; the test message in the third terminal is pre-stored in a designated file.
5. A BDMS automated testing method according to claim 1, wherein after the step of implementing testing of BDMS test cases, the method further comprises:
the first terminal stores the input information and the output information according to a preset sequence.
6. The BDMS automated test method according to claim 1, wherein the sending the test message carrying the input information to the second terminal includes:
the first terminal calls the peripheral through the script command to operate the operation transmitter software in the first terminal so as to execute operation actions required by sending the test message carrying the input information to the second terminal according to a preset operation sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910699665.9A CN110554956B (en) | 2019-07-31 | 2019-07-31 | BDMS automatic test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910699665.9A CN110554956B (en) | 2019-07-31 | 2019-07-31 | BDMS automatic test method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110554956A CN110554956A (en) | 2019-12-10 |
CN110554956B true CN110554956B (en) | 2023-05-23 |
Family
ID=68736882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910699665.9A Active CN110554956B (en) | 2019-07-31 | 2019-07-31 | BDMS automatic test method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110554956B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112099472A (en) * | 2020-09-03 | 2020-12-18 | 通号城市轨道交通技术有限公司 | Automatic testing method and device, electronic equipment and storage medium |
CN113704131B (en) * | 2021-09-06 | 2024-04-12 | 中国农业银行股份有限公司 | Interface function test method, device, storage medium and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004326237A (en) * | 2003-04-22 | 2004-11-18 | Mitsubishi Electric Corp | Test case creation device, test case creation method, test case, and test method |
CN102163173A (en) * | 2011-04-06 | 2011-08-24 | 北京航空航天大学 | Automated testing method for distributed information system interface |
CN108459953A (en) * | 2017-02-22 | 2018-08-28 | 北京京东尚科信息技术有限公司 | test method and device |
CN108595320A (en) * | 2018-04-03 | 2018-09-28 | 新华三信息安全技术有限公司 | a kind of test method and device |
CN109522218A (en) * | 2018-10-19 | 2019-03-26 | 平安科技(深圳)有限公司 | Interface test method, device, computer equipment and storage medium |
CN109697160A (en) * | 2017-10-23 | 2019-04-30 | 中国舰船研究设计中心 | A kind of Ethernet interface software automated testing system and method |
-
2019
- 2019-07-31 CN CN201910699665.9A patent/CN110554956B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004326237A (en) * | 2003-04-22 | 2004-11-18 | Mitsubishi Electric Corp | Test case creation device, test case creation method, test case, and test method |
CN102163173A (en) * | 2011-04-06 | 2011-08-24 | 北京航空航天大学 | Automated testing method for distributed information system interface |
CN108459953A (en) * | 2017-02-22 | 2018-08-28 | 北京京东尚科信息技术有限公司 | test method and device |
CN109697160A (en) * | 2017-10-23 | 2019-04-30 | 中国舰船研究设计中心 | A kind of Ethernet interface software automated testing system and method |
CN108595320A (en) * | 2018-04-03 | 2018-09-28 | 新华三信息安全技术有限公司 | a kind of test method and device |
CN109522218A (en) * | 2018-10-19 | 2019-03-26 | 平安科技(深圳)有限公司 | Interface test method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110554956A (en) | 2019-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210390796A1 (en) | Method, apparatus and mobile terminal for displaying distribution and statuses of ecu systems of vehicle | |
CN104636254B (en) | Generate method and apparatus, method of testing and the equipment of test case | |
CN104407976B (en) | A kind of interface robustness testing case generation method and device | |
CN107391379A (en) | Interface automatic test approach and device | |
CN106095673A (en) | Automated testing method based on WEB interface and system | |
CN107193730A (en) | A kind of interface test method of automation | |
CN110554956B (en) | BDMS automatic test method | |
CN103514090A (en) | Method and device for testing browser | |
CN110716870A (en) | Automatic service testing method and device | |
CN111309505B (en) | Page exception handling method and device and electronic equipment | |
CN109901968A (en) | A kind of automation page data method of calibration and device | |
CN111401722B (en) | Intelligent decision method and intelligent decision system | |
CN107015912A (en) | Realize system, method, device and the electronic equipment of remote debugging | |
CN105279196A (en) | Test script generation method and apparatus | |
CN112433944A (en) | Service testing method, device, computer equipment and storage medium | |
CN111522741A (en) | Interface test code generation method and device, electronic equipment and readable storage medium | |
CN105068935A (en) | Method and device for processing software test result | |
CN111176974B (en) | Disaster tolerance testing method and device, computer readable medium and electronic equipment | |
CN106407580A (en) | A script-based rule detection remote control shutting method | |
CN109408304A (en) | Block chain introduces test method, device, equipment and readable storage medium storing program for executing | |
CN117214561A (en) | Test method of automatic test operation system and information sharing platform | |
CN114442570B (en) | Verification system and method for non-security level DCS logic loop of nuclear power station | |
CN115934559A (en) | Testing method of intelligent form testing system | |
CN116150020A (en) | Test case conversion method and device | |
CN107797540A (en) | TRANS PROGRAM method of testing, device and terminal |
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 |