how to open Gmail inbox and readmail with selenium tool - selenium

i' m testing my web application with selenium. When a user registered, an activation link will sent to user mail id. now i' m able to login to gmail account and unable to pen inbox using selenium. Is there any solution to solve this problem?
thank in advance.

Do you actually need gmail for that? If there is activation link sent to specified e-mail, what about trying other service for e-mail? I have been playing around with gmail via Selenium IDE and did not found any solution...

I came across this blog post which may help you - http://seleniumsoftwaretesting.blogspot.com/2011/08/verify-email-confirmation-using.html?m=1

Related

Unable to automate gmail login using selenium, Asking to enter code after email id input

I am getting the following screen to enter code while login into my google account.
Login to dropbox using gmail
Login to accounts.google.com
How can we eliminate this screen while automating this page. Do we have any other suggestion to automate this page.
This is the exactly purpose of this.
Google doesn’t want you to automate this process for good reasons.
This usesd to be able to be done through signing in at stackoverflow and redirecting to gmail account directly. It seems like it is no longer supported in a session started by Selenium.

Automatic reply from Gmail to WebMail

I'm using Selenium WebDriver to test the web mail I've develop in one of my websites.
How can I set up a test script that when I send an email from the web mail to Gmail, Gmail will automatically reply to that email? I'm still fairly new using Java language.
I don't think setting up a selenium script to send a reply from gmail is the way to go. Since you are testing only your own application, you should refrain from creating scripts to automate replies from gmail as they further add a level of complexity and extra effort.
There are better ways to do what you want and I believe "Canned Responses" in gmail labs can be your savior.
Check out this link for more information on it :
Auto Responder to specific email addresses
You can also connect to the gmail address via POP3 in your java code and check for the email from your web mail and respond to that via java code itself. However, I think, the above solution (Canned Responses) would be the cleanest and the best approach.

Drupal openid solution

I am trying to find a social login solution just like StackOverflow uses.
Currently, I am experimenting with OneAll Social Login which works great with the exception that my new users have to manually create their own accounts, wait for emails and then sign themselves into the site - I want that process to be handled automatically.
Can anyone suggest an alternative to Oneall which will allow my users to select their social networking login option and then be registered and signed in automatically on my site OR how I might extend Oneall to do it?
Thank you!
Facebook connect does exactly that for FB.

How to query Hotmail for new email

I'm looking for the best way to check if new email has arrived in a Hotmail account without accessing the web interface or using a mail client.
I couldn't find any Hotmail mail API and looking at a Firefox add-on it seems that querying the site through a normal login process and then searching the HTML source is the way to go.
Any suggestions how to do this with security in mind?
Are you looking for API or plugin?
If API - it looks like they don't have any API for mail, they have API only for contacts and calendar.
But you can use SMTP or POP3 to fetch it.
EDIT
The link to the API can be found here.

Is there an API for POP/IMAP in iOS?

In my app I need to access mail programmatically without using a MFMailComposeViewController. I have sent email with the help of SKPSMTPMessage from google code. Now I have to connect and check mail via POP3 or IMAP. Is there an API to download mail using POP3 or IMAP? I am not looking for a way to interface with Mail.app.
Thanks in advance.
You can try MailCore. MailCore supports SMTP and IMAP
I tried MailCore and reMail a year ago and it was too complex for me. I don't know if they improved now, but at that time I just gave up on them and written my own code. I uploaded it to sourceforge now, so whoever finds this discussion in google is welcome to try it.
https://sourceforge.net/projects/imap4ios/