New answers tagged testng
You can use the MailTrack for Gmail to check the mail has been sent or not. https://chrome.google.com/webstore/detail/mailtrack-for-gmail/ndnaehgpjlnokgebbaldlmgkapkpjkkb/related?hl=en And also http://www.hongkiat.com/blog/track-opened-gmail/.
I addressed this with a small webapp that uses JavaMail API to talk to Google's mail service over IMAP. The webapp supports URLs like the following: /inbox/username=xxx&password=xxx This returns metadata (e.g. subject line, message number, recipient, received date) about the most recent 20 messages. /message/username=xxx&password=xxx&id=xxx ...
Make sure you add a unique identifier to the subject. Open the send mail screen (by clicking the button in the left menu) and check the item is in there. If looking in the "send mail" screen is not enough, because you want to verify the mail is received by the other end. Then have a look at a service like Mailtrap. You can send emails to their account, ...
It grow too long for a comment, so here it goes: Class is like a recipe, objects is like food prepared according to it (instance of a class). You cannot test class, like you cannot taste recipe: only instance of that class is something you can interact with. Of course all instances of a class should behave the same, so you can think about "testing a ...
Please note that this is a generic answer; your environment may have its own interpretation that differs. In short a class is the code that describes what the object does. The object comes into existence when the class code is called and one particular object is instantiated. When it is instantiated the object sits in your computer memory ready to do its ...
There are at least 2 approaches: If Jenkins is used in your company, you create a job that runs tests and then e-mails report by Email ext plugin. Or you can add such functionality to @BeforeSuite method with JavaMail.
Top 50 recent answers are included