An automated testing method for realizing different communication modes of embedded devices

An embedded device and automated testing technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as low test efficiency, long test time, and error-prone, so as to improve test execution efficiency and facilitate expansion , the effect of saving test time

Active Publication Date: 2021-01-26
FUJIAN CENTM INFORMATION
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the current testing of embedded devices takes a lot of testing time, the testing efficiency is low, and it is easy to make mistakes

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
  • An automated testing method for realizing different communication modes of embedded devices
  • An automated testing method for realizing different communication modes of embedded devices
  • An automated testing method for realizing different communication modes of embedded devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the present invention more comprehensible, a preferred embodiment is now described in detail with accompanying drawings as follows.

[0046] Such as figure 1 As shown, a kind of automatic testing method that realizes the different communication modes of embedded equipment of the present invention, comprises the following steps:

[0047] Step 1, set up the Robotframework framework (being a kind of extensible keyword-driven automated testing framework based on Python, referred to as the RF framework) on the PC of Windows system, according to the Robotframework framework custom development test library (due to the test library provided by the existing framework failed to meet the tested requirements);

[0048] Step 2, according to the specification development test script described in the test case in this test library, the key data in this test script is correspondingly set with the keyword in this test library, calls the keyword in this test library by ...

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 provides an automatic testing method for realizing different communication modes of embedded devices, including: 1. building a Robotframework framework on a PC and developing a test library; 2. developing a test script according to the rules of the test library, and the test script cooperates with the test library 3. Develop a capture wizard program, run on the embedded device, and perform simulated operations; 4. If the tablet is used for testing, run the data forwarding service and data forwarding service on the embedded device Receive the test data from the PC, send it to the embedded device, wait for the embedded device to return the response data, and feed it back to the PC; if the PC is used for testing, the embedded device receives the test data sent by the PC and returns the response data to the PC 5. One-click installation environment deployment, one-click operation, and test report generation. The invention saves testing time and improves testing efficiency.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to an automated testing method for realizing different communication modes of embedded devices. Background technique [0002] With the advancement of science and technology, embedded software technology has been developed rapidly, and its application has been involved in all aspects of production, work and life. With the continuous development of the financial industry, the market concentration of the industry has gradually increased, and there are higher requirements for the technical level and product quality of enterprises. [0003] At present, most products in the financial equipment industry are developed using embedded systems and software technologies. There are various communication protocols used between embedded devices and host computers, such as: HID protocol, serial port protocol, Bluetooth protocol, Wifi protocol, etc. Sometimes a product integrates multiple...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3684G06F11/3688G06F11/3696
Inventor 曾芳芳林婧
Owner FUJIAN CENTM INFORMATION
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