Parameterization of the login function

First, use the data dictionary to configure different types of test accounts, as shown below:

 

Then import the above configuration file in testcase, use the account to receive the data dictionary returned by the user method, obtain the value according to the key, and fill it into the corresponding text box.

 

Guess you like

Origin www.cnblogs.com/my-testing-life/p/12731550.html