首页 > 代码库 > Selenium中配置链接使用FTP服务

Selenium中配置链接使用FTP服务

  • 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

技术分享

Selenium中配置链接使用FTP服务