2017-02-16 37 views
0

我根據link更新了我的pom.xml。Testure和Maven的傾斜報告問題,java selenium

但是隻有xml文件在'allure-results'文件夾下創建。

index.html爲執行的測試用例創建文件。

我還在尋找testng偵聽器來進行魅力報告。但無法找到相同的。

任何人都可以幫忙。

+0

有誰知道答案 – rajjj

+0

@Krishnan Mahadevan,你對上述有什麼想法。 – rajjj

回答

0

您需要使用其中一個報告生成工具從xml結果生成報告。您的情況allure-maven-plugin已在pom.xml中配置。因此只需運行mvn site即可生成報告。欲瞭解更多信息,請參閱the docs

+0

現在得到:[ERROR] java.lang.NoSuchMethodError:org.apache.commons.beanutils.ConvertUtilsBean.register(ZZI)V [ERROR] at ru.yandex.qatools.properties.decorators.DefaultFieldDecorato r。 (DefaultFiel dDecorator.java:24)[ERROR] at ru.yandex.qatools.properties.PropertyLoader.populate(Propert yLoader.java:29)我很抱歉地說,但我沒有找到一個單獨的頁面,完整的信息以及要遵循的步驟來產生誘惑報告。有很多頁面和信息以大塊的形式出現。 – rajjj

+0

你可以在這裏找到競爭的例子https://github.com/allure-examples/allure-junit-example –