Test case is not working if click on Enter button(keyboard)

recored (while recording script use enter button(keyboard)) >> play >> create Object repository >> save and run
while playing it is working but same is not working once object repository creation

Hi,

Can you please share what the keyboard button Test Object looks like in your object repository? What are the button properties?

I haven’t had good luck creating a Test Object for keyboard keys, myself. However, on Android, you can interact with the keyboard programmatically through:

AndroidDriver<?> driver = MobileDriverFactory.getDriver()
driver.pressKeyCode(AndroidKeyCode.ENTER)

Where AndroidKeyCode is an enum with all of the possible key entries.