This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Run keyword driven test from Silk Central 21.0 status not executed while error script test

hi all

any have problem run keyword from SC? while the script i create expected error and should be the result in SC also ERROR instead of NOT EXECUTED,

and also message on SC mention not found any result

error log:

12/22/2021 +0700 06:43:56.681 Exception in thread "main" java.lang.NoClassDefFoundError: com/borland/util/NLS
12/22/2021 +0700 06:43:56.681 at java.lang.ClassLoader.defineClass1(Native Method)
12/22/2021 +0700 06:43:56.681 at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
12/22/2021 +0700 06:43:56.681 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
12/22/2021 +0700 06:43:56.681 at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
12/22/2021 +0700 06:43:56.681 at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
12/22/2021 +0700 06:43:56.681 at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
12/22/2021 +0700 06:43:56.681 at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
12/22/2021 +0700 06:43:56.681 at java.security.AccessController.doPrivileged(Native Method)
12/22/2021 +0700 06:43:56.681 at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
12/22/2021 +0700 06:43:56.681 at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
12/22/2021 +0700 06:43:56.681 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
12/22/2021 +0700 06:43:56.681 at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.runner.workbench.VerificationFailedException.createMessage(VerificationFailedException.java:14)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.runner.workbench.VerificationFailedException.<init>(VerificationFailedException.java:10)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.runner.workbench.WorkbenchRunner.updateTestResultIfRequired(WorkbenchRunner.java:269)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.engine.Engine.run(Engine.java:310)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.engine.Engine.run(Engine.java:227)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.engine.RunContext.run(RunContext.java:34)
12/22/2021 +0700 06:43:56.681 at com.borland.silk.keyworddriven.engine.Engine.run(Engine.java:185)
12/22/2021 +0700 06:43:56.681 at com.borland.silkcentral.plugins.keyworddriventest.engine.EngineWrapper.main(EngineWrapper.java:27)
12/22/2021 +0700 06:43:56.681 Caused by: java.lang.ClassNotFoundException: com.borland.util.NLS
12/22/2021 +0700 06:43:56.681 at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
12/22/2021 +0700 06:43:56.681 at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
12/22/2021 +0700 06:43:56.681 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
12/22/2021 +0700 06:43:56.681 at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
12/22/2021 +0700 06:43:56.681 ... 20 more
12/22/2021 +0700 06:43:57.196 java.nio.file.NoSuchFileException: C:\Users\ADMINI~1\AppData\Local\Temp\SCC_ExecServer_19124_19125\TempExecutionResults\SC_4_1640130220930\st_engine.kdtresult
12/22/2021 +0700 06:43:57.196 at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
12/22/2021 +0700 06:43:57.196 at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
12/22/2021 +0700 06:43:57.196 at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
12/22/2021 +0700 06:43:57.196 at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
12/22/2021 +0700 06:43:57.196 at java.nio.file.Files.newByteChannel(Files.java:361)
12/22/2021 +0700 06:43:57.196 at java.nio.file.Files.newByteChannel(Files.java:407)
12/22/2021 +0700 06:43:57.196 at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
12/22/2021 +0700 06:43:57.196 at java.nio.file.Files.newInputStream(Files.java:152)
12/22/2021 +0700 06:43:57.196 at java.nio.file.Files.newBufferedReader(Files.java:2784)
12/22/2021 +0700 06:43:57.196 at java.nio.file.Files.readAllLines(Files.java:3202)
12/22/2021 +0700 06:43:57.196 at com.borland.silkcentral.plugins.keyworddriventest.KeywordDrivenTestLaunchBean.execute(KeywordDrivenTestLaunchBean.java:64)
12/22/2021 +0700 06:43:57.196 at com.segue.execserver.planning.internal.ThirdPartyTestRunner.run(ThirdPartyTestRunner.java:60)
12/22/2021 +0700 06:43:57.196 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
12/22/2021 +0700 06:43:57.196 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
12/22/2021 +0700 06:43:57.196 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
12/22/2021 +0700 06:43:57.196 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
12/22/2021 +0700 06:43:57.196 at java.lang.Thread.run(Thread.java:748)

Parents Reply Children
  • 0 in reply to 

    Thanks for replying. I already raised a ticket. I keep getting 

    4:11:36.700 PM
           Error: Could not create the Java Virtual Machine.
    4:11:36.700 PM
           Error: A fatal exception has occurred. Program will exit.
    4:11:36.700 PM
           Unrecognized option: --add-modules

    Which version of java are you in and is it 32 bit or 64 bit. I am on Eclipse Adoptium Java 8 64 bit.