Email Testing with Mailosaur API || Fetch OTP, Email Body, To, CC, BCC, Subject, Images, Attachments
Vložit
- čas přidán 10. 02. 2024
- Schedule a meeting in case of any queries/guidance/counselling:
calendly.com/naveenautomation...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
czcams.com/users/Naveen%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/9FrG-KzGlvxjNmQ1
Naveen AutomationLabs Paid Courses:
GIT Hub Course:
naveenautomationlabs.com/gitc...
Java & Selenium:
naveenautomationlabs.com/sele...
Java & API +POSTMAN + RestAssured + HttpClient:
naveenautomationlabs.com/manu... - Věda a technologie
Nice explanations Thanks Naveen Khunteta for making VIDEO on this topic.
Thanks a lot Naveen for coming up with this amazing and very needful content 😊👍
Sir you are always coming up with great lectures, thank you a lot ❤️
Thank you for this. It's so easy to use and integrate with automated tests. Love it
Nice Naveen
Informative 😊
Thanks Naveen for making this video. It was very informative. But I am just curious how well this would work when we integrate it with the test framework. First challenge would be during parallel testing how would it know which mail it needs to test for which test as I see from video that it can only test the latest mail in inbox? Challenge 2 would be, in order to receive mails automatically, we would need to get mailosaur email added to the test server which would then require justification, approvals etc. I think this would work best for the static test but not sure how well this would work for dynamic testing.
As Mailosaur gives users unlimited number of test email addresses, and you can put anything you want in front of the '@' symbol, that means you can have a unique email address for every test run/build or test case if you want, preventing parallel tests from clashing.
Hey Navin , I am looking for something where I am getting the email with code or some link. Google/ Gmail or s not allowing me to login and check emails through automation. Do you have any solution for it ?
Hi Naveen, I sended multiple mails to mailosour but latest and recent mail only it is working, So how to slove this colud you please help me
Sir, error (failed to load class org.slf4j.impl.staticloggerbinder) , getting error, while executing using testng, a big challenge , unable to resolve the issue
@Naveen please could you make some video to automate outlook mail via graph api....thanks in advance
Hi. where should i get this code? please reply
Because there is no folder and repository link in description
Hai Naveen Sir, Not able to import the MessageSearchParams class. Could you please help
use these imports:
import com.mailosaur.MailosaurClient;
import com.mailosaur.MailosaurException;
import com.mailosaur.models.Attachment;
import com.mailosaur.models.Link;
import com.mailosaur.models.Message;
import com.mailosaur.models.MessageSearchParams;
import com.mailosaur.models.SearchCriteria;
in my AUT, email alerts are sent out, if I want to test these email how can I use mailosaur? I am not able to relate above video with my scenario. Please help.
Do I need to give the dummy email id in my app so email notification come there and then use mailosaur api to examine the generated email?
yes you have to generate dummy email id and send the notification to the same email id and then fetch it using mailosaur api.
As a tester, we should not automate OTP. If it is automated then it is a kind of security flaw.
What kind of security flaw? Its a part of email functionality only.
With your logic, it should not be tested manually also.
@@naveenautomationlabs Testing manually is acceptable. Things like OTP is something where real human intervention needed and machine should not automate these things.
I don't agree. You are sending OTP to dummy or test email IDs via APIs. Mail APIs are built for this purpose only. One of the examples is Gmail APIs. Where you can use these APIs and fetch the content of the email.
@@naveenautomationlabs It it is as it is then I try to implement in my project and show it to my manager.