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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -