Skip to content

How do I press 'Left' arrow in the keyboard

This example demonstrates how to move the cursor or insertion point left from the end position.

In the solution shown below, you will see that the cursor is moved to the left from the end position in the "Income" input field in HICC by passing "Keys.ARROW_LEFT" as value to the "sendKeys" command.

Solution:

# Command Target Value
Moving the cursor to the left by one position from the end in the "Income" input field
1 sendKeys id=txt_income
Keys.ARROW_LEFT

Tips, Tricks, Gotchas & Best Practices:  

  • If "Keys.ARROW_LEFT" action doesn't work, as an alternative use "Keys.HOME" in the value.


Feedback and Knowledge Base