Title: Message Title
Y M updated an issue
Jenkins / JENKINS-58920
Jenkins Katalon integration: _javascript_ fails to execute in Windows Server (execute Windows batch command)
Change By:
Y M
Hi,I have a master - slave architecture, where the master is Linux Red Hat, and the slave is a Windows Server 2016.In the Windows server, I have installed Katalon 6.2.1.I made an integration test to run one simple script in the slave, but using Jenkins master. This is done by restricting in which node can the script be executed. As build step, I use "execute Windows batch command".My script needs to execute _javascript_. I could execute it successfully in the slave, using Katalon Studio, but when I executed it through Jenkins, this is the exception I got:---2019-08-13 14:46:32.531 ERROR c.k.k.core.keyword.internal.KeywordMain - ? Unable to execute _javascript_. (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to execute _javascript_. at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64) at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26) at com.kms.katalon.core.webui.keyword.builtin.ExecuteJavaScriptKeyword.executeJavascript(ExecuteJavascriptKeyword.groovy:42) at com.kms.katalon.core.webui.keyword.builtin.ExecuteJavaScriptKeyword.execute(ExecuteJavascriptKeyword.groovy:37) at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56) at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.executeJavaScript(WebUiBuiltInKeywords.groovy:3787) at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$executeJavaScript$2.call(Unknown Source) at create new client.run(create new client:25) at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194) at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119) at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337) at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328) at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307) at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299) at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233) at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:133) at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:116) at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:83) at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157) at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source) at TempTestSuite1565700365710.run(TempTestSuite1565700365710.groovy:35)Caused by: org.openqa.selenium._javascript_Exception: _javascript_ errorBuild