Once you have successfully debugged and run your test, you may want to see
how the same test performs with multiple sets of data. To do this, you
convert your test to a data- driven test and create a corresponding
data table with the sets of data you want to test.
Converting your test to a data- driven test involves the following steps:
- Adding statements to your script that open and close the data table.
- Adding statements and functions to your test so that it will read
from the data table and run in a loop while it applies each set of data.
- Replacing fixed values in recorded statements and checkpoint statements with parameters, known as Parameterizing the test.
- You can convert your test to a data- driven test using the DataDriver Wizard or you can modify your script manually.
Creating Data Driven Test:
- Choose Tools > DataDriver Wizard. Click Next to begin the parameterization process.
- Create a data table for the test.
- Assign a table variable name.
- Select global parameterization options.
- Select the data to parameterize.
Converting your test to a data- driven test involves the following steps:
- Adding statements to your script that open and close the data table.
- Adding statements and functions to your test so that it will read
from the data table and run in a loop while it applies each set of data
- Replacing fixed values in recorded statements and checkpoint statements with parameters, known as Parameterizing the test.
- You can convert your test to a data- driven test using the DataDriver Wizard or you can modify your script manually.
------------- http://www.quick2sms.com - Send Unlimited FREE SMS to Any Mobile Anywhere in INDIA,
Click Here
|