java - Executing testNG from command line with UTF-8 encoding -


this may java question. have simple batch file executes testng xml (a test suite selenium tests)as below.

java -cp d:\..\..\lib\*;d:\..\..\bin org.testng.testng testng.xml pause 

tests executed on japanese application , @ times deals japanese characters. when execute eclipse , there no problem. when execute same tests batch file , tests fail giving exception

unable locate element :<"method":"link text","selector":"?????">

i know there -dfile.encoding=utf-8 option java, not sure how can incorporate in above batch file.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -