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:

Input Value: avoassure/<Folder Name>/<Data Table Name>

Argument
Description

avoassure/<Folder Name>/<Data Table Name> (Required)

Required Data Table path for data parameterization in Test Case

  • Supported Input Format:

1. Text

2. Static values/ Dynamic variables

3. Supported File Types: .xml, .xls, .xlsx, .csv and Avo Assure data tables

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/LoginTests/UserCredentials) and fetches test data stored in the Avo Assure Data Table for dynamic use in automation scenarios. This helps parameterize inputs like usernames and passwords for multiple Test Cases efficiently.

Last updated

Was this helpful?