Save Table Selenium Step
Brief description
This step saves the specified web table to a datatable variable.
Step Information
Step Name (Not required)– the custom name of the process step that labels the editor’s process step box
Input Parameters
- Show column names in first row (Required)
- T (true)
- F (false- default value)
- Columns (Required) - list of columns you want to save
- Selector Type(Required) – choose a selector type from the dropdown menu, possibilities are :
- Class Name
- CSS Selector
- Name
- Id
- Link Text
- Partial Link Text
- Tag Name
- XPath (get those elements after inspect element in web browser)
- Selector Value (Required)– existing variable name or value that specifies the selector value
- Attribute – predefined name
- Wait for Element until timeout [ms] (Required)– existing variable name or value that specifies the waiting time for a result
Output Parameters
- Driver Reference (Required)– existing variable name or value that specifies the driver reference
- Result datatable variable name (Required)- existing variable name or value that contains result variable. If a new DataTable variable is created, you may optionally define Custom Columns for it (this is not required).
- Column Name – the desired name for the output column
- Column Type – the .NET data type for the column (e.g., String, Integer, Decimal, DateTime, Boolean, etc.)
- Element present (Required)– existing or new variable of boolean data type
Error handling
- Throw exception (Required):
- T (true)
- F (false - default value)
Additional comments
The number of custom columns defined must exactly match the number of columns detected in the Excel sheet. For example, if the Excel file contains four columns, you must define exactly four custom column definitions. Defining fewer (such as three) or more (such as five) will result in an error. Additionally, if the selected data type for any custom column does not match the actual data contained in that column of the Excel file, the system will return a type conversion error.