The 'test-output' folder is not created when running TestNG Selenium test outside of Eclipse
Asked Answered
V

3

6
  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.

Viminal answered 19/2, 2015 at 14:33 Comment(1)
Maybe this will help: #15457999Sumbawa
Y
2

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.

Younts answered 16/8, 2019 at 5:42 Comment(0)
I
0

Make sure that you have added all the JARs like

  1. ReportNG JAR
  2. Guice JAR
  3. Velocity dep JAR.

And press F5 after running your program. If still issue persists, restart the IDE.

Illlooking answered 15/2, 2019 at 10:33 Comment(0)
S
0

Enable the checkbox and name the output folder as test-output

1

Shakira answered 5/6, 2023 at 5:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.