在成功完成(执行)构建(pass/ able )之后,我能够生成XSLT报告。我想用电子邮件把这份报告发送到电子邮件地址我需要写一个目标,我将通过ant命令从终端调用发送报告。
<target name="run">
<antcall target="clean" />
<antcall target="init" />
<antcall target="compile" />
<antcall target="runTests" />
<!-- <antcall target ="makeXsltReports"/> -->
<antcall target ="testng-xslt-report"/>
<antcall target="openReport" />
<Fetch the excel sheet's cell one >> get the email address >> send the email.
</target>发布于 2013-09-18 21:10:59
使用以下过程:
参考资料
https://stackoverflow.com/questions/15877575
复制相似问题