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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -