Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-11 Thread maulik goswami
i need to access the mail that is being sent by my system On Wednesday, 10 July 2013 17:37:33 UTC+5:30, Oscar.Rieken wrote: do you need to access gmail because you work at google? or do you need to access an email that is being sent by your system to an email address that happens to be a

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-11 Thread Dan
This isn't a watir problem, but I think many of us have experience with the gmail gem. What error do you get when you try to use the gmail gem? On Thursday, July 11, 2013 2:38:30 AM UTC-4, maulik goswami wrote: i need to access the mail that is being sent by my system On Wednesday, 10 July

[wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread maulik goswami
I am new to Watir. As a part of my registration script i need to access the *Gmail* and need to click on verification link to move further with the steps of registration. So how can i achieve it ? I've installed ruby *Gmail* gem and also made a sample script but it only goes to *Gmail*

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread Željko Filipin
On Wed, Jul 10, 2013 at 12:12 PM, maulik goswami mcgosw...@gmail.comwrote: I've installed ruby *Gmail* gem and also made a sample script but it only goes to *Gmail* website after that script stops and returns the null value. Please share relevant Ruby code and error messages, if any. Željko

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread maulik goswami
*require watir-webdriver* *require gmail* *br = Watir::Browser.new :chrome * *br.goto gmail.com* *gmail = Gmail.new(email address, password) * *gmail.inbox.count(:unread)* *gmail.inbox.click(:unread, :from = no reply registration email).label(Confirm Verification)* I was able to sign in with

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread Oscar Rieken
do you need to access gmail because you work at google? or do you need to access an email that is being sent by your system to an email address that happens to be a gmail acct? On Wed, Jul 10, 2013 at 6:29 AM, maulik goswami mcgosw...@gmail.com wrote: *require watir-webdriver* *require gmail*