0 votes
1 view
in Devops and Agile by (12.5k points)

I'm pretty new to TestNG framework. I downloaded TestNG from here:http://beust.com/eclipse. After that, I created a new Java Project named as MyProject and a new TestNG class file "NewTest". I did write a small piece of Code with @Test annotation to launch Firefox browser and navigate to Google. I tried searching the web for possible solutions to sort this issue but I am not able to find the low level steps on how this can be corrected. Please help.

1 Answer

0 votes
by (32.4k points)
This issue comes. when the project directory in which the package is present, over there TestNG is not present. Make sure to follow the hierarchy wrt src folder being inside the project directory, and .java files and .class files will be automatically created as per your structure.
...