Katalon Studio Version: 10.2.2
Execution Configuration:
Relevant console logs:
...
2025-06-25 09:08:47.923 WARN c.k.k.c.h.s.CDTVideoRecorder - No alive Web Driver found!
...
at com.kms.katalon.core.helper.screenrecorder.CDTVideoRecorder.saveRecording(CDTVideoRecorder.java:217)
at com.kms.katalon.core.helper.screenrecorder.CDTVideoRecorder.stop(CDTVideoRecorder.java:174)
at com.kms.katalon.core.helper.screenrecorder.VideoRecorder.stop(VideoRecorder.java:60)
at com.kms.katalon.core.context.internal.VideoRecorderService.stopRecording(VideoRecorderService.java:255)
at com.kms.katalon.core.context.internal.VideoRecorderService.handleListenerEvent(VideoRecorderService.java:116)
at com.kms.katalon.core.context.internal.ExecutionEventManager.publicEvent(ExecutionEventManager.java:36)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:352)
at com.kms.katalon.core.common.CommonExecutor.accessTestCaseMainPhase(CommonExecutor.java:71)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:160)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:107)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:186)
at TempTestSuite1750813721482.run(TempTestSuite1750813721482.groovy:35)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: java.io.IOException: Cannot run program "cmd.exe" (in directory "C:\Users\***\AppData\Local\Temp\Katalon\video\frames-1750813736904"): CreateProcess error=267, The directory name is invalid
at com.kms.katalon.core.util.ConsoleCommandExecutor.exec(ConsoleCommandExecutor.java:348)
at com.kms.katalon.core.util.ConsoleCommandExecutor.execSync(ConsoleCommandExecutor.java:305)
at com.kms.katalon.core.util.ConsoleCommandExecutor.execSync(ConsoleCommandExecutor.java:300)
at com.kms.katalon.core.util.ConsoleCommandExecutor.execSync(ConsoleCommandExecutor.java:275)
at com.kms.katalon.core.helper.screenrecorder.CDTVideoRecorder.saveRecording(CDTVideoRecorder.java:215)
... 14 more
Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
... 19 more
1 Like
kindly explain your issue
Before 10.2.1, screen record video using Browser-based Recorder
works well. But updated Katalon Studio 10.2.1 or 10.2.2, we found the screen recording video not generated when we run test suite and some cases failed. And, the console logs showed the related error about CDTVideoRecorder
error seems to be related to directory
The directory should created by CDTVideoRecoder
, could you do regression testing for Katalon Studio record video during execution with Browser-based Record
I am also facing the same issue, Can anyone help here
can you try with latest version and confirm if issue persists
@dineshh This issue still persists on 10.2.3
Confirmed for me too - the issue still exists.
@Elly_Tran can we get
on this issue
Hi Dinesh, I am also facing recording issue with 10.0.1, as per the company limitation i cant upgrade higher version too. can you please advise any temporary solution for this?
Hi all,
Sorry for my late response. We have been acknowledged this issue and plan to fix it soon. In the meanwhile, can you guys please try this workaround and let know if it works/ not. Thank you
Move WebUI.openBrowser(GlobalVariable.G_SiteURL)
out of the Test Case script
2 Likes
Tried to open browser (WebUI.openBrowser
) in @BeforeTestCase
or @BeforeTestSuite
, this issue still exists. And met this exception when open browser in @BeforeTestCase
or @BeforeTestSuite
[SEVERE] Could not dispatch event: class com.kms.katalon.core.event.TestingEvent to subscribing class class com.kms.katalon.core.context.internal.VideoRecorderService
java.lang.NullPointerException: Cannot invoke "com.kms.katalon.core.context.internal.InternalTestCaseContext.getTestCaseIndex()" because "this.lastestTestCaseContext" is null
at com.kms.katalon.core.context.internal.VideoRecorderService.genVideoFileName(VideoRecorderService.java:190)
at com.kms.katalon.core.context.internal.VideoRecorderService.startRecorder(VideoRecorderService.java:142)
at com.kms.katalon.core.context.internal.VideoRecorderService.onTestingEvent(VideoRecorderService.java:86)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:507)
at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:434)
at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:411)
at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:384)
at org.greenrobot.eventbus.EventBus.post(EventBus.java:265)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:170)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:40)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:35)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:47)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:33)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:64)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:62)
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
at ReporterListener.beforeTestCase(ReporterListener.groovy:35)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1254)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1030)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:814)
at groovy.lang.GroovyObject.invokeMethod(GroovyObject.java:39)
at com.kms.katalon.core.context.internal.TestHooker.invokeMethod(TestHooker.java:111)
at com.kms.katalon.core.context.internal.TestHooker.lambda$3(TestHooker.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.kms.katalon.core.context.internal.TestHooker.invokeContextMethods(TestHooker.java:94)
at com.kms.katalon.core.context.internal.TestListenerCollector.lambda$3(TestListenerCollector.java:88)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.kms.katalon.core.context.internal.TestListenerCollector.handleListenerEvent(TestListenerCollector.java:85)
at com.kms.katalon.core.context.internal.ExecutionEventManager.publicEvent(ExecutionEventManager.java:36)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:303)
at com.kms.katalon.core.common.CommonExecutor.accessTestCaseMainPhase(CommonExecutor.java:71)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:160)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:107)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:195)
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
at TempTestSuite1752543668180.run(TempTestSuite1752543668180.groovy:35)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:254)
at groovy.lang.GroovyShell.run(GroovyShell.java:360)
at groovy.lang.GroovyShell.run(GroovyShell.java:349)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:652)
at groovy.ui.GroovyMain.run(GroovyMain.java:398)
at groovy.ui.GroovyMain.access$1400(GroovyMain.java:68)
at groovy.ui.GroovyMain$GroovyCommand.process(GroovyMain.java:322)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:142)
at groovy.ui.GroovyMain.main(GroovyMain.java:115)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:117)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:39)
[FINE] No subscribers registered for event class org.greenrobot.eventbus.SubscriberExceptionEvent
1 Like
Hi @simon_y_si,
Thank you for trying out and letting us know. I will ask my team and back here soon.
Hi @simon_y_si,
Please add these arguments and try it out to see how it works:
Those arguments had been added.
1 Like