Test Report Sent Automatically by Email?

1,236 views
Skip to first unread message

yun li

unread,
May 9, 2011, 9:45:17 PM5/9/11
to robotframe...@googlegroups.com
Hi All,

I want the test report (report.html) sent automatically to my email?
How can I do?

David

unread,
May 11, 2011, 2:28:07 PM5/11/11
to robotframework-users
That's not something built into Robot Framework. You'd have to build
your own script that runs Robot Framework then sends email with the
results. Or you would have to modify Robot Framework to be able to
support that.

Pekka Klärck

unread,
May 16, 2011, 5:51:20 PM5/16/11
to mang...@gmail.com, robotframework-users
> On May 9, 6:45 pm, yun li <liyun800...@gmail.com> wrote:
>> Hi All,
>>
>> I want the test report (report.html) sent automatically to my email?
>> How can I do?

2011/5/11 David <mang...@gmail.com>:


> That's not something built into Robot Framework. You'd have to build
> your own script that runs Robot Framework then sends email with the
> results. Or you would have to modify Robot Framework to be able to
> support that.

Sending report after execution is probably the simplest approach.
Alternatively you can send it from a listener [1] or from test or
suite teardown e.g. based on ${SUITE STATUS} variable [2].

[1] http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#using-listener-interface
[2] http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.5.7#automatic-variables

Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org

Andrew Kolesnik

unread,
Aug 20, 2011, 10:27:46 PM8/20/11
to robotframe...@googlegroups.com, mang...@gmail.com
it would be nice to have a build-in(in to some standard library) keyword
Reply all
Reply to author
Forward
0 new messages