Test Cases/New Test Case FAILED because (of) Unable to click on object (Root cause: java.lang.Illega

How to resolve this:

Test Cases/New Test Case FAILED because (of) Unable to click on object (Root cause: java.lang.IllegalArgumentException: Object is null)

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘https://webshop.kutchenhaus.co.uk:9002/hmc/hybris’)

WebUI.setText(findTestObject(‘hmc/Page_Login - hybris Management Cons/input_MC14x1_login’), ‘admin’)

WebUI.setText(findTestObject(‘hmc/Page_Login - hybris Management Cons/input_MC14x1_password’), ‘1LoveNobilia!!!’)

WebUI.click(findTestObject(‘hmc/Page_Login - hybris Management Cons/span_Login’))

I am new in katalon and could not resolve it

Please if you could give advice it will be really cool.

Thank you

You should take a look at your object repository test object, i think it’s because there’s typo in the test object name when you do findTestObject()

1 Like