您的位置:首页 > 编程语言 > PHP开发

Selenium中配置链接使用FTP服务

2017-05-24 09:32 267 查看

Enable the default report solution

Step1: Create a suite listener and add codes into it, please watch the blue box more carefully.





Step2: Enable the new listener in the TestNG configuration file



Step3: add ftp settings and the recipient of email in the environment.xml

you must assure that you can see the right ftp site after you navigate to "ftp://[FTPHost]" through any browser





Go through all the steps above, finally you will receive the report email after test

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: