Set Form Field Value
Sets a form field to a new value in the active tab of the frontmost window of the selected browser.
Returns
True/yes if the field could be found and set, false/no otherwise.
Parameters
Field name selection strategy
Fields can be looked up by their name
attribute, their id
attribute, or by CSS Selector.
Form field
Depending on the selected Field name selection strategy, specify either the name
attribute, the id
attribute, or a CSS Selector.
Value
The field value to set.
If the field is a set of radio buttons, the radio button with the passed-in value will be marked.
If the field is a checkbox, a value of "1", "checked", "enabled", "on", "true" or "yes" will enable it, anything else will disable it.
Any other field type will be set as-is.
Browser
Lets you select from the list of supported browsers. Accepts a browser reference as input.
Trigger "change" event
After setting the field value, the HTML change
event can be fired on the field. Optional. This can be useful for search query fields with autocomplete or search-as-you-type functionality, for example.
Submit parent form
After setting the field value (and optionally firing the change
event), the parent form should be submitted. This will be ignored if no enclosing parent form could be found.
Pause after setting value
Adds a delay after the element was found and its value set. Optional, default is "no pause". If you want a pause greater than the maximum of 4 seconds, use a native "Wait" action.