You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```robotframework-apprise``` is a [Robot Framework](https://www.robotframework.org) keyword collection for the [apprise](https://github.com/caronc/apprise) push message library. It enables Robot Framework users to send push/email messages to every message service supported by Apprise.
5
+
6
+

7
+
8
+
## Installation
9
+
10
+
- clone repository
11
+
-``pip install -r dependencies.txt``
12
+
13
+
## Robot Framework Library Example
14
+
15
+
In order to run the example code, you need to provide at least one valid target messenger. Have a look at [Apprise's list of supported messengers](https://github.com/caronc/apprise/wiki)
|``Send Apprise Message``|Sends a push message through Apprise|
24
+
|``Set Clients`` and ``Set Attachments``|Sets a new value list and replace the previous values|
25
+
|``Add Client`` and ``Add Attachment``|Adds a value to an existing list|
26
+
|``Remove Client`` and ``Remove Attachment``|Removes a value from an existing list (if present)|
27
+
|``Clear All Clients`` and ``Clear All Attachments``|Completely removes the current values from the respective list|
28
+
|``Set Delimiter``|Optional reconfiguration of this Robot Framework library's delimiter. See details below|
29
+
30
+
31
+
All ``clients`` and ``attachments`` options can be passed as a ``List`` type variable or as a string. If you use a string, the default delimiter is a comma ``,``. In case you need to use a different delimiter, use the ``Set Delimiter`` keyword.
32
+
33
+
``Attachments`` are purely optional. Providing at least one ``Client`` is mandatory, though. Both ``Attachments`` and ``Clients`` can either be provided as a ``List`` item or as a separated string.
34
+
35
+
Examples:
36
+
37
+
# Send a message with one client and a List which contains our images
38
+
@{IMAGE_LIST}= Create List http://www.mysite.com/image1.jpg http://www.mysite.com/image2.jpg
39
+
Send Apprise Message title=Robot Framework Apprise Demo body=Connect to Apprise with your Robot Framework Tests! clients=<apprise_client> attachments=${IMAGE_LIST}
40
+
41
+
# Send a message with one client. Our attachments use a comma-separated string (default)
42
+
Send Apprise Message title=Robot Framework Apprise Demo body=Connect to Apprise with your Robot Framework Tests! clients=<apprise_client> attachments=http://www.mysite.com/image1.jpg,http://www.mysite.com/image2.jpg
43
+
44
+
# Send a message with one client. Our attachments use a custom delimiter ^
45
+
Set Delimiter ^
46
+
Send Apprise Message title=Robot Framework Apprise Demo body=Connect to Apprise with your Robot Framework Tests! clients=<apprise_client> attachments=http://www.mysite.com/image1.jpg^http://www.mysite.com/image2.jpg
47
+
48
+
49
+
## Known issues
50
+
51
+
- This library uses Apprise's default async behavior. Currently, you cannot send messages in a synchronous way.
52
+
- The current version of this library does not permit you to set the target format (text, HTML). It uses Apprise's default format which is HTML.
0 commit comments