BrowserEnableSendMailAsync

Parent Previous Next

BrowserEnableSendMailAsync

Description: the method includes the option to send a report to the mail in case of failure of the autotest

Syntax: BrowserEnableSendMailAsync(bool byFailure = true, bool bySuccess = true)

Return value: no return value


Example:

Tester tester = new Tester(browserForm);

await tester.BrowserEnableSendMailAsync(true, false); // only in case of failure

await tester.BrowserEnableSendMailAsync(false, true); // only if successful

await tester.BrowserEnableSendMailAsync(); // in both cases

await tester.TestBeginAsync();

...

await tester.TestEndAsync();

Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications