Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19k 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 (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.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...