[Hardware automated testing--Design and implementation of test software] How to design and implement!

      Today, let’s talk about the design and implementation of automated software in the direction of hardware. Later I will use examples to give us a deeper understanding of hardware automation. First of all, the development tool chosen is the Python language. Why choose the Python language? Because its syntax is relatively It is simple and has many external libraries. Anyway, it is very practical for automation.

1. Hardware automated testing is roughly divided into three stages:

(1). Construction of test framework (QT and built-in tkinter library are recommended here)

(2). Implementation of test items (many products are developed based on the Linux platform, and python’s built-in library paramiko is a good choice)

(3). Acquisition of test data (if the project is relatively large, it is recommended to use the Mysql database to manage the data. For small data, python's xrld, xlwt and other libraries can be used to complete data operations)

2. Environment setup:

(1) Python installation: Website download: click to open the link (or enter the URL yourself Download Python | Python.org )

What I am using here is version 3.7.8 of python. Details are as follows:

Supongo que te gusta

Origin blog.csdn.net/pengneng123/article/details/131417200
Recomendado
Clasificación