Method and tool for automatically generating automatic test script of automobile instrument

An automated testing and automatic generation technology, applied in software testing/debugging, creating/generating source code, instruments, etc., can solve problems such as insufficient meeting design requirements, achieve high test point coverage, low capability requirements, and simple logic reasonable effect

Pending Publication Date: 2019-12-06
YANFENG VISTEON ELECTRONICS TECH NANJING
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the early development time, the functions provided are not enough to meet the design requirements of the current i

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and tool for automatically generating automatic test script of automobile instrument
  • Method and tool for automatically generating automatic test script of automobile instrument

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to deepen the understanding and recognition of the present invention, the present invention will be further described and introduced below in conjunction with the accompanying drawings.

[0024] Such as figure 1 Shown, be the automobile meter automatic test script automatic generation method that the present invention proposes, comprise and import and analyze the DBC file of the meter to be tested, select the function module to be tested and its working mechanism, set the message message and the signal information of the corresponding function module , Generate corresponding automated test scripts according to the information of the selected settings.

[0025] Wherein, the importing and parsing of the DBC file of the instrument to be tested is specifically parsing the imported DBC file according to its inherent format, obtaining all messages, signals and message sending cycles in the DBC file, and forming a tree list file to display.

[0026] The function mod...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and a tool for automatically generating an automatic test script of an automobile instrument, and belongs to the technical field of automobile electronic testing. Themethod comprises the steps of importing and analyzing a DBC file of a to-be-tested instrument, selecting a to-be-tested function module and a working mechanism of the to-be-tested function module, setting message information and signal information of the corresponding function module, and generating a corresponding automatic test script according to the selected and set information. The test script automatically generated by using the method can be used by an automatic test platform, and the functions of conventional test, abnormal voltage and recovery test, signal loss and recovery test, power supply mode switching test and the like of automobile instrument function test can be realized. The automatic test script generation method and tool have transportability and universality, and solve the problems of non-standard test case writing format, incomplete test point coverage rate, overlong test case development period and the like caused by own working habits of testers.

Description

technical field [0001] The invention relates to the technical field of automatic testing, in particular to a method and a tool for automatically generating an automatic test script of an automobile instrument function. Background technique [0002] With the development of the times, the use of cars is getting higher and higher, and every car is indispensable for the car instrument used to display the status of the car. In order to ensure the correct indication of the instrument in actual use, it is necessary to carry out a series of The test, and the functional test is also the most important. When performing functional testing, the test script is the most important test basis. The logical relationship of the test script design and the covered test points will directly affect the test results of the instrument. With the popularization of automated test platforms, the writing of test scripts is different from traditional manual test scripts, which have quite high requirement...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/30G06F11/36
CPCG06F8/30G06F11/3684Y02P90/02
Inventor 黄桑
Owner YANFENG VISTEON ELECTRONICS TECH NANJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products