Enter text into web element
Description
Enter text into the targeted web element.
Input Ports
| Name | dataType | sourceType | required | description |
|---|---|---|---|---|
| Element selector | text | link-manual | true | The input or textarea element that should get specific text values. |
| iFrame selector | text | link-manual | false | If the element is inside of an Iframe, it is mandatory to specify the iframe selector, otherwise the element won’t be found. |
| iFrame type | text | manual-only | false | Option to add more iframes if the targeted element exists in a nested iframe |
| Typing speed | text | manual-only | true | The speed the agent will be clicking keys. |
| Text value | long-text | link-manual | true | The text value that should be entered into the element. |
Scenarios
- The user is busy filling out a form and wants to type
slim shadyinto the web element at anormalspeed. - The user is busy filling out a form and wants to type
slim shadyinto the web element at amediumspeed. - The user is busy filling out a form and wants to type
slim shadyinto the web element at aslowspeed.
Use case
Practice using w3Schools
- Launch a web browser using
chromeoredge, use this url:https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_test - Get the
First nameElement selector. Here is how to - Add the
Element selectoras a manual value inside of the commands settings - Get the
iFrame selector. Here is how to - Add the
iFrame selectoras a manual value inside of the commands settings - Add the value
slim shadyinto thetext valueport as a manual value inside the commands settings - Make sure you have a robot linked to the macro and run your macro
Inputs
- Element selector:
#fname - iFrame selector:
#iframeResult - iFrame type:
single - Typing speed:
Normal - Text value:
slim shady
Experienced tips
- When the
element selectorcould not be found inside of the page, the command will timeout and stop the process. - When the
elementare inside of aniframeand theiframe selectorcould not be found, the command will timeout and stop the process. - When the
Typing speedis too fast onnormal, try making itslow. - When no
Element selectoris provided, it will stop the process and throw the following error.Enter text requires a element selector
Search Tags
Enter text Browser text