py a bat file to run automated scripts

Goal : the establishment of a mechanism to double-click to run automated scripts, rather than each time the compiler is run, convenient tester user experience.

 

Methods :

1. Place all the code packaged into exe file, but once the changes have to repackage.

2. Run the code written in the bat file, double-click that the implementation RunAllCase.

 

In this paper python3.8 example.

In this paper, a method to solve the error [2] that appears.

 

The first is the bat file, this simple, create a new txt, enter:

 

 

Then, after being given the run began.

 

 

 

 

View report found cause of the error is not discovered reading library.

 

 

 

 Solve :

Import Environment can be.

 

 

 

 

Guess you like

Origin www.cnblogs.com/4wheel/p/11833581.html