My script is to open mailbox and delete all the emails.
Open Mailbox host=outlook.office365.com user=username password=pass
${count}= Wait For Email
Delete All Emails
Close Mailbox
If count returns value, the script works. But if no email in the mailbox, the keyword "Wait For Email" returns error: "No email received within 60s". Test case fails.
Can you help me ignore the failed error when no email in the mailbox? Tks a lot.