Type Web Text

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:

Type web text block

The Block Header (“Type Web Text”)

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.

Text value

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.

Capture

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%%.

Text fields

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 field

Add a field to be used in the typed text.

Type

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.

Clear field

When checked, any text present in a previously selected web element (such as a form field that was clicked) will be cleared.

Key speed

Select typing speed. In some cases, it may be required to type slowly to trigger events, such as on certain web pages.

Source element

By setting this property, the web element locator will be limited to only work inside the source element.

Browser window

By setting this property, the building block will use a specific browser window.

Author: Claus Topholt, March 23, 2017.