[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

[wtr-general] Re: [Watir-webdriver] - Drag and drop using watir webdriver

2013-07-10 Thread watir webdriver
Thanks for your reply...with this code I can see the drag and drop but after couple of seconds the dropped element is getting disappeared...but the scenario is passed successfully...Although it didn't work as expected when I checked manually by visiting the webpage.Any one can help me 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*

[wtr-general] cannot load such file -- watir/ie (LoadError)

2013-07-10 Thread LiveLoveLaugh
i recently had to reinstall everything on my computer and that included ruby, cucumber, and watir. in the past i had a library of scripts that worked for a very long time, however after the reinstallation everything seems broken. i suspect this is probably due to updated versions of ruby,

Re: [wtr-general] Re: [Watir-webdriver] - Drag and drop using watir webdriver

2013-07-10 Thread John Fitisoff
A couple of seconds seems like a long time. Maybe try the action builder 'release' action instead of firing the event? Maybe some javascript event isn't occurring at the right time? One thing that really helps me is to use pry to stop the test right at the point that the problem is occurring

[wtr-general] Re: cannot load such file -- watir/ie (LoadError)

2013-07-10 Thread Dan
What's your script/code look like? On Wednesday, July 10, 2013 12:34:24 PM UTC-4, LiveLoveLaugh wrote: i recently had to reinstall everything on my computer and that included ruby, cucumber, and watir. in the past i had a library of scripts that worked for a very long time, however after

[wtr-general] Re: cannot load such file -- watir/ie (LoadError)

2013-07-10 Thread LiveLoveLaugh
# Require section require rubygems require watir # puts Browser is running... END { puts Closing browser... } BEGIN { puts Starting browser... } # # Given /^that I have gone to the Login page at (.*)$/ do |item| @browser = Watir::Browser.start(item) lnk_found = 0 @browser.links.each do

[wtr-general] Re: cannot load such file -- watir/ie (LoadError)

2013-07-10 Thread LiveLoveLaugh
i somehow fixed this by removing require rubygems...not sure if that's a real fix or not...but it seems the script is working again after that -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com