TestNG by default disables loading DTD from unsecure Urls

后端 未结 14 887
[愿得一人]
[愿得一人] 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:37

    Just to avoid confusion and make it easier for some one who is new to the Config edit option etc attaching a snap for getting it done in intellij.

    So as answered by- Mr Krishnan M. : Go to Edit Config for your Cucumber TestNGRunner class, then we have to add another argument to the VM options as below-

    1. How to Edit Run Config

    2. How to add >VM argument: "-Dtestng.dtd.http=true"

提交回复
热议问题