0

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.

siva565
  • 499
  • 2
  • 12
  • 25

2 Answers2

0

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...

Pavel Janicek
  • 14,128
  • 14
  • 53
  • 77
  • 1
    the following code work fine for me.. open http://gmail.com // do the login stuff, click on login waitForElementPresent canvas_frame selectFrame canvas_frame waitForElementPresent //div[@class = 'y6']/span[contains(., 'subject_here')] clickAt //div[@class = 'y6']/span[contains(., 'subject_here')] 0,0 // do stuff you care about – siva565 Aug 06 '11 at 10:25
  • I have since learnt that Mailinator offer a good service. If your emails do not contain any sensitive data it is a very good disposable email provider. – Ilyas Patel Oct 22 '14 at 23:26
-1

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

Ilyas Patel
  • 400
  • 2
  • 11
  • 27