Forum Discussion
andrewa
9 years agoContributor
I don't think there is a Maven project problem. When I select 'All Tests' it actually runs all of the tests I have in the project. I was just hoping I could get the 'specific' test feature working.
Bobik
9 years agoFrequent Contributor
Try write class name in TC like "withdrawalTest.loginTest".
- andrewa9 years agoContributor
I just tried something like that, and I got the same error message:
Exception in thread "main" org.testng.TestNGException:
Cannot load class from file: loginTest- Bobik9 years agoFrequent Contributor
Strange situation. Are you sure you tried use '<PackageName.ClassName>' format?
I think in this case you should get error like (if something still wrong):Exception in thread "main" org.testng.TestNGException:
Cannot load class from file: withdrawalTest.loginTestBut I don't see the package name in your error text. Please check it again.
No other ideas.