[Study Notes Interface registration data processing automation

Work often encounter such register an account, there is no need to use the registered data, when you prepare test cases, test data, how to write it?
Thinking: generating a random number, the update data to an initial value (such as +1) on this basis. Now we look at the general idea of the second case.
In cases where the test data with our unified with $ (no_use) instead
[Study Notes Interface registration data processing automation

In the excel table and then we create a new sheet page (init) to store initialization data
[Study Notes Interface registration data processing automation

We need to do the following measures when operating excel tables:
1, read the initial value init of no_use of sheet page
[Study Notes Interface registration data processing automation
2, add an update no_use method parameter is no_use, write and save excel table
[Study Notes Interface registration data processing automation

3, test reading excel sheet, comprising determining whether the test data "$ (no_use)" string, where he or dictionary as a value also, if included, to replace the initial value init of the sheet of the page
[Study Notes Interface registration data processing automation

Guess you like

Origin blog.51cto.com/11926720/2475222