Skip to content

How do I simulate "Enter" action along with data entry

This example demonstrates simulating an "Enter" action after entering/appending value in an input field.

In the solution shown below, you will see that the zip code in the field "Zip code of person buying insurance:" in the HICC application is typed in and then "Enter" action is simulated to calulate the Insurance Cost using "sendKeysEnter" command.

Solution:

# Command Target Value
Entering the zip code and then simulating "Enter" action
1 sendKeysEnter id=txt_ZipCode 08817 
Note: This functionality is currently not available in HICC, hence if you execute the above command, it will not work.

Tips, Tricks, Gotchas & Best Practices:  

  • As an alternate solution, you can use type and click commands subsequently to achieve the same.


Feedback and Knowledge Base