how to press enter key

I took a test with search site’s text box which has no ‘enter’ button but only works with ‘Enter’ key.

When I hit the ‘enter’ button, it was not recorded on history.

How can I record this action or is there any other way to do for same result?

You can’t record ‘Send Keys’ action during your recording session. Please add 'Send Keys’ step manually to solve this problem,