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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -