Search sendkeys Keys.chord(Keys.ENTER) return null

Hello Expert,

I want to ask your help with the issue I have been encountered in searching results showing like null value. Previously the searching automation is working fine and suddenly after months, the issue occurs. Below screenshot for reference. Thanks

WebUI.setText(findTestObject(‘Object Repository/Mail/Search_button’), Email)
WebUI.sendKeys(findTestObject(‘Object Repository/Mail/Search_button’), Keys.chord(Keys.ENTER))

Did you just change Chrome browser version?

chrome 98
Chrome browser version

Did you try updating the driver?

image

@Russ_Thomas yea I’ve tried to update the chrome web driver and still the issue exists.

You can try:

WebUI.sendKeys(findTestObject(‘Object Repository/Mail/Search_button’), Keys.ENTER.toString())

Or waiting for the fix of Chrome on Feb 16. Please refer to the related thread:

@duyluong Great, it’s working using the “Keys.ENTER.toString()”. Thank you so much. :heart: :clap:

1 Like