Home › Forums › Selenium Forum › ignoring my annotation and I am getting pass=0 failed=0 skip=0 › Reply To: ignoring my annotation and I am getting pass=0 failed=0 skip=0
Rahul, the problem is with the “return” type you provided in the Test Method.
As per testing standard, your test method should not return any value, as we never call a test case into another test case. So if you change your return type to “void” it will be working fine.
However, TestNG provides a way by which you can return a value from a test case (not recommended) and according to this you have to set “allow-return-values”=”true” in Suite tag of TestNG.xml.
// all xml code goes here!!!
Hope this will resolve your query!!!