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
5
@@ -28,12 +28,15 @@ In order to run the example code, you need to provide at least one valid target
28
28
|``Set Delimiter``|Optional reconfiguration of this Robot Framework library's delimiter. See details below|
29
29
|``Set Notify Type``|Sets one of Apprise's [supported notify types](https://github.com/caronc/apprise/wiki/Development_API#message-types-and-themes). Valid values are ``info``,``success``,``warning``, and ``failure``. Default notify type is ``info``|
30
30
|``Set Body Format``|Sets one of Apprise's [supported body formats](https://github.com/caronc/apprise/wiki/Development_API#notify--send-notifications). Valid values are ``html``,``text``, and ``markdown``. Default body format is ``html``|
31
+
|``Set Config File``|Allows you to specify a single Apprise [config file](https://github.com/caronc/apprise#configuration-files) in YAML or Text format |
31
32
32
33
33
34
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 for your string, use the ``Set Delimiter`` keyword.
34
35
35
36
All ``Set ...`` keywords provide corresponding ``Get ...`` keywords.
36
37
38
+
If you specify ``Client`` settings additionally to a ``Config File``, the library will honor both settings.
39
+
37
40
``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.
38
41
39
42
Examples:
@@ -55,7 +58,14 @@ Set Delimiter ^
55
58
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
56
59
```
57
60
61
+
```robot
62
+
# Send a message with one client and a List which contains our images
63
+
@{IMAGE_LIST}= Create List http://www.mysite.com/image1.jpg http://www.mysite.com/image2.jpg
64
+
${CONFIG_FILE} config.yaml
65
+
Send Apprise Message title=Robot Framework Apprise Demo body=Connect to Apprise with your Robot Framework Tests! config_file=${CONFIG_FILE} attachments=${IMAGE_LIST}
66
+
```
67
+
68
+
58
69
## Known issues
59
70
60
-
- This library uses Apprise's default async behavior. Currently, you cannot send messages in a synchronous way.
61
-
- The current version of this library does not support Apprise's whole feature set. Options such as tagging are not implemented.
71
+
- The current version of this library does not support Apprise's whole feature set. Options such as tagging are not implemented (but may work if you use a [config file](https://github.com/caronc/apprise#configuration-files)-based setting)
0 commit comments