I am having maven project with testng files in src/test folder. When I run the Maven install commend I see all testng are running. But while I am trying to run one testng file individually as run as --> Testng Test. I am getting below exception.
org.testng.TestNGException: Cannot find class in classpath: HelloClass
I am able to generate testng class files and saved under target/test-classes folder using maven build option.