How to run Selenium tests using TestNG framework and Jenkins

前端 未结 2 1892
半阙折子戏
半阙折子戏 2021-01-22 11:22

I want to run Selenium tests written in TestNG framework using Jenkins.

The command configured in jenkins job (Freestyle project):

java -cp J:\\taf\\tes         


        
2条回答
  •  不知归路
    2021-01-22 11:28

    This is not TestNG or Selenium issue. This error sometimes occure when Jenkins is insalled as Windows Service. Install Jenkins inside servlet container like Tomcat or GlassFish and it should help.

提交回复
热议问题