[wtr-general] Re: `const_get': no such file to load -- safariwatir (MissingSourceFile) with FireWatir

2010-04-14 Thread Betsy
Hi Zeljko, Even we found this scenario pretty odd. Since this does not happen all the time and hence is not exactly reproducible. Other details are:- ruby version - 1.8.6 OS and version - windows XP list of gems - watir, firewatir and selenium rubygems version - 1.6.2 Thanks, Betsy On Apr 13,

Re: [wtr-general] Keep up with me

2010-04-14 Thread Željko Filipin
On Wed, Apr 14, 2010 at 4:39 AM, sunny bansal wrote: > Note: This is a reminder email sent by Indyarocks.com on behalf of its member. Sunny, This is the second time you have sent bulk mail to watir-general. Please do not send such mail here any more. All your future e-mails will be moderated. Th

Re: [wtr-general] synchronisation in ruby

2010-04-14 Thread arihan sinha
Hi, I've gone through the below link http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir but it says that sleep 1 until ie.text.include? "new results are loaded" This code will keep sleeping until the text "new results are loaded" appears on the page. However, you may not want to wait forev

[wtr-general] Re: A stupid question ... how do I apply patches to Watir? :-(

2010-04-14 Thread Jarmo Pertman
Did you debug the problem as i suggested in this other thread? http://groups.google.com/group/watir-general/browse_thread/thread/222b2bf7df33644 Jarmo On Apr 14, 3:13 am, Rats wrote: > On Apr 14, 9:05 am, Rats wrote: > > > As per my previous posts I am having problems with click_no_wait. > > A

[wtr-general] Re: file download

2010-04-14 Thread Jarmo Pertman
Only workaround i've used so far is that i've used virtual machine so you can lock your main machine. No other solutions so far unfortunately. Jarmo On Apr 13, 5:50 pm, arihan sinha wrote: > Any solution to this problem. any work around etc. > > Regards > Arihan > > > > On Fri, Apr 9, 2010 at 4:

Re: [wtr-general] Keep up with me

2010-04-14 Thread Pradgnya Kulkarni
Thanks Željko. On Wed, Apr 14, 2010 at 1:01 AM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Wed, Apr 14, 2010 at 4:39 AM, sunny bansal > wrote: > > Note: This is a reminder email sent by Indyarocks.com on behalf of its > member. > > Sunny, > > This is the second time you have sen

Re: [wtr-general] Re: file download

2010-04-14 Thread arihan sinha
actually in our localhost we have VMware so its fine but when codes go to the build server there is no VMware.. So problem happens there On Wed, Apr 14, 2010 at 2:11 PM, Jarmo Pertman wrote: > Only workaround i've used so far is that i've used virtual machine so > you can lock your main machine

[wtr-general] Re: Saving Javascript Files

2010-04-14 Thread Tiffany Fodor
Hi! Watir is a Ruby library that allows users to interact with web browsers. There's a good chance that you could accomplish your file management with Ruby, but that is a question for a Ruby mailing list (http://www.ruby-lang.org/en/community/mailing-lists/). Good luck! -Tiffany On Apr 12, 10:

[wtr-general] Re: A stupid question ... how do I apply patches to Watir? :-(

2010-04-14 Thread Rats
On Apr 15, 1:10 am, Jarmo Pertman wrote: > Did you debug the problem as i suggested in this other thread? > > http://groups.google.com/group/watir-general/browse_thread/thread/222... > > Jarmo > I will do this over the weekend when I have some time. I'll post results afterwards. -- Before posti

[wtr-general] Re: A stupid question ... how do I apply patches to Watir? :-(

2010-04-14 Thread Rats
On Apr 14, 4:30 pm, Michael Hwee wrote: > Can you use "click!" Click! just launches the popup just like click by itself would do. So performance wise it is no different from click. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received

[wtr-general] watir exit code

2010-04-14 Thread Shlomit Gazit
Is there a method to use watir exit code (0 or 1)? I want to know that if it is 0 to do something at_exit. Thank you, Shlomit. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://grou

Re: [wtr-general] Saving Javascript Files

2010-04-14 Thread Felipe Knorr Kuhn
Hello, I would sugest you to use element_by_xpath to get all

Re: [wtr-general] watir exit code

2010-04-14 Thread Charley Baker
Watir itself doesn't have an exit code, it's just a library. Are you talking about your own testing framework, rspec, test::unit? Those generally can set exit codes. My question is what are you trying to do? Set it up in a CI run? Something else entirely? -c On Wed, Apr 14, 2010 at 2:30 PM, Shlo

Re: [wtr-general] Saving Javascript Files

2010-04-14 Thread Paul Rogers
I dont think its quite that simple, as the scripts and css can be relative paths, or use the tag ( something like that anyway ) Ive recently written a spider to do some similar things, and the number of gotchas is surprisingly high. Paul On Wed, Apr 14, 2010 at 2:32 PM, Felipe Knorr Kuhn wrot

Re: [wtr-general] Saving Javascript Files

2010-04-14 Thread Felipe Knorr Kuhn
Hello Paul, I faced that problem writing my own spider some time ago. At least he knows how to start his own now :) FK On Wed, Apr 14, 2010 at 5:37 PM, Paul Rogers wrote: > I dont think its quite that simple, as the scripts and css can be relative > paths, or use the tag ( something like tha

Re: [wtr-general] watir exit code

2010-04-14 Thread Ethan
as Charley said, watir does not exit, itself. If you want to know if an exception occurred causing your program to exit, you can check if the global exception variable, $! is set. at_exit do if $! print "an exception occurred of type #{$!.class}" end end or something along those lines. On

Re: [wtr-general] Re: Saving Javascript Files

2010-04-14 Thread Brendan Grainger
Hi Tiffany, I realize water is a ruby library that interacts with web browsers. I also realize it's easy to enumerate all the linked script files with something like: jscripts = ie.document.getElementsTagName("script") jscripts.each do |js| puts "Javascript file is located at: #{js.invok

Re: [wtr-general] Re: Saving Javascript Files

2010-04-14 Thread Ethan
It looks like you have the watir part down. It's easy to download data from a URL in ruby, though not through watir. Check the Net::HTTP library. http://www.ruby-doc.org/core/classes/Net/HTTP.html If the

[wtr-general] Re: watir exit code

2010-04-14 Thread Shlomit Gazit
Somehow #{$!.class} prints as: SystemExit1 or SystemExit0, which is the opposite than what I see on the console in Irb: Exit code: 0, Error code: 1. In any case I need only the numbers 1 or 0 without the word SystemName, any idea? I wrote a script to send email if the test is failing. For now I am