TestNG by default disables loading DTD from unsecure Urls

后端 未结 14 889
[愿得一人]
[愿得一人] 2021-01-02 00:10

I\'m using testng maven and selenium to run my tests, currently I have the following testng.xml file

Looks like the problem is with the &listeners and &class

14条回答
  •  一整个雨季
    2021-01-02 00:40

    Another option, if want it work for all the tests, regardless where you run them from, set the option in the pom by setting a system property. Add the following for maven-surefire-plugin and maven-failsafe-plugin

                        
                            
                                true
                            
                        
    

提交回复
热议问题