Skip to content

How do I Press 'Enter' in the Keyboard

This example demonstrates pressing 'Enter' key in the keyboard.

In the solution shown below, you will see that "Enter" action is performed on "Calculate" button in HICC by passing "Keys.ENTER" as value to the "sendKeys" command.

Solution:

# Command Target Value
Performing "ENTER" action on "Zip code" input field
1 sendKeys
id=txt_ZipCodeKeys.ENTER

Tips, Tricks, Gotchas & Best Practices:  



Feedback and Knowledge Base