type, text, input, keyboard, textfield, scriptless, script-less, scripted, step, view, stepview

Method Type

Types text into the object. Use these keywords to press keyboard buttons:

  • {ENTER} - Enter Key
  • {TAB} - Tab Key
  • {ESC} - Esc Key

For password fields it is recommended to encrypt the text. To do so, first, parameterize the field, then right click the datatable cell and select "Encrypt Cell"

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Type( 
    Object Text,
    Integer DelayIntervalMS [Optional],
    Boolean EraseField [Optional],
    Boolean UsePhysicalKeyboardEvents [Optional],
    String CultureName [Optional]
)

Step

Type

User1

100

true

false

en-US

Object Text

DelayIntervalMS

Boolean EraseField

Boolean UsePhysicalKeyboardEvents [Optional]

String CultureName

Parameters

Text

Type: Object

Text to be typed (i.e. "username{ENTER}")

DelayIntervalMS (Optional)

Type: Integer

Default Value: 0

Delay between each character typed in milliseconds

EraseField (Optional)

Type: Boolean

Default Value: true

Erase the text from the object before typing

UsePhysicalKeyboardEvents (Optional)

Type: Boolean

Default Value: false

Use physical keyboard events instead of unicode characters

CultureName (Optional)

Type: String

Default Value: "en-US"

Culture name for physical keyboard

Returns

No return value

Example

VBScript

Application("Demo").View("DemoView").Object("DemoUsernameTextField").Type "user1"
'if you need some advanced behavior, you can add optional parameters
Application("Demo").View("DemoView").Object("DemoUsernameTextField").Type "user1{ENTER}", 100, true, false, "en-US"

JavaScript

Application("Demo").View("DemoView").Object("DemoUsernameTextField").Type("user1");
// if you need some advanced behavior, you can add optional parameters
Application("Demo").View("DemoView").Object("DemoUsernameTextField").Type("user1{ENTER}", 100, true, false, "en-US");

Comment

Enter text to element

Step

Type

User1

Comment

Set optional parameters

Step

Click

User1

100

true

false

en-US

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227