[wtr-general] File upload with PhantomJS and Watir-Webdriver doesn't work

2013-08-06 Thread Konstantin
Hi! I am trying to upload an image file using Ruby 2.0, Watir-Webdriver, and PhantomJS, my code: require 'watir-webdriver' fname=/home/walaki/jgyol1.jpg b = Watir::Browser.new :phantomjs b.goto http://www.imagebam.com/login; b.text_field(:name, nick).value=myusername b.text_field(:name,

[wtr-general] Click a particular X and Y co-ordinates in the browser pane by using watir webdriver

2013-08-06 Thread Srinivas Desai
Hi All, I need to know how can we click on a particular x and y co-ordinates in the browser pane by using watir web driver. I already have x,y co-ordinates with me, i just need to click. Please let me know how it can be done. Thanks in advance. Regards, Srinivas. -- -- Before posting,

[wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
Hello All, how are you? I think its a bug in the webdriver but would like to check with y'all Scenario I open a page and run an script using the execute_script. In FF 23 on Linux it works however in FF 23 on Win 7 didnt work (using saucelabs). On Ie sometimes works and other not got his in FF

[wtr-general] Re: Cannot open excel

2013-08-06 Thread Dan
Not sure why my original reply to this was deleted, but the problem with roo here is that you're using open and not new. A quick look at the roo documentation would clear up your issues. On Monday, August 5, 2013 10:42:30 AM UTC-4, Nikhil Nerkar wrote: I want to login to gmail using userid

[wtr-general] Re: Cannot open excel

2013-08-06 Thread Dan
This isn't a watir question, but the problem is that you don't want to use open, you want to use new. See the documentation here: https://github.com/hmcgowan/roo. Also, don't try to automate against gmail. If you need to check mail there, use the gmail gem. See this thread for a discussion

Re: [wtr-general] Anyone else having trouble with latest chromedriver for mac?

2013-08-06 Thread Željko Filipin
On Sat, Aug 3, 2013 at 12:15 AM, Chuck van der Linden cvanderlin...@climate.com wrote: Is anyone else that tends to work with a mac and Chrome having problems with the latest chromedriver? after installing it all my scripts started failing. Sounds like a bug in chromedriver to me. Did you

Re: [wtr-general] File upload with PhantomJS and Watir-Webdriver doesn't work

2013-08-06 Thread Željko Filipin
On Sat, Jul 27, 2013 at 7:55 PM, Konstantin kisbe...@gmail.com wrote: What can I do to make PhantomJS file upload with Watir Webdriver work? If it works with Firefox but not with PhantomJS, my guess is that it is a PhantomJS bug. Did you report it in their bug tracker? Željko --

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Željko Filipin
On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato cta...@gmail.com wrote: In FF 23 on Linux it works however in FF 23 on Win 7 didnt work (using saucelabs) It could be a Firefox+Windows problem then, or Sauce Labs problem. Did you contact Sauce Labs support? Željko --

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
Yes Filipin They told to me to check the forum =/ I will setup a local windows to check and will publish here the results. thanks Em terça-feira, 6 de agosto de 2013 07h38min33s UTC-3, Željko Filipin escreveu: On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato cta...@gmail.comjavascript:

[wtr-general] Re: Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
Made a test in win7 and got that. its a problem in json parse. How i can increase the max_nesting ? MultiJson::LoadError: nesting of 20 is too deep from C:/Ruby193/lib/ruby/1.9.1/json/common.rb:148:in `parse' from C:/Ruby193/lib/ruby/1.9.1/json/common.rb:148:in `parse'

[wtr-general] Re: Retiring openqa.org

2013-08-06 Thread Tadeu Panato
I can help let me know what need to do Em sexta-feira, 21 de junho de 2013 06h04min54s UTC-3, Željko Filipin escreveu: Hi, openqa.org is shutting down. From watir.com we still link to a few pages hosted there. For example, watir.com/installation links to a few pages at wiki.openqa.org.

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
running in FF local it not failed running in ie10i got that: *Error: test_02_local(TsCheckHome)* * Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2)* *C:/Ruby193/lib/ruby/1.9.1/net/http.rb:763:in `initialize'*

Re: [wtr-general] Click a particular X and Y co-ordinates in the browser pane by using watir webdriver

2013-08-06 Thread John Fitisoff
Think what you need is here: http://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver/ActionBuilder.html Watir's browser object has a method to access the driver and page elements have the wd method From: Srinivas Desai desaise...@gmail.com