Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (19k points)

I'm pretty new to TestNG framework. I downloaded TestNG from here: 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 (33.1k 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.
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.6k answers


108k users

Browse Categories