Error: org.testng.TestNGException: Cannot find class in classpath: EmpClass

前端 未结 30 1294
礼貌的吻别
礼貌的吻别 2020-12-09 08:17

When i\'m trying to run the test suite, am getting this exception. We are using maven project here and i am done with refreshing, cleaning, reinstalling testNG and then impo

30条回答
  •  我在风中等你
    2020-12-09 08:58

    You have to edit your tests Runner xml file. See this example:

     
                   
                          
                           
                   
     
    

    In row you must enter your tests package name then name of class that you want to run.

    Thanks and wish you all the best.

提交回复
热议问题