3. Enter the Name of the Method (E.g. Login) and add Parameter Value (E.g. Data)
4. If the user has copied the Test Steps, paste them into newly created method
5. Click Value in the corresponding cell and select Call Method from the drop-down (Select Login)
6. Enter Parameter Value and click Save
7. Add further steps to complete and execute the Test Script
Data Table allows generating millions of test data automatically in seconds for building a reusable testing logic in automation scripts, reducing maintenance and improving test coverage.
Steps & Configurations
1. Select the Test Steps from the existing Test Script to group as a single Method
2. Either click on it or go to Data Table Tab →
or right click on
and click on
3. Enter the Name for the Data Table and Number of Combination as per requirement
4. Click to add the Field Name and Select the Test Data Type as shown below
5. Add Other Field Names as per requirements
6. Click OK
7. Random Test Data will be generated as shown below
8. The user can also enter the Test Data manually
9. Set Number of Combination to 0 and add the fields into Data Table as shown above
10. Right-click in Text Editor area and click
11. Enter the Test Data and repeat the above step to add more details
TestingWhiz allows users to access Data Table Values without a loop
Syntax to access Data Table Value without loop in value column of TestingWhiz commands is as follows:
${tablename.columnname[index#]}
E.g.
${tablename.columnname[index#]}
Data Table Name: Employee
Column Name: (Employee’s) Name
If a user wants to access the 2nd row of employee 'Name' column from 'Employee' Data Table, then syntax will be:
${Employee.Name[2]}