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

2010-01-18 Thread Matt Baker
That all sounds good. I'll fork & submit the request when I'm back at work Tuesday. Thanks! -Matt On Jan 17, 2:38 pm, Charley Baker wrote: > 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 sub

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

2010-01-18 Thread Betsy
Hi Ankur That didn't work. Code used:- require 'watir' ie=Watir::IE.attach(:title,//) ie.frame(:index,1).frame(:index,1).text_field(:xpath,"//form [...@id='stockEnq_loadDetails']/inp...@name='input FromDate']").flash ie.frame(:index,1).frame(:index,1).text_field(:xpath,"//form [...@id='stockEnq_

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

2010-01-18 Thread Wesley Chen
I think the code you provided above is not enough. When I paste the code to my local, open it with my IE, I can't see anything. Have you got a public website with the html code? For this kind of location, I think it is not difficult. Thanks. Wesley Chen. For life, the easier, the better. On Mon

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

2010-01-18 Thread Željko Filipin
On Mon, Jan 18, 2010 at 6:16 AM, Betsy wrote: > " name="inputFromDate" __doClobber__ autocomplete="off" > dojoAttachPoint="inputNode" value="18/01/2010" /> " This should work (not tested): browser.text_field(:name => "inputFromDate").set "text" Željko -- You received this message because you a

[wtr-general] Re: fire_event not fired in firewatir

2010-01-18 Thread ad
I included this function in the class Element inside the module FireWatir. When I debugged my script I see that this function is never called. Is there any other way around this? On Jan 16, 4:46 pm, abhinay wrote: > Yes there is a bug in firewatir, add this to your code and see if it > works:

[wtr-general] How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-18 Thread jnxgn
I cannot figure out how to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5, I tried to change the encoding of the .rb file and the encoding of the firefox browser, but failed. require ‘rubygems’ require ‘firewatir’ ff = FireWatir::Firefox.new ff.goto “http://www.go

[wtr-general] Re: Pop-up blocking script

2010-01-18 Thread jnxgn
Did you double check it is not a pup but a login form? On 18 Jan., 12:45, Chandu80 wrote: > 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 =

Re: [wtr-general] Re: fire_event not fired in firewatir

2010-01-18 Thread Angrez Singh
There is unittest which does the same & it works. Which FireWatir version are you using? On Mon, Jan 18, 2010 at 7:14 PM, ad wrote: > I included this function in the class Element inside the module > FireWatir. > > When I debugged my script I see that this function is never called. > > Is there

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

2010-01-18 Thread Aedorn Varanis
Unit tests in watir-webdriver? On Sun, Jan 17, 2010 at 11:59 PM, Angrez Singh wrote: > 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 t

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

2010-01-18 Thread Charley Baker
Thanks for the submit. My systems are all kind of borked, after having played around with too many things to get prepped for a conference last week. Talked to Jari on IRC and got him to pull the request in, so it is in the current master. Absolutely appreciate your time on this one. Cheers, Cha

[wtr-general] Re: Error in installation of gem

2010-01-18 Thread aek82
After reading through these posts, I have to say the easiest way to get WATIR running is by doing the following: 1. Install Ruby via the One Click installer [1.8.??] via http://www.ruby-lang.org/en/downloads/. After installation go to prompt and type 'gem update --system'. 2. If you get the error

Re: [wtr-general] How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-18 Thread Wesley Chen
Try: $ie.text_field(:name, "keyword").value = "你好" I have not replaced anything. Thanks. Wesley Chen. For life, the easier, the better. On Tue, Jan 19, 2010 at 12:11 AM, jnxgn wrote: > I cannot figure out how to enter the Chinese characters into the > textfield of a webpage by firewatir 1.6.5,

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

2010-01-18 Thread Angrez Singh
Not in watir-webdriver but in FireWatir. On Tue, Jan 19, 2010 at 1:03 AM, Aedorn Varanis wrote: > Unit tests in watir-webdriver? > > On Sun, Jan 17, 2010 at 11:59 PM, Angrez Singh wrote: > >> For clicking javascript popup there are methods which does the same. You >> can go ahead and see the un