Keys Action (iOS Objects)

Applies to TestComplete 14.72, last modified on December 24, 2020

Description

The Keys action selects (focuses) an object and types text into it.

Declaration

TestObj.Keys(Keys)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Keys [in]    Required    String    
Result None

Applies To

All iOS objects

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Parameters

The method has the following parameter:

Keys

The text to enter.

Result Value

None.

Remarks

For IOS 13:The Keys action might not work if the iOS TextField control is set to disable text copying (secureTextEntry = true) and if an input string contains symbols from a language that differs from the keyboard language. In such cases, use the SetText action instead of Keys.

See Also

Testing iOS Applications

Highlight search results