setNotifyOnCompletion method

Class: BatchInfoPlatform: Selenium 4Language: JavaScript SDK:

Call this method to enable informing the Eyes server that the batch has completed.

This is part of the Batch completion notification feature. The fact that a test run reports completion to the Eyes server does not mean that a batch completion notification is actually sent to users. Actual batch completion notication depends on how the feature has been configured by the Test Manager administrator. In particular, the configuration must either specify the application name of the test that should be notified or he must specify that all applications should be notified. For more details see Batch completion notification

Syntax


let value = batchInfo.setNotifyOnCompletion(notifyOnCompletion);

Parameters

notifyOnCompletion
Type:boolean
If this value is true then a notification will be sent.

Return value

Type: BatchInfo