For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Parametrizing through Data Table

Avo Assure provides Data Tables to store and manage input data for test cases. You can add multiple input values to a Data Table and use them with the same test case. This keeps test data separate from test steps and allows you to reuse test cases with different data.

Note:

  • The Data Table must be created in the same project as the Test Case, refer Creating Data Table.

  • You can add up to 100 columns, and there is no limit on rows in the Data Table.

To use data parameterization through data table, perform the following actions:

  1. On the Home page, under Projects, select the required project.

  2. Select Design Studio > Test Case.

  3. Select the Test Case and Test Step Group where you want to use data parameterization.

  4. Select Add Step (+) icon and then select Add Step Manually to add a new test step.

  5. From the Element column, select @Generic.

  6. From the Action column, select Get Param.

Note:

  • The Get Param action must be added before the Start Loop action.

  • Add all test steps that use data from the Data Table after the Start Loop action.

  • When you use the Get Param action, you must add both Start Loop and End Loop as required steps.

  1. Select the Select dataTable from the folder icon.

  2. Select the required Data Table. The Data Table path is added automatically.

  1. Select Add Steps (+) icon then select Add step manually to add a new test step.

  2. From Element column, select @Generic.

  3. From Action column, select Start Loop to start the extraction from Data Table.

  4. Select Save to display the Data Table icon for the subsequent test steps.

  1. Select the test step where you want to use data from the Data Table.

  2. Select the Select dataTable from the folder icon, and then select the required column name. The variable is added within the pipe operator (|). For example: |Username|.

Note: Perform the same step for each required input variable.

  1. From Element column, select @Generic.

  2. From Action column, select End Loop to stop the extraction from Data Table.

Note: If you do not add Start Loop or End Loop, a dangling node error occurs during test execution.

  1. Select Save to save the changes.

Last updated