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 |
Tips, Tricks, Gotchas & Best Practices: