UI test Error running 'LoginWindow' : Command line is too long. Shorten command line

i got error like this

''' Error running 'LoginWindowTes': Command line is too long. Shorten command line for LoginWindowTest.loginTest or also for JUnit default configuration.'''

when I made edit configuration and create VM path
After that I debug LoginWindowTest.java then I got this error
test

What is the reason I got this error?

Could you please explain to me ?

Hi,

You are using Windows and it has a limit on command line length of 2047 characters.

There is a workaround for that:

  1. Edit your Run configuration
  2. Change value of Shorten command line drop down

short-cmd