Email Testing with Mailosaur API || Fetch OTP, Email Body, To, CC, BCC, Subject, Images, Attachments

Sdílet
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

Komentáře • 25

  • @kailashpathak9184
    @kailashpathak9184 Před 3 měsíci +1

    Nice explanations Thanks Naveen Khunteta for making VIDEO on this topic.

  • @SarangHoley
    @SarangHoley Před 3 měsíci +1

    Thanks a lot Naveen for coming up with this amazing and very needful content 😊👍

  • @vishal-xv1eh
    @vishal-xv1eh Před 3 měsíci +1

    Sir you are always coming up with great lectures, thank you a lot ❤️

  • @steviejks
    @steviejks Před měsícem

    Thank you for this. It's so easy to use and integrate with automated tests. Love it

  • @omkomal2010
    @omkomal2010 Před 3 měsíci +1

    Nice Naveen

  • @Sunils_Creations
    @Sunils_Creations Před 3 měsíci

    Informative 😊

  • @CuriousGenie3062
    @CuriousGenie3062 Před 3 měsíci +1

    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.

    • @mailosaur
      @mailosaur Před 3 měsíci +1

      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.

  • @Sunshine-ct9hm
    @Sunshine-ct9hm Před 2 měsíci

    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 ?

  • @chinnaraj1603
    @chinnaraj1603 Před 3 měsíci

    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

  • @ratishnair4523
    @ratishnair4523 Před 3 měsíci

    Sir, error (failed to load class org.slf4j.impl.staticloggerbinder) , getting error, while executing using testng, a big challenge , unable to resolve the issue

  • @gauravkumar-dp9pm
    @gauravkumar-dp9pm Před 3 měsíci

    @Naveen please could you make some video to automate outlook mail via graph api....thanks in advance

  • @shraddhadhatavkar4787
    @shraddhadhatavkar4787 Před 2 měsíci

    Hi. where should i get this code? please reply

  • @shraddhadhatavkar4787
    @shraddhadhatavkar4787 Před 2 měsíci

    Because there is no folder and repository link in description

  • @shrijith7537
    @shrijith7537 Před 3 měsíci

    Hai Naveen Sir, Not able to import the MessageSearchParams class. Could you please help

    • @naveenautomationlabs
      @naveenautomationlabs  Před 3 měsíci

      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;

  • @user-ik2pp7yd6w
    @user-ik2pp7yd6w Před 3 měsíci

    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.

    • @user-ik2pp7yd6w
      @user-ik2pp7yd6w Před 3 měsíci

      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?

    • @naveenautomationlabs
      @naveenautomationlabs  Před 3 měsíci

      yes you have to generate dummy email id and send the notification to the same email id and then fetch it using mailosaur api.

  • @vlexical
    @vlexical Před 3 měsíci

    As a tester, we should not automate OTP. If it is automated then it is a kind of security flaw.

    • @naveenautomationlabs
      @naveenautomationlabs  Před 3 měsíci

      What kind of security flaw? Its a part of email functionality only.
      With your logic, it should not be tested manually also.

    • @vlexical
      @vlexical Před 3 měsíci

      @@naveenautomationlabs Testing manually is acceptable. Things like OTP is something where real human intervention needed and machine should not automate these things.

    • @naveenautomationlabs
      @naveenautomationlabs  Před 3 měsíci

      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.

    • @vlexical
      @vlexical Před 3 měsíci

      @@naveenautomationlabs It it is as it is then I try to implement in my project and show it to my manager.