Badboy script parameterization using data source Excel

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.