Selenium – The ‘test-output’ folder is not created when running TestNG Selenium test outside of Eclipse

seleniumtestngwebdriver

  1. We created some java code (selenium webdriver script) with Eclipse.
  2. Inside my project I used selenium jar files and TestNG jar
  3. While running these scripts we go test output folder within Eclipse.
  4. Then we created an executable jar from the script what we generated and while running this generated jar we are not getting the TestNG test-output folder.

Please suggest how could we create test-output folder while running our executable jar.

Best Solution

After you run the scripts just refresh the project. [Right-click the project-> Properties-> Click Refresh] You can now see the test-output folder in your eclipse.

Related Question