Get Param

This is a pre-built action in Avo Assure and comes under the @Generic element, instructs the Avo Assure to access the data from an Excel file or Data Table. It helps when we are trying to data parameterize the value that are to be entered in a Test Case.

Syntax

For Excel:

Input Value: <file path>;<sheetname in case of excel>(Mandatory)<row count>OR<start row- end row>;ADV

Argument
Description

file path (Required)

Path to the source file (Excel, CSV, ) from which data is retrieved.

Sheetname in case of excel (Mandatory)

The name of the sheet within the Excel workbook from which to read data

row count (Optional)

Number of rows to read starting from the top (excluding headers, if any). Use this to fetch a fixed number of rows from the beginning.

start row - end row (Optional)

Fetches data starting from the specified start row to the end row

ADV (Optional)

Additional parameter for Data parameterization to retrieve data from the excel file in dynamic way.

For Data Table:

Output Value:

Argument
Description

N/A

Not Applicable

Example 1

The Get Param action takes the value from the Input Value column (e.g., C:\TestData\Credentials.xlsx;LoginSheet;2-4) and retrieves specific rows containing login credentials for automated test execution. This keyword helps parameterize test data from Excel for various Test Cases.

Example 2

The Get Param action takes the value from the Input Value column (e.g., C:\TestData\Credentials.xlsx;LoginSheet;2;ADV) and retrieves a specific range of data rows in advanced mode. This allows users to fetch structured test data with more control, ideal for parameterizing complex test cases in automation.

Example 3 For Data Table

The Get Param action takes the value from the Input Value column (e.g., avoassure/Avo Bank/User Credentials) and fetches test data directly from the Avo Assure Data Table. There's no need to provide the file path.

Last updated

Was this helpful?