Serial port automatic test method

A technology of automated testing and serial port debugging, which is applied in faulty hardware testing methods, software testing/debugging, error detection/correction, etc., can solve the problems of incomplete testing, low efficiency, cumbersome intelligent terminal interface testing operations, etc., and shorten testing The effect of cycle, comprehensive and effective writing, and simplified testing process

Pending Publication Date: 2022-05-27
NINGBO XIAOJIANG ELECTRONICS TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a serial port automatic testing method to solve the problems of...

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
  • Serial port automatic test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the above-mentioned objects, features and advantages of the present invention more clearly understood, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0028] see figure 1 , a serial port automatic test method, the host computer integrates multi-interface transparent transmission protocol, serial port debugging and script automatic running program, and sends single-threaded or multi-threaded transparent transmission instructions to the serial port on the test board, and automatically collects and analyzes data. Analysis, the production testing method comprises steps including the following steps:

[0029] Step A, use the host computer to connect the intelligent terminal through the serial port, and set the relevant parameters through the test tool;

[0030] Step B, use a scripting language to write test cases, and save them in the designated directory of the smart terminal; ...

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 discloses an automatic serial port testing method, which does not depend on other testing tools, directly calls an interface in an application, achieves the purpose of controllability of input parameters and output parameters, and meanwhile, compilation of a test case is more comprehensive and effective and is not limited by testing a finite function of DEMO any more. According to the method, the interface testing process is greatly simplified, automatic use case execution and result representation are achieved, the testing quality is ensured on the previous basis, and the testing period is shortened; automatic coding and address arrangement are carried out on all connected equipment, so that the dispatching uniformity of the automation of the upper computer instrument at the PC end is further enhanced; when instruction issuing is carried out on the serial port, certain safety and compatibility are ensured through a self-defined instruction structure.

Description

technical field [0001] The invention relates to the technical field of electronic equipment detection, in particular to a serial port automatic testing method. Background technique [0002] More and more IoT products have entered our lives, and smart home appliances have become a part of our lives. However, most of the terminal interface testing methods of smart home appliances rely on manual testing, and developers need to provide test DEMOs. Test on mobile phone. [0003] At present, there are two kinds of test DEMOs for intelligent terminal interface test: one is to install on the mobile phone and call the interface test through the APP application; Since the input and output of interface parameters are not completely transparent, such a test can only test whether the basic functions of the interface are normal. For some interfaces with more complex functions, it is often necessary to divide the structure when designing the use case. The method of testing the DEMO to te...

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): G06F11/22G06F11/36
CPCG06F11/221G06F11/2273G06F11/3688G06F11/3696
Inventor 陈凯强王文虎
Owner NINGBO XIAOJIANG ELECTRONICS TECH
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