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