码迷,mamicode.com
首页 > 其他好文 > 详细

Selenium中配置链接使用FTP服务

时间:2017-05-24 09:58:51      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:技术   images   class   配置   new   caff   sel   nbsp   ase   

  • 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服务

标签:技术   images   class   配置   new   caff   sel   nbsp   ase   

原文地址:http://www.cnblogs.com/kill0001000/p/6897344.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!