Re: [wtr-general] How do I submit a patch?

2010-01-17 Thread Angrez Singh
Which FireWatir version are you using? It has been fixed in 1.6.5 - Angrez On Sun, Jan 17, 2010 at 3:11 AM, abhinay wrote: > The class FireWatir::Element is missing the following method: > >def window_var > "window" >end > > Without this method I couldn't fire mouse events to eleme

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-17 Thread Angrez Singh
For clicking javascript popup there are methods which does the same. You can go ahead and see the unit tests for the same. - Angrez On Sat, Jan 16, 2010 at 1:40 AM, Aedorn Varanis wrote: > Is there a way to click javascript popup window buttons? I see no > click_no_wait command, or a startClick

Re: [wtr-general] Re: Not able to access Dojo controls

2010-01-17 Thread Ankur Gera
Hi Betsy, Try to use the following code and let me know whether it works fine or not. * ie.text_field(:xpath,"//fo...@id='stockEnq_loadDetails']/inp...@name='inputFromDate']").flash ie.text_field(:xpath,"//fo...@id='stockEnq_loadDetails']/inp...@name='inputFromDate']").set "xyz" * Thanks &

[wtr-general] Re: Not able to access Dojo controls

2010-01-17 Thread Betsy
" " from the below partial code:- http://www.w3.org/1999/ xhtml"> /* No matching styles were found. */ dojo.require("dojo.widget.DatePicker"); http://172.16.1.189:9664/tango/struts/dojo/src/widget/templates/ images/dateIcon.gif" __doClobber__ dojoAttachPoint="buttonNode" dojoAt

[wtr-general] Pop-up blocking script

2010-01-17 Thread Chandu80
I have a login function written in ruby as follows def login(link,login,password,g) #href_status = href.empty? #puts "#{href_status}" dialogue_text ='Connect to ' + link p = Watir.autoit.WinWait(dialogue_text,'',30) #p = Watir.autoit.WinWait("Connect to 10.130.92.4",'',30)

Re: [wtr-general] Bug in xpath parsing? (Regarding the call in nokogiri)

2010-01-17 Thread Charley Baker
Hi Matt, That's a good point and one that escaped me when I was integrating the Nokogiri replacement for REXML. Can you fork watir on github and submit a pull request. Let me know if you have problems doing that. For now we should limit this to xpath support, as we're trying to keep the various i