I am getting below error while running this test in command line mode of SOA test though it is working fine in GUI mode.
What version of SOAtest are you using? What do your arguments to soatestcli look like?
Are you attempting to run a Web Functional Test using the SOAtest CLI on a headless machine?
If so then you will need to install the X virtual framebuffer (Xvfb) on your headless machine before you can successfully run a Web Functional Test as those are UI tests and require a graphical display. The X virtual framebuffer gets around this requirement because its functionality is to enable users to run graphical applications without a display.
The doc below goes over how to set up a headless machine to run Web Scenarios in a headless environment.
I am using SOA test Version 9.10.I am calling a selenium script using Selenium Executor provided by SOA Test.
I am running the script in the same machine(WINDOWS only) both in GUI Mode and CLI Mode.
GUI Mode working fine and CLI is giving this error.
What is the full stack trace? It may be easier to contact Parasoft Support to better understand your specific use case and how best to support it.