Error message when playing back the steps recorded.


#1

Folks,

I am fairly new to Katalon. As a proof of concept, I am doing a very simple test. Login into the Web application, Search for a file, View a document and then logout.

The playback errors out when it tries to enter the file name in the text box. Here is the error message. Can someone help please ?

2018-12-05 10:21:45.511 e[1;31mERRORe[0;39m e[36mc.k.k.core.keyword.internal.KeywordMain -e[0;39m e[31m? Unable to set text ‘aaron’ of object ‘Page_/input_Search For_edtSearchText’ (Root cause: java.lang.IllegalArgumentException: Cannot find elements when the XPath expression is null.)e[0;39m
2018-12-05 10:21:45.517 e[1;31mERRORe[0;39m e[36mc.k.k.core.main.WSVerificationExecutor -e[0;39m e[31m? Verification FAILED.e[0;39m
e[31mReason:e[0;39m
e[31mcom.kms.katalon.core.exception.StepFailedException: Unable to set text ‘aaron’ of object ‘Page_/input_Search For_edtSearchText’ (Root cause: java.lang.IllegalArgumentException: Cannot find elements when the XPath expression is null.)e[0;39m
e[31m at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)e[0;39m
e[31m at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)e[0;39m
e[31m at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)e[0;39m
e[31m at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.setText(SetTextKeyword.groovy:65)e[0;39m
e[31m at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.execute(SetTextKeyword.groovy:37)e[0;39m
e[31m at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)e[0;39m
e[31m at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.setText(WebUiBuiltInKeywords.groovy:950)e[0;39m
e[31m at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$setText$1.call(Unknown Source)e[0;39m
e[31m at WSVerification1544023300520.run(WSVerification1544023300520:31)e[0;39m
e[31m at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)e[0;39m
e[31m at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)e[0;39m
e[31m at com.kms.katalon.core.main.WSVerificationExecutor.runScript(WSVerificationExecutor.java:146)e[0;39m
e[31m at com.kms.katalon.core.main.WSVerificationExecutor.doExecute(WSVerificationExecutor.java:140)e[0;39m
e[31m at com.kms.katalon.core.main.WSVerificationExecutor.processExecutionPhase(WSVerificationExecutor.java:123)e[0;39m
e[31m at com.kms.katalon.core.main.WSVerificationExecutor.accessMainPhase(WSVerificationExecutor.java:115)e[0;39m
e[31m at com.kms.katalon.core.main.WSVerificationExecutor.execute(WSVerificationExecutor.java:103)e[0;39m
e[31m at com.kms.katalon.core.main.TestCaseMain.runWSVerificationScript(TestCaseMain.java:119)e[0;39m
e[31m at com.kms.katalon.core.main.TestCaseMain$runWSVerificationScript$0.call(Unknown Source)e[0;39m
e[31m at TempTestCase1544023299253.run(TempTestCase1544023299253.groovy:22)e[0;39m
2018-12-05 10:21:45.519 e[34mINFO e[0;39m e[36mc.k.k.core.main.WSVerificationExecutor -e[0;39m e[39mEND Verification