1. First create a new Excel, here The example I write very simple, from two consists of data, the first behavior of the table header. See:
2. Record the script, see previous article, record a very simple Sogou query
3. Add the data source, and in the tools panel find the data source and drag it to the front of the step, so be sure to put it on top because the runtime needs to load it first.
Then add two variables to the variables panel, C1 and C2, without having to fill in the specific variable value, because the variable value we will read from Excel.
Then double-click Load data from to configure the data source, select Excel File
Select Sheet1, tick the variable name
Modify Parameters:
Modify the arguments for the assertion to be
Modify the number of values for which the number of executions is cyclic C1
Okay, we can run.
Badboy script parameterization using data source Excel