python + selenium + unittest Mail163 message transmission (PO)

First, the following directory on projects:

Second, the data driving yaml

 

 Three, Mail163 log in to write test cases

 

 

 

 

 Fourth, the mail configuration 163

 

 

 

 

 Five, Mail163 test case execution:

 

 

 Sixth, the implementation of the e-mail as follows:

 

 

Guess you like

Origin www.cnblogs.com/Teachertao/p/11706498.html