Re: [wtr-general] Handling a windows file upload dialog box

2010-04-06 Thread Wesley Chen
For file upload button, there is a ready method, named: $ie.file_field(:name, ).set(your file.txt) Wesley. For life, the easier, the better. On Tue, Apr 6, 2010 at 12:07 PM, Rats crapats...@yahoo.com.au wrote: Firstly, I should have probably mentioned in my previous posts I am a Watir

[wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
Dear All, I already install the firewatir and jssh-3.6-OSX. But it is fail to use the firefox in Mac.It display the strange error: RuntimeError: Firefox is running without -jssh But I already install the jssh. Here the steps: irb(main):001:0 require rubygems = true irb(main):002:0

Re: [wtr-general] OT: selenium-webdriver Ruby help?

2010-04-06 Thread Željko Filipin
On Sun, Apr 4, 2010 at 9:52 PM, Chris McMahon christopher.mcma...@gmail.com wrote: I am doing a small script using selenium-webdriver and I ran across something that looks like a bug in the framework, that might be interesting. You should probably post this to

Re: [wtr-general] undefined method `should' for true

2010-04-06 Thread Željko Filipin
On Sat, Apr 3, 2010 at 2:15 PM, Nishant nishant.jain2...@gmail.com wrote: require 'test/unit' @ie.text.include?(Forgot your password? ).should == true If you add this to the top of the file, it should work: require spec Also, if you run your ruby file like this, there is no need to require

Re: [wtr-general] Re: Basic Authentication using FireWatir on Ubuntu Linux

2010-04-06 Thread Željko Filipin
On Sat, Apr 3, 2010 at 2:20 AM, lothar lotharsm...@gmail.com wrote: With help from Aedorn Varanis I've got things working on Firefox in Linux. Would you please add your solution to http://wiki.openqa.org/display/WTR/Basic+Authentication wiki page? Please let me know if you need help with the

Re: [wtr-general] Re: Donate to Watir

2010-04-06 Thread Željko Filipin
On Fri, Apr 2, 2010 at 8:17 PM, lothar lotharsm...@gmail.com wrote: You should set up a separate Željko Beer Fund and see which gets more donations... :) I have been thinking about something like that. :) Unfortunatelly, PayPal says: due to the complexities of global finance, members in some

Re: [wtr-general] Invitation to connect on LinkedIn

2010-04-06 Thread Željko Filipin
Please do not send invitations to connect to this group. It is removed from Google group. Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Angrez Singh
Please follow the instructions here for using FireWatir: http://wiki.openqa.org/display/WTR/FireWatir#FireWatir-Installation On Tue, Apr 6, 2010 at 3:13 PM, Yuping Zhong littlezhong...@gmail.comwrote: Dear All, I already install the firewatir and jssh-3.6-OSX. But it is fail to use the

Re: [wtr-general] Re: Basic Authentication using FireWatir on Ubuntu Linux

2010-04-06 Thread Angrez Singh
I have added the basic authentication to Firewatir in my fork, but right now not able to find the code in my local environment. Is there a way to get it back? On Tue, Apr 6, 2010 at 3:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sat, Apr 3, 2010 at 2:20 AM, lothar

Re: [wtr-general] Re: Basic Authentication using FireWatir on Ubuntu Linux

2010-04-06 Thread Željko Filipin
On Tue, Apr 6, 2010 at 1:19 PM, Angrez Singh ang...@gmail.com wrote: I have added the basic authentication to Firewatir in my fork, but right now not able to find the code in my local environment. I do not understand the problem. You remember you have worked on the code, but you can not find it

Re: [wtr-general] Re: Basic Authentication using FireWatir on Ubuntu Linux

2010-04-06 Thread Angrez Singh
You got it correct, i couldn't find it on my local repository. Yes I did push it to github. On Tue, Apr 6, 2010 at 4:55 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Apr 6, 2010 at 1:19 PM, Angrez Singh ang...@gmail.com wrote: I have added the basic authentication to

[wtr-general] Re: Component focus issues on different computers

2010-04-06 Thread Adam Reed
You're selecting the first element in a drop down box? If not, can you please provide a little bit more info on exactly what you're interacting with? ie.select_list(:id, /Request_Salutation_I/).set First Value Name Thanks, Adam On Apr 5, 6:40 pm, Rats crapats...@yahoo.com.au wrote: On Apr 6,

Re: [wtr-general] Re: Basic Authentication using FireWatir on Ubuntu Linux

2010-04-06 Thread Željko Filipin
On Tue, Apr 6, 2010 at 3:20 PM, Angrez Singh ang...@gmail.com wrote: You got it correct, i couldn't find it on my local repository. Yes I did push it to github. Is this the commit? http://github.com/angrez/watir/commit/f4cb4c22a5c7cc2ee4fa1ba81d6e972cb7d34de0 You can grab that repository to

[wtr-general] Re: [ANN] WatiRspec 0.1.0

2010-04-06 Thread Jarmo Pertman
Well, as i understood, then Taza just offers extra functionality and in deep within Watir and RSpec is used for it. But as i already mentioned, then WatiRspec is not doing much extra except combining both of these tools. And this is enough for my work. What did you mean about this probably best

[wtr-general] Re: WatiRspec 0.1.0

2010-04-06 Thread Jarmo Pertman
Why is that subject changing all the time? :P Anyway, i have to correct, sorry about my English: What did you mean with this probably best to avoid that name for now exactly? Jarmo On Apr 6, 9:32 pm, Jarmo Pertman jarm...@gmail.com wrote: Well, as i understood, then Taza just offers extra

Re: [wtr-general] Re: [ANN] WatiRspec 0.1.0

2010-04-06 Thread Charley Baker
A simple gem might make sense or you can help work on the existing gems, I haven't really thought about it too much but the WatirCraft gem does simplify things and add cucumber support. My thought in best to avoid, is that watirspec isn't currently gemified, but easily could be. So while there's

[wtr-general] Re: Handling a windows file upload dialog box

2010-04-06 Thread Rats
On Apr 6, 7:26 pm, Wesley Chen cjq@gmail.com wrote: For file upload button, there is a ready method, named: $ie.file_field(:name, ).set(your file.txt) Wesley. For life, the easier, the better. Indeed, red face Thanks very much. That works perfectly. ;-) -- Before posting, please read

[wtr-general] Re: Component focus issues on different computers

2010-04-06 Thread Rats
On Apr 7, 2:37 am, Adam Reed reed.a...@gmail.com wrote: You're selecting the first element in a drop down box?  If not, can you please provide a little bit more info on exactly what you're interacting with? ie.select_list(:id, /Request_Salutation_I/).set First Value Name Thanks, Adam Hi,

[wtr-general] Leveraging safariwatir on a custom webkit application

2010-04-06 Thread John Goodsen
Hello, I'm not an applescript expert and I've just spent a several hours pulling my hair out. Here's what I'm looking for. We have a custom Cocoa based WebKit application. It's not the nightly webkit build and it is not Safari - it is a custom Cocoa application that has a WebKit component

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
Thank Angrez's reply.But I still get the following issue: irb(main):001:0 require rubygems = true irb(main):002:0 require firewatir = true irb(main):003:0 ff=FireWatir::Firefox.new RuntimeError: Firefox is running without -jssh from

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
What is more, I run telnet localhost 9997 and get the following: $ telnet localhost 9997 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host On Wed, Apr 7, 2010 at

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Eric Mathiesen
That's a connection error on your local loopback. Check your network settings. On Tue, Apr 6, 2010 at 8:28 PM, Yuping Zhong littlezhong...@gmail.comwrote: What is more, I run telnet localhost 9997 and get the following: $ telnet localhost 9997 Trying ::1... telnet: connect to address ::1:

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
Can you tell me what is the correct network settings??? On Wed, Apr 7, 2010 at 11:31 AM, Eric Mathiesen mathiese...@gmail.comwrote: That's a connection error on your local loopback. Check your network settings. On Tue, Apr 6, 2010 at 8:28 PM, Yuping Zhong littlezhong...@gmail.comwrote:

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Eric Mathiesen
Your system administrator should, it's specific to the environment. On Tue, Apr 6, 2010 at 8:35 PM, Yuping Zhong littlezhong...@gmail.comwrote: Can you tell me what is the correct network settings??? On Wed, Apr 7, 2010 at 11:31 AM, Eric Mathiesen mathiese...@gmail.comwrote: That's a

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Moises Siles
are u starting firefox in the following way Start Firefox with jssh /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh hope that helps On Tue, Apr 6, 2010 at 9:47 PM, Eric Mathiesen mathiese...@gmail.comwrote: Your system administrator should, it's specific to the environment. On

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
Great! That works fine! Thanks Moises! On Wed, Apr 7, 2010 at 12:01 PM, Moises Siles moises.si...@gmail.comwrote: are u starting firefox in the following way Start Firefox with jssh /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh hope that helps On Tue, Apr 6, 2010 at 9:47

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Moises Siles
cool, someone else help me in the same way days ago! thank you to this group :) On Tue, Apr 6, 2010 at 10:57 PM, Yuping Zhong littlezhong...@gmail.comwrote: Great! That works fine! Thanks Moises! On Wed, Apr 7, 2010 at 12:01 PM, Moises Siles moises.si...@gmail.comwrote: are u starting