Setting up batch completion notifications in the SDK

As explained in Batch completion notifications, you can set up Eyes using the Eyes Test Manager so that when a batch completes and it includes tests for a defined application, users will get an email or Slack notification informing them of the batch completion, and providing a summary of the test run and a link to the results.

Apart from configuring in the Eyes Test Manager which test applications will be notified and who will get the notifications, you also need to enable this feature on each batchInfo object, using batchInfo.setNotifyOnCompletion after the object is created. This is demonstrated in the following snippet:


                                

Related topics