LambdaTest Community

Find answers, support, and inspiration from other users

Questions
LambdaTest Community
Answered

How do we automate email verification in Selenium?

Can anyone please tell me how to automate email verification in Selenium.

Up Vote Down Vote 0 Votes
Posted 2 months ago

Answers


By email verification,I am assuming that you mean following scenario.

  1. Login to Mail Account
  2. Search for mail by subject
  3. Get the mail message
  4. Verify content of mail body. There are JavaMail jar files available which can serve the purpose.

Details:

Maven artifact id: javax.mail. GroupId: com.sun.mail

Using its api’s,you can easily access mail .

If you have any other scenario apart from this,then please specify.

Up Vote Down Vote 0 Votes
Posted one month ago
107 Views
1 Answer
2 months ago