Hi everyone,
Is there anyone using Imap library in Robot Framework? Please help me resolve this problem.
I'm using Imap Library to check new email comming, but I got an issue during the test.
My simple test case:
*** Settings ***
Library Selenium2Library
Library ImapLibrary
*** Test Cases ***
Create Simple Test
Open Mailbox server=
imap.googlemail.com user=
vntest...@gmail.com password=ABCXYZ
${LATEST}= Wait for Mail fromEmail=
brisi...@gmail.com toEmail=
vntest...@gmail.com timeout=300
${HTML}= Open Link From Mail ${LATEST}
Should Contain ${HTML} Mail from Brisingrit to Vntestexpense 01
Close Mailbox
I met an issue at keyword 'Open Link From Mail'. Script have got result ${LATEST} = 1, but failed when "Open Link From Mail | 1 "
This is my test results:
Starting test: Web.Tests.Z Temp Suite.Sandbox.Create Simple Test
20141014 17:09:59.075 : INFO : ${LATEST} = 1
20141014 17:09:59.519 : FAIL : URLError: <urlopen error unknown url type: mailto>
Ending test: Web.Tests.Z Temp Suite.Sandbox.Create Simple Test
I also refer this article:
https://pypi.python.org/pypi/robotframework-imaplibrary/0.1.3?utm_source=dlvr.it&utm_medium=https%3A%2F%2Fpypi.python.org%2Fpypi%3F%253Aaction%3DrssI have research on the internet, but I can't find out the way how to resolve it.
Who used to use Imap Library,
Please give me an advice.Thanks you so much!
Regards,
Phuoc Ha.