ChromeDriver does not start through CMD with “testng.xml”
问题 I was trying to run a TestNG.xml file from CMD but there are no errors shown and it seems that ChromeDriver is not starting. Note : if i go to Eclipse -> right click on testng.xml -> run as TestNG suite it will work perfectly. Below is the message i get when executing through cmd. The bat file contains: java -cp "D:\Java Applications\WebDriverProject\lib*;D:\Java Applications\WebDriverProject\bin" org.testng.TestNG testng.xml pause The testng.xml contains: The project structure from eclipse