CN114090458A - Automatic testing method of vehicle machine system, testing terminal and readable storage medium - Google Patents

Automatic testing method of vehicle machine system, testing terminal and readable storage medium Download PDF

Info

Publication number
CN114090458A
CN114090458A CN202111445904.1A CN202111445904A CN114090458A CN 114090458 A CN114090458 A CN 114090458A CN 202111445904 A CN202111445904 A CN 202111445904A CN 114090458 A CN114090458 A CN 114090458A
Authority
CN
China
Prior art keywords
test
machine system
vehicle
tested
automatic
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
CN202111445904.1A
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.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile 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 SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202111445904.1A priority Critical patent/CN114090458A/en
Publication of CN114090458A publication Critical patent/CN114090458A/en
Pending legal-status Critical Current

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/3684Test management for test design, e.g. generating new test cases
    • 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

Abstract

The invention discloses an automatic testing method of a vehicle machine system, a testing terminal and a readable storage medium, wherein the automatic testing method of the vehicle machine system comprises the following steps: receiving a preset test action of a vehicle machine system to be tested, and generating an automatic test script according to the preset test action; testing the vehicle-mounted machine system to be tested by using the automatic test script to generate a test result of the vehicle-mounted machine system to be tested; and outputting the test result. The automatic test script replaces manual work to control the car machine system to complete test actions, the car machine system to be tested can complete a large number of repeated or long-time test actions, the test effect on the car machine system is guaranteed, and the quality of the car machine system leaving the factory is guaranteed.

Description

Automatic testing method of vehicle machine system, testing terminal and readable storage medium
Technical Field
The invention relates to the field of intelligent cabin testing, in particular to an automatic testing method for a vehicle-mounted machine system, a testing terminal and a readable storage medium.
Background
At present, the technology of the Internet of vehicles is rapidly developed, and many vehicles sold at home and abroad have multifunctional intelligent Internet vehicle connecting systems, such as 360-degree panoramic images, telephone calls, radio stations, online music, screen watching, navigation, remote control and the like. However, the stability and durability of the car machine system are critical conditions which must be passed before the car is sold, if the car machine system is directly sold without being subjected to a series of long-time static stability tests, in case of screen flashing, screen jamming, screen blacking or other functional failures and the like in the using process of a user, the influence on the car using experience of the user is great, the public praise of the car of a company is further influenced, and the reputation and economic property loss of the company are also great. However, the current vehicle function tests are only manually and simply carried out, the quantitative test requirements of the system are difficult to achieve, and the quality of the vehicle system leaving the factory cannot be guaranteed, so that the problems of insufficient test time and test quantity of the current manual test vehicle system are urgently needed to be solved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an automatic testing method for a vehicle machine system, and aims to solve the problem that the current manual testing vehicle machine system is insufficient in testing time and testing amount.
In order to achieve the above object, the present invention provides an automatic testing method for a vehicle-mounted machine system, wherein the automatic testing method for the vehicle-mounted machine system comprises:
receiving a preset test action of a vehicle machine system to be tested, and generating an automatic test script according to the preset test action;
testing the vehicle-mounted machine system to be tested by using the automatic test script to generate a test result of the vehicle-mounted machine system to be tested;
and outputting the test result.
Further, after the step of generating the automated test script according to the preset test action, the method further includes:
and importing the automatic test script into a preset tool to obtain an automatic test tool, and testing the car machine system to be tested by using the automatic test tool.
Further, the step of using the automatic test script to test the car machine system to be tested and generating the test result of the car machine system to be tested includes:
controlling the vehicle-mounted machine system to be tested to execute the preset test action through the automatic test script;
judging whether the car machine system to be tested is qualified or not according to the execution condition of the car machine system to be tested executing the preset test action;
if the execution condition meets the preset delivery requirement, judging that the product is qualified;
and if the execution condition does not meet the preset delivery requirement, determining that the product is unqualified.
Further, the step of outputting the test result comprises:
and if the vehicle machine system to be tested is judged to be qualified, outputting a qualified test report by combining a first log, wherein the first log is generated when the vehicle machine system to be tested executes the preset test action.
Further, the step of outputting the test result further includes:
if the vehicle machine system to be tested is judged to be unqualified, judging whether the vehicle machine system to be tested has a problem or not according to the first log;
and if the vehicle machine system to be tested has a problem, outputting a unqualified test report.
Further, after the step of determining whether the car machine system to be tested has a problem according to the first log, the method includes:
and if the vehicle machine system to be tested has no problem, acquiring a second log generated by the automatic test script, and outputting the second log.
Further, after the step of outputting the second log, the method includes:
receiving a judgment result of the user on the automated test script based on the second log;
and if the judgment result of the automatic test script is that the script is wrong, outputting a unqualified test report and making the script wrong.
Further, after the step of receiving a judgment result of the user on the automated test script based on the second log, the method includes:
if the judgment result of the automatic test script is that the script does not have an error, obtaining a third log generated by the automatic test tool, and outputting the third log;
receiving a judgment result of the user on the automatic testing tool based on the third log;
if the judgment result of the automatic test tool is that the tool is in error, outputting a unqualified test report and the test tool has errors;
and if the judgment result of the automatic test tool is that the tool has no error, outputting a unqualified test report and the error is unknown.
In addition, to achieve the above object, the present invention further provides a test terminal, including: the system comprises a memory, a processor and a vehicle machine system automatic test program which is stored on the memory and can run on the processor, wherein the vehicle machine system automatic test program realizes the steps of the vehicle machine system automatic test method when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a readable storage medium, where the readable storage medium stores a car machine system automation test program, and the car machine system automation test program, when executed by a processor, implements the steps of the car machine system automation test method.
According to the automatic testing method for the vehicle machine system, provided by the embodiment of the invention, development and testing personnel only need to input the designed testing action of the vehicle machine system into the automatic testing system, the automatic testing system automatically generates the corresponding automatic testing script according to the testing action, and the automatic testing script replaces manual work to control the vehicle machine system to complete the testing action, so that the vehicle machine system to be tested can complete a large number of repeated or long-time testing actions, the testing effect on the vehicle machine system is ensured, and the quality of the vehicle machine system which leaves a factory is ensured.
Drawings
FIG. 1 is a schematic diagram of a test terminal structure of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of an in-vehicle machine system automated testing method;
fig. 3 is a flowchart illustrating a second embodiment of the in-vehicle system automatic testing method.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a test terminal of a hardware operating environment according to an embodiment of the present invention.
The terminal according to the embodiment of the present invention may be a PC, or may be an electronic terminal device such as a server or a mobile computer having functions of data output, data processing, and data transmission.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, a user interface module, and a car machine system automation test program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the in-vehicle system automation test program stored in the memory 1005, and perform the following operations:
receiving a preset test action of a vehicle machine system to be tested, and generating an automatic test script according to the preset test action;
testing the vehicle-mounted machine system to be tested by using the automatic test script to generate a test result of the vehicle-mounted machine system to be tested;
and outputting the test result.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
after the step of generating an automated test script according to the preset test action, the method further comprises:
and importing the automatic test script into a preset tool to obtain an automatic test tool, and testing the car machine system to be tested by using the automatic test tool.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
the step of using the automatic test script to test the car machine system to be tested and generating the test result of the car machine system to be tested comprises the following steps:
controlling the vehicle-mounted machine system to be tested to execute the preset test action through the automatic test script;
judging whether the car machine system to be tested is qualified or not according to the execution condition of the car machine system to be tested executing the preset test action;
if the execution condition meets the preset delivery requirement, judging that the product is qualified;
and if the execution condition does not meet the preset delivery requirement, determining that the product is unqualified.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
the step of outputting the test result comprises:
and if the vehicle machine system to be tested is judged to be qualified, outputting a qualified test report by combining a first log, wherein the first log is generated when the vehicle machine system to be tested executes the preset test action.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
the step of outputting the test result further comprises:
if the vehicle machine system to be tested is judged to be unqualified, judging whether the vehicle machine system to be tested has a problem or not according to the first log;
and if the vehicle machine system to be tested has a problem, outputting a unqualified test report.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
after the step of judging whether the vehicle machine system to be tested has a problem according to the first log, the method comprises the following steps of:
and if the vehicle machine system to be tested has no problem, acquiring a second log generated by the automatic test script, and outputting the second log.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
after the step of outputting the second log, comprising:
receiving a judgment result of the user on the automated test script based on the second log;
and if the judgment result of the automatic test script is that the script is wrong, outputting a unqualified test report and making the script wrong.
Further, the processor 1001 may call the in-vehicle system automation test program stored in the memory 1005, and further perform the following operations:
after the step of receiving the judgment result of the user on the automated test script based on the second log, the method comprises the following steps:
if the judgment result of the automatic test script is that the script does not have an error, obtaining a third log generated by the automatic test tool, and outputting the third log;
receiving a judgment result of the user on the automatic testing tool based on the third log;
if the judgment result of the automatic test tool is that the tool is in error, outputting a unqualified test report and the test tool has errors;
and if the judgment result of the automatic test tool is that the tool has no error, outputting a unqualified test report and the error is unknown.
Referring to fig. 2, a first embodiment of the in-vehicle machine system automatic test method according to the present invention includes:
step S10, receiving a preset test action of the car machine system to be tested, and generating an automatic test script according to the preset test action;
it can be understood that the implementation subject in this embodiment is a car machine automation test system. When the version of the intelligent network connection vehicle software version of the automobile is upgraded or updated, the stability test of the new version vehicle system software is needed, a development tester can screen out the vehicle functions to be tested from the function specification document of the new version vehicle software, and the vehicle functions to be tested are generally functions triggered by a user at a high frequency or related operations of subsystem connection performance, and the like, for example: the method comprises the following steps that a 360-degree reversing image enters and exits, music is continuously played for a long time, a remote control function of a car machine system is achieved, a development tester designs a corresponding test action according to the car machine function to be tested, fills the test action into a stability test case template, inputs the stability test case template filled with the test action into an automatic test system, and generates a corresponding automatic test script after the automatic test system receives the stability test case template, wherein the automatic test script is used for executing a preset test action, such as: and repeatedly entering and exiting the 360 backing images for multiple times, continuously playing music for 24h, performing a 5-day stability test operation on the remote control function and the like.
Step S20, the automatic test script is used for testing the car machine system to be tested, and a test result of the car machine system to be tested is generated;
further, the automatic test script controls the car machine system to be tested to execute the preset test action; judging whether the car machine system to be tested is qualified or not according to the execution condition of the car machine system to be tested executing the preset test action; if the execution condition meets the preset delivery requirement, judging that the product is qualified; and if the execution condition does not meet the preset delivery requirement, determining that the product is unqualified.
Specifically, the automated testing system controls the vehicle system to be tested to execute and complete a static stability testing action in the background by running the automated testing script, if: repeatedly controlling the car 360 reversing images to execute the entering or exiting actions, visually identifying the situation that the car control system executes the 360 reversing images to execute the entering or exiting actions from a display of the car machine system through an industrial high-definition camera, for example, recording the time from car starting to reverse and drive to the car machine display to display the reversing images, similarly, recording the time that the car machine display exits the reversing images when the car switches from reverse to forward, and further recording whether the 360 reversing images repeatedly enter and exit and have the phenomena of blocking or black screen and the like, wherein the recording modes and contents of different understandable test actions are different, the recorded data is the execution situation of the static stability test actions executed by the car machine system, and the recorded execution situation is compared with the preset factory requirements, if the recorded average time of the multiple 360 reversing images entering and exiting is less than the required time, and if no abnormal conditions such as jamming or black screen and the like occur in the testing process, judging that the vehicle machine function with the tested vehicle machine system is qualified, otherwise, judging that the vehicle machine function is unqualified, making a factory requirement according to actual requirements, and judging that the vehicle machine system is unqualified or qualified in the testing result.
It can be understood that, in this embodiment, only development and testing personnel need to input the required testing action into the automatic testing system, the automatic testing system automatically generates a corresponding automatic testing script according to the testing action, and the automatic testing script replaces manual work to complete the testing action, so that the vehicle machine system to be tested can complete a large number of repeated or long-time testing actions, the testing effect on the vehicle machine system is ensured, and the quality of the vehicle machine system leaving the factory is ensured.
And step S30, outputting the test result.
And outputting the obtained result that the vehicle machine system is qualified or unqualified in test.
Further, if the vehicle machine system to be tested is judged to be qualified, a qualified test report is output in combination with a first log, wherein the first log is generated when the vehicle machine system to be tested executes the static stable test action.
Specifically, when the in-vehicle system is determined to be qualified through testing by the test system, the test result includes a first log besides the test result as qualified, the first log is an execution log generated when the in-vehicle system is tested by the test script, the specific steps executed by the in-vehicle system and the time for completing each step are recorded from a background, for example, the time from sending an instruction from the script to the response time of the in-vehicle system, the time for jumping the UI of the in-vehicle system, whether system memory leaks or not, i.e., whether the system memory is normally released or not, and the like are recorded, it can be understood that the first log can reflect the execution situation when the in-vehicle system executes the test action in the background, and the data identified and recorded from the display of the in-vehicle system through the industrial high-definition camera can reflect the execution situation of the test action executed by the in-vehicle system from the perspective of the user, and the first log and the data recorded through the high-definition camera are integrated into a test report and a determination result Together output, such as: the time spent when the backing image of the car machine system 360 enters or exits from the background and the user is integrated into a test report.
Further, if the vehicle machine system to be tested is judged to be unqualified, whether the vehicle machine system to be tested has a problem is judged according to the first log; and if the vehicle machine system to be tested has a problem, outputting a unqualified test report.
Specifically, when the vehicle machine system is determined to be unqualified by the test system after the test, even if the vehicle machine system is not qualified from the execution condition recorded by the display of the vehicle machine system by using an industrial high-definition camera, whether the test result is unqualified due to the problem of the vehicle machine system is further determined according to a first log, the execution condition of the test action executed by the vehicle machine system recorded in the first log is compared with the execution condition recorded by using the camera, if the execution conditions obtained in the two conditions are consistent, the vehicle machine system to be tested is determined to have a problem, for example, the completion time of a certain action or step recorded in the log and the completion time recorded by the camera both exceed the time of the factory requirement, or, the system memory recorded in the log cannot be normally released, and the camera records that the picture of the vehicle machine display has a stuck or black screen, and the like, judging that the vehicle machine system to be tested has a problem, and outputting an unqualified test report by combining the execution conditions recorded by the log and the camera, wherein in addition to the problem of the vehicle machine system, the reason causing the vehicle machine system to be judged as the unqualified condition by the test system may also be that the vehicle machine system is judged as unqualified because the automatic test script has a problem, and therefore, if the vehicle machine system to be tested is judged to have no problem according to the log generated by the vehicle machine system, if: the log does not have system error reporting record, or the completion time of a certain action or step from the log to the record does not exceed the time required by factory leaving, but the completion time recorded by the camera exceeds the time required by factory leaving, the automatic test script is defaulted to be an automatic test script with problems, so that the test report which is not qualified and is output externally by combining the execution conditions recorded by the log and the camera also comprises the prompt that the test script is in error.
It can be understood that, in this embodiment, a development tester only needs to input a designed testing action of the car machine system into the automatic testing system, the automatic testing system will automatically generate a corresponding automatic testing script according to the testing action, and the automatic testing script replaces manual work to complete the testing action of controlling the car machine system, so that the car machine system to be tested can complete a large number of repeated or long-time testing actions, thereby ensuring the testing effect on the car machine system and the quality of the car machine system leaving factory.
Further, referring to fig. 3, a second embodiment of the in-vehicle machine system automatic testing method according to the present invention includes:
step S100, receiving a preset test action of a vehicle-mounted machine system to be tested, and generating an automatic test script according to the preset test action;
the automatic test system of the vehicle machine receives a preset test action of the vehicle machine system to be tested, wherein the preset test action is designed by a development tester according to actual test requirements. The openers input the test actions into the static test case template, and the automatic test system generates a corresponding automatic test script after receiving the static test case template with the test actions, wherein the test script is used for executing the test actions.
Step S200, importing the automatic test script into a preset tool to obtain an automatic test tool, testing the vehicle-mounted machine system to be tested by using the automatic test tool, and generating a test result of the vehicle-mounted machine system to be tested;
it is understood that, in this embodiment, the automated test script does not directly control the in-vehicle system to perform the above test actions. The automated testing system imports the generated testing script into a preset tool, and the tool may include: the automatic test system controls the mechanical arm to simulate a user to operate the car machine system to complete the test action through the test script. The method can be understood that when the display screen of the car machine is controlled through the manipulator in a touching mode, the method is more suitable for the execution situation of the car machine to external operation when a user uses the car machine, if car machine software such as a music player or a vehicle-mounted map is repeatedly opened and closed for a long time through the manipulator, the process from the display screen response to the car machine system completion test action can be restored through the manipulator, similarly, the execution situation of the car machine system test action is recorded through the high-definition industrial camera, the execution situation recorded through the camera is compared with the preset factory requirement, the car machine system test is judged to be qualified if the factory requirement is met, and otherwise, the car machine test is not qualified.
And step S300, outputting the test result.
If the vehicle machine system to be tested is judged to be qualified, outputting a qualified test report by combining a first log, wherein the first log is generated when the vehicle machine system to be tested executes the preset test action; and if the vehicle machine system to be tested is judged to be unqualified, judging whether the vehicle machine system to be tested has a problem or not according to the first log.
Further, if the to-be-tested car machine system has no problem, a second log generated by the automatic test script is obtained, and the second log is output. Specifically, when the automated testing system checks the log generated by the vehicle system and determines that the vehicle system to be tested has no problem, if the first log has no error, a second log generated by the automated testing script is further obtained, where the second log is used to record the execution condition of the program of the automated testing script, and it can be understood that the reason for the vehicle system to be unqualified may be that the running script is wrong, and if the sequence of the script controlling manipulator is wrong, the vehicle system to be tested is finally not qualified for delivery when executing the testing action. Therefore, the automatic test system acquires the second log generated by the test script, outputs the second log to the development tester, and allows the development tester to draw a conclusion about whether the test script has problems.
Further, receiving a judgment result of the user on the automated test script based on the second log; and if the judgment result of the automatic test script is that the script is wrong, outputting a unqualified test report and making the script wrong. When the automatic test system receives the optimized test script, the optimized test script replaces the test script generated by the automatic test system, and the vehicle-mounted system is tested by using the optimized test script.
Further, if the judgment result of the automatic test script is that the script has no error, obtaining a third log generated by the automatic test tool, and outputting the third log; receiving a judgment result of the user on the automatic testing tool based on the third log; if the judgment result of the automatic test tool is that the tool is in error, outputting a unqualified test report and the test tool has errors; and if the judgment result of the automatic test tool is that the tool has no error, outputting a unqualified test report and the error is unknown.
Specifically, if the development tester received by the automated testing system determines that the test script has not failed, the tool execution log generated by the automated testing tool, i.e., the third log, is continuously obtained. Therefore, the automatic test system outputs the third log to a development tester, the development tester judges whether the test tool has errors, if the judgment conclusion received by the automatic test system is that the tool has errors, a non-conforming test report is also output, the report contains a prompt that the test tool has errors, meanwhile, the development tester can optimize the test tool with errors, and the automatic test system tests the vehicle machine system again based on the optimized test tool. And if the judgment conclusion received by the automatic test system is that the tool does not have errors, outputting a unqualified test report and the errors are unknown. And prompting a developer to check the automatic test system.
In this embodiment, when the automatic test system determines that the vehicle-mounted machine system is not qualified, the vehicle-mounted machine system log, the test script log and the test tool log are further obtained, and whether the vehicle-mounted machine system is determined to be unqualified due to non-vehicle-mounted machine factors is determined, so that the accuracy of the whole automatic test system is ensured, and misdetermination is reduced.
In addition, this embodiment further provides a test terminal, where the test terminal includes: the system comprises a memory, a processor and a vehicle machine system automatic test program which is stored on the memory and can run on the processor, wherein the vehicle machine system automatic test program realizes the steps of the vehicle machine system automatic test method when being executed by the processor.
In addition, this embodiment further provides a readable storage medium, where the readable storage medium stores a car-in-vehicle system automation test program, and the car-in-vehicle system automation test program, when executed by a processor, implements the steps of the car-in-vehicle system automation test method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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 (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The automatic test method of the vehicle machine system is characterized by comprising the following steps:
receiving a preset test action of a vehicle machine system to be tested, and generating an automatic test script according to the preset test action;
testing the vehicle-mounted machine system to be tested by using the automatic test script to generate a test result of the vehicle-mounted machine system to be tested;
and outputting the test result.
2. The in-vehicle machine system automated testing method according to claim 1, wherein after the step of generating an automated test script according to the preset test action, the method further comprises:
and importing the automatic test script into a preset tool to obtain an automatic test tool, and testing the car machine system to be tested by using the automatic test tool.
3. The automatic testing method for the vehicle-mounted machine system according to claim 1, wherein the step of using the automatic testing script to test the vehicle-mounted machine system to be tested and generate the testing result of the vehicle-mounted machine system to be tested comprises:
controlling the vehicle-mounted machine system to be tested to execute the preset test action through the automatic test script;
judging whether the car machine system to be tested is qualified or not according to the execution condition of the car machine system to be tested executing the preset test action;
if the execution condition meets the preset delivery requirement, judging that the product is qualified;
and if the execution condition does not meet the preset delivery requirement, determining that the product is unqualified.
4. The in-vehicle machine system automatic test method according to claim 3, wherein the step of outputting the test result comprises:
and if the vehicle machine system to be tested is judged to be qualified, outputting a qualified test report by combining a first log, wherein the first log is generated when the vehicle machine system to be tested executes the preset test action.
5. The in-vehicle machine system automatic test method according to claim 4, wherein the step of outputting the test result further comprises:
if the vehicle machine system to be tested is judged to be unqualified, judging whether the vehicle machine system to be tested has a problem or not according to the first log;
and if the vehicle machine system to be tested has a problem, outputting a unqualified test report.
6. The automatic testing method for the vehicle-mounted machine system according to claim 5, wherein after the step of determining whether the vehicle-mounted machine system to be tested has a problem according to the first log, the method comprises the following steps:
and if the vehicle machine system to be tested has no problem, acquiring a second log generated by the automatic test script, and outputting the second log.
7. The in-vehicle machine system automated testing method according to claim 6, after the step of outputting the second log, comprising:
receiving a judgment result of the user on the automated test script based on the second log;
and if the judgment result of the automatic test script is that the script is wrong, outputting a unqualified test report and making the script wrong.
8. The in-vehicle machine system automatic test method according to claim 7, after the step of receiving a judgment result of the user on the automatic test script based on the second log, comprising:
if the judgment result of the automatic test script is that the script does not have an error, obtaining a third log generated by the automatic test tool, and outputting the third log;
receiving a judgment result of the user on the automatic testing tool based on the third log;
if the judgment result of the automatic test tool is that the tool is in error, outputting a unqualified test report and the test tool has errors;
and if the judgment result of the automatic test tool is that the tool has no error, outputting a unqualified test report and the error is unknown.
9. A test terminal, characterized in that the test terminal comprises: the system testing device comprises a memory, a processor and a vehicle machine system automatic testing program which is stored on the memory and can run on the processor, wherein when the vehicle machine system automatic testing program is executed by the processor, the steps of the vehicle machine system automatic testing method according to any one of claims 1 to 8 are realized.
10. A readable storage medium, wherein the readable storage medium stores thereon a car machine system automation test program, and when the car machine system automation test program is executed by a processor, the steps of the car machine system automation test method according to any one of claims 1 to 8 are implemented.
CN202111445904.1A 2021-11-30 2021-11-30 Automatic testing method of vehicle machine system, testing terminal and readable storage medium Pending CN114090458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445904.1A CN114090458A (en) 2021-11-30 2021-11-30 Automatic testing method of vehicle machine system, testing terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445904.1A CN114090458A (en) 2021-11-30 2021-11-30 Automatic testing method of vehicle machine system, testing terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN114090458A true CN114090458A (en) 2022-02-25

Family

ID=80306112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445904.1A Pending CN114090458A (en) 2021-11-30 2021-11-30 Automatic testing method of vehicle machine system, testing terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN114090458A (en)

Similar Documents

Publication Publication Date Title
KR20070069614A (en) Software test method and software test apparatus
US20140325281A1 (en) Testing apparatus and testing method
CN109683967B (en) Firmware support method, device, mobile terminal and readable storage medium
CN104317699A (en) Application program verifying method and device
CN109684573A (en) Target Photo display methods and device, storage medium, electronic equipment
CN112214405A (en) Software testing method and device, electronic equipment and readable storage medium
CN111736951A (en) Simulation method for automatic driving, computer device, and storage medium
CN111179907A (en) Voice recognition test method, device, equipment and computer readable storage medium
CN114064473A (en) Vehicle machine system testing method and system, vehicle and computer readable storage medium
CN111858286A (en) Vehicle machine testing device and method
CN111625291B (en) Automatic iteration method and device for data processing model and electronic equipment
CN114090458A (en) Automatic testing method of vehicle machine system, testing terminal and readable storage medium
CN114356769A (en) Software learning method, device, equipment and storage medium
US20220329779A1 (en) Automatic evaluating apparatus for built-in video recording device of vehicle, system having the same, and method thereof
CN115543831A (en) Test script generation method, device, equipment and storage medium
CN114595154A (en) Test method and device for XTS failure item, electronic equipment and storage medium
CN114945188A (en) Bluetooth device testing method and device, electronic device and readable storage medium
CN113849416A (en) Test method, test device, storage medium and electronic equipment
CN112365883A (en) Cabin system voice recognition test method, device, equipment and storage medium
CN110968519A (en) Game testing method, device, server and storage medium
CN115237816B (en) System function verification method and device, electronic equipment and readable storage medium
CN117609025A (en) Data processing method and device, readable medium and electronic equipment
US20230104533A1 (en) Method and device for checking a boarding system for a vehicle
CN116955028A (en) Method and device for testing collaboration capability, electronic equipment and storage medium
de Freitas Foloni et al. Automated validation tool for In-Vehicle mobile app-integration feature

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