...
To parameterize the test data:
Login to Log into QAS - Client.
Access Develop from left navigation to view Test Explorer screen.
On the Explorer section, you can view existing Test Scenarios.
Click the Expand option on a test scenario, where you can view all its test cases.
Open the test case in which you want to add test data or edit its existing test data.
In the test case, under the Parameter columns, for the data you want to parameterize, replace the existing values with a unique value without enclosing in double-quotes.
Click Test Data at the bottom left corner of the Test Explorer screen.
Clicking Test Data will open the Test Data explorer.
To add a test case iteration, click + Add TC Iteration. It will insert a blank row below the selected iteration and auto generate the Itr. N.
DataSetTag: Enter a unique value for a data set test case iteration. DataSetTag simplifies finding a test case iteration in the test case execution report.
Toggle: Toggle on the iteration to enable the execution for the test case iteration or toggle off the iteration to disable the execution for the test case iteration. You must enable at least one test case iteration to execute the test case.
Enter the values in their relevant formats for each parameterized data.
Enter $NULL$ in the cell where you want to have a blank value by clicking Add $NULL$ in blank from the More Options.
You can move and resize the Test Data explorer.
You can import test data for a test case from an excel file and also export it as an excel file.
The Total TC Iteration shows the total number of iterations in test data.
If the test case contains tasks, the first row displays the task names. Each task covers its associated parameterized data in the second row.
Click + Add task Iteration to add a task iteration within a test case iteration.
Clicking + Add task Iteration will insert a blank row after the test case iteration.
Enter the values in their associated format for the task parameters.
The values added for parameters of a task are not duplicated in the same tasks that are present in other test cases.
You do not need to enter the values for the parameters that are not associated with task iterations as they are not considered in the task iteration executions.
After adding or editing all the required data, click the Save button on the Test Case Editor screen.
Click the Test Data button present in the test case editor screen to close the Test Data explorer.
You can now Dry run the test case to verify whether the test data meets the test requirements.
Info |
---|
You can add $NULL$ for parameterized as well as static values. |
Test Data explorer parameterizes the values that are present under the parameter columns of the test case and task steps only.
If you do not define add test data for a step, then that step and its parent task is underlined with red. Also, the test case and test scenario are underlined with red in the left pane of Test Case screen.
...