Junit @Test annotation shows error even after adding it to my build path.Can you please help asap...
Instructor
Ashish Thakur Replied on 06/02/2019
Please move your cursor over the error text and choose the TestNG library option
I did try adding the TestNG library but it still gave me the same error..@Test annotation is disallowed for this location...please help!
Instructor
Ashish Thakur Replied on 08/02/2019
I'm so sorry. You need to Add JUnit Library.
There are two libraries, out of TestNG and JUnit, you need to choose JUnit.
I hope this solves the issue.