A Type Web Text building block is used to type any text and captured keystrokes into an already open browser window.
Please note that this block only works with browser windows that were previously opened using the Start Web Browser block.
Fully expanded, the Type Web Text block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the text has been typed into the web browser.
The title of the block (“Type Web Text”) can be changed by double-clicking on it and typing in a new title.
This property contains the locator for the web element to be clicked.
A web element locator can either be dragged and dropped onto this property from the “Web” tab on the left side of the screen or be captured by right-clicking on the property and selecting “Capture new web element”.
Once set, the web element locator can be edited by right-clicking and selecting “Edit web element”. See the many different Learning Center video examples of how this works.
The property can be cleared by right-clicking and selecting “Clear web element”.
The text to be typed. Can contain tokens for field values (added below).
Right-click and select “Insert token” to insert one or more field tokens.
Click to capture keystrokes into the text value. This makes it easy to use special keys and key combinations such as CTRL+C, ENTER, etc.
Special keys and key combinations can also be entered manually by wrapping the key(s) with double percentage signs (%%). For instance: %%CTRL+P%% or %%ENTER%%.
Fields that enable the use of external values in the typed text.
To use the value of an added field, right-click the text field above and select “Insert token” and then insert this field’s name.
Add a field to be used in the typed text.
Select either “Text” for normal text or “Password” for entering secret information such as passwords.
A password value can’t be read by other users.
When checked, any text present in a previously selected web element (such as a form field that was clicked) will be cleared.
Select typing speed. In some cases, it may be required to type slowly to trigger events, such as on certain web pages.
By setting this property, the web element locator will be limited to only work inside the source element.
By setting this property, the building block will use a specific browser window.
Updated March 23rd 2017.