<< Click to Display Table of Contents >> Navigation: Actions > Web Automation > Set Form Field Value |
The Set Form Field Value action intelligently fills form fields based on their type. It automatically detects the field type and provides appropriate options for each.
When to use this action:
Automating repetitive form filling (registrations, applications)
Testing forms with various input combinations
Filling complex forms with dropdowns, checkboxes, and radio buttons
Uploading files through web forms
Setting values in fields that Send Keys can't handle properly
Bulk data entry from spreadsheets or databases
Browser
Select which browser contains the form
Element Selection
Locate by: Choose how to find the form field
Select Element: Click to interactively choose a field
When you select a field, the action automatically detects its type
Field Type
The action supports these form field types:
•Text Input - For text fields, textareas, email, URL, search fields. Supports multi-line text for textareas. Also works for date, time, and other text-like inputs
•Checkbox - you can use these actions:
oCheck - Ensure checkbox is checked
oUncheck - Ensure checkbox is unchecked
oToggle - Switch to opposite state
•Radio Button - Check - Select this radio button. Automatically unselects other radio buttons in the group.
•Select/Dropdown - Select value By:
oValue - The option's value attribute
oLabel - The visible text of the option
oIndex - Position in list (0-based)
Shows available options when element is selected
Supports multiple selections (comma-separated values)
•Number/Range - For number inputs and range sliders. Enter the numeric value
•File Upload - use the actions
oSet File - Choose file to upload
oClear File - Remove selected file
Use [...] button to browse for files
Smart Field Detection
When you use "Select Element" to choose a form field:
•The action automatically detects the field type
•Shows appropriate options for that type
•For dropdowns, loads all available options
•Pre-fills current values when applicable
Related Topics