Use the FormFill action to fill in the value of form input elements (or, in other words, set the value of a field on a page). Use FormFill actions as an alternative to using a Type action as Type actions can be difficult to create from scratch. Also, use the FormFill action when setting a parameter.
When FormFill is selected, certain keystrokes in fields (such as pressing Backspace, or pressing Tab to move to the next field) are still recorded as Type actions. If you corrected a typo while entering text in a form field, you can edit the script to delete the Type actions and to correct the FormFill value if necessary.
Recommended practice is to use a FormFill action rather than a series of Type actions. However, you need to use Type actions if you want to capture an autofill (typing individual characters and then selecting a suggested string).
Add a FormFill action
Place the mouse pointer in the timeline where you want to add a value.
Select the symbol that appears to display the list of actions.
Define the FormFill action
Use the fields to define the action.
Enter any value in this field.
You can use evaluation syntax in this field.
Click Apply Parameter located next to the Value field. The possible parameters appear in a drop-down list.
Select the parameter to apply. The parameter syntax for the selected parameter appears in the Value field.
Encrypt the FormFill Value
After recording a script or opening a previously recorded script, select the FormFill action that contains the value to encrypt.
Click the lock icon at the right of the Value field.
The string in the field is replaced with the masked value. The field is disabled so the content cannot be edited. The button changes to show that the field is locked: .
After a value is encrypted, it cannot be reverted to plain text. You can, however, replace an encrypted value with plain text.
Replace an Encrypted Value
Click the lock icon at the right of an encrypted value to unlock the field.
The field content is deleted. The icon changes to show the field is unlocked: .
Type the new value in the unlocked field.
Leave the new value as plain text or encrypt it, as needed.
gomez_top is entered in this field. To change the field, replace
gomez_top with the string defining the target window. For more information, see Target property.
Define the locators for the form field.
Click the add icon located to the far right in the Locators area to add a locator, then enter the new locator information. For more information, see Element locators.
Click located to the right of any locator to delete it.