Re: [wtr-general] Re: Watir Webdriver Performance Error

2011-12-08 Thread Tim Koopmans
Yeah I agree RE non-hash return objects... I'l fire up a windows VM this weekend and see if I can pinpoint what's being returned ... stay tuned =) Cheers, Tim On Fri, Dec 9, 2011 at 10:45 AM, Jari Bakken jari.bak...@gmail.com wrote: On Thu, Dec 8, 2011 at 3:36 AM, @90kts tim.ko...@gmail.com

Re: [wtr-general] Is Firewatir Dead?

2011-06-22 Thread Tim Koopmans
personally I prefer watir-webdriver ... Regards -- Tim Koopmans On Thursday, 23 June 2011 at 7:22 AM, Michael wrote: From a bit of web research it doesn't look like there is going to be a version of jssh for Firefox 4... Does that mean Firewatir is dead? -- Before posting, please

Re: [wtr-general] Re: Watir Grid Examples Help

2011-06-06 Thread Tim Koopmans
I think an easier way would be to parallelize 'outside' the cucumber script ... Here is what I have: So I have two feature files each with 2 scenarios I have 2 step_definition files and an env.rb My env.rb file looks something like this: $LOAD_PATH.unshift(File.dirname(__FILE__))

Re: [wtr-general] Watir Grid Examples Help

2011-06-03 Thread Tim Koopmans
Hi Usman, I can probably help you =) The correct order to start up a grid is: 1. start the controller on a central machine e.g. controller when it starts up it will tell you what its URI is. This is what you'll use to connect other providers e.g. I, [2011-06-04 08:22:15 #99844] INFO -- :

Re: [wtr-general] Watir Grid Examples Help

2011-06-03 Thread Tim Koopmans
another. I really do appreciate your help. Kind regards, Usman -- -- *From: * Tim Koopmans tim.ko...@gmail.com *Sender: * watir-general@googlegroups.com *Date: *Fri, 3 Jun 2011 22:27:13 + *To: *watir-general@googlegroups.com *ReplyTo

Re: [wtr-general] Re: type-ahead select lists

2011-05-27 Thread Tim Koopmans
Hi Lisa, what's the code for selectPlanAdvisor(); Do? Might be worth just eval'ing that ... Regards, Tim Sent from my mobile ... On 28/05/2011, at 6:05 AM, Lisa Crispin lisa.cris...@gmail.com wrote: (re-sending, I don't think it got sent for some reason) Now I am able to type text into

Re: [wtr-general] Watir for Chrome(Shut down issue)

2011-05-17 Thread Tim Koopmans
If Jari is asleep since it's 2am in Oslo, the remote url syntax is the url of the remote webdriver server e.g. Watir::Browser.new(:remote, :url = 'http://localhost:') NOT the url of the system under test .. So point it to whatever URL the chrome driver has started up and is listening on

Re: [wtr-general] Watir with Telerik Rad Grid

2011-04-30 Thread Tim Koopmans
Please supply some examples of: 1. The html you are working with (or even a URL so we can all see it) 2. The watir code you are trying to execute 3. ruby version / watir version / operating system and browser version ... On Sat, Apr 30, 2011 at 1:35 PM, ranjith kumar

Re: [wtr-general] Communicating Watir-Results

2011-04-27 Thread Tim Koopmans
Consider some form of CI like judson/jenkings perhaps? Put your scripts into a test framework that has reporting/test runners like rspec or cucumber? I use the Pony gem on linux for just about all my mailing needs ... On Thu, Apr 28, 2011 at 6:17 AM, Francisco Diaz Trepat - gmail

Re: [wtr-general] Automate Flash and fusion charts?

2011-04-20 Thread Tim Koopmans
NOt really =) Try Sikuli http://www.software-testing.com.au/blog/2010/08/16/automating-flash-ajax-popups-and-more-using-ruby-watir-and-sikuli/ You can use it with Watir (on Jruby)... On Wed, Apr 20, 2011 at 5:01 PM, vin vinay...@gmail.com wrote: Hi, Can we use Watir tool to automate flash

Re: [wtr-general] Released WatirSplash 1.2.0

2011-04-18 Thread Tim Koopmans
+1 On Mon, Apr 18, 2011 at 3:56 PM, Ekin Han nbkhic...@gmail.com wrote: It is great. Could you send out some samples about how to use it? 2011/4/18 Tim Koopmans tim.ko...@gmail.com Looks great Jarmo, am keen to give it a try. Will let you know how it goes. Cheers, Tim @90kts

Re: [wtr-general] Released WatirSplash 1.2.0

2011-04-17 Thread Tim Koopmans
Looks great Jarmo, am keen to give it a try. Will let you know how it goes. Cheers, Tim @90kts On Sun, Apr 17, 2011 at 7:47 AM, Jarmo jarm...@gmail.com wrote: Hello! I've just released the WatirSplash 1.2.0 gem. WatirSplash makes browser-based web page testing in Ruby splashin' easy.

Re: [wtr-general] How to 'click' row from table returned by AJAX-helper at google.com?

2011-04-09 Thread Tim Koopmans
Click on the table row instead, and use the :index attribute e.g. browser.tr(:class = 'gac_a', :index= 2).click will click the third row of the auto suggestions ... Cheers, Tim @90kts On Sat, Apr 9, 2011 at 6:40 PM, Vitaliy Smok 4sm...@gmail.com wrote: Hi! I'm study using of Watir at

Re: [wtr-general] Managing multiple version of Watir

2011-03-30 Thread Tim Koopmans
Rvm ? Regards, Tim Sent from my mobile ... On 31/03/2011, at 12:39 AM, Darryl Brown d-l-br...@roadrunner.com wrote: Hello All, We are currently using Git branches to manage multiple versions of Watir. Our base scripts were all created with 1.6.2 and we're transitioning to the newer

Re: [wtr-general] taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread Tim Koopmans
Looks like you still have another version of Ruby on your system at c:/ruby If you're re-installing or changing versions, make sure you get rid of references to old binaries in your %PATH% especially for ruby and gem executables. Also delete any old ruby directories / gemfiles in your application

Re: [wtr-general] Re: taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread Tim Koopmans
to do a fresh install. On Mar 22, 12:44 pm, Tim Koopmans tim.ko...@gmail.com wrote: Looks like you still have another version of Ruby on your system at c:/ruby If you're re-installing or changing versions, make sure you get rid of references to old binaries in your %PATH% especially

Re: [wtr-general] Error on Watir installation

2011-03-21 Thread Tim Koopmans
For the time being, install rubygems manually, I've been having similar trouble with firewatir and ubuntu http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.zip unzip rubygems-1.6.2.zip ruby rubygems-1.6.2/setup.rb Cheers, Tim @90kts On Tue, Mar 22, 2011 at 10:04 AM, blkjk

Re: [wtr-general] Re: Error on Watir installation

2011-03-21 Thread Tim Koopmans
, 4:11 pm, Tim Koopmans tim.ko...@gmail.com wrote: For the time being, install rubygems manually, I've been having similar trouble with firewatir and ubuntu http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.zip unzip rubygems-1.6.2.zip ruby rubygems-1.6.2/setup.rb Cheers

Re: [wtr-general] How to exit from for loop

2011-03-18 Thread Tim Koopmans
http://xkcd.com/292/ Regards, Tim Sent from my mobile ... On 19/03/2011, at 1:44 AM, Dave McNulla mcnu...@gmail.com wrote: Another Ruby question. You could try a break: http://www.wellho.net/mouth/962_Breaking-a-loop-Ruby-and-other-languages.html My favorite is goto for i in1..5

Re: [wtr-general] Re: Measure response time with fireEvent(onmouseup)

2011-03-17 Thread Tim Koopmans
What is that plugin class ? Regards, Tim Sent from my mobile ... On 17/03/2011, at 9:29 PM, vin vinay...@gmail.com wrote: Hi Guys, Debugging further shows that with sleep the response time and bytes recieved are proper but when sleep is removed the time and recieved bytes are zero.

Re: [wtr-general] How to click a button which is having all the property dynamic ?

2011-03-15 Thread Tim Koopmans
who was the interview for? Cheers, Tim @90kts On Tue, Mar 15, 2011 at 5:53 PM, meaculpa harismah...@gmail.com wrote: Hi, For an interview, I was asked this question How to click a button, which have all its properties changing dynamic ? I searched and was not able to find a

Re: [wtr-general] Re: Re-Usable Load Testing with Watir : Optimize loadtester.rb

2011-03-14 Thread Tim Koopmans
Personally I've used WatirGrid[1] with great success, I used it to drive 50 browsers concurrently. 50 is not the ceiling, I was just limited by how many boxes I had at hand. The limitation with browser based testing is the resources required on which to drive the browsers! BrowserMob have reduced

Re: [wtr-general] Watir Book

2011-03-14 Thread Tim Koopmans
Just bought a copy! Well done Željko for taking the initiative. I look forward to the end result =) Cheers, Tim @90kts On Tue, Mar 15, 2011 at 11:12 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Hi, I have started writing a book on Watir. My family has agreed that I can work

Re: [wtr-general] Watir Day 2011 Speakers Announced

2011-03-07 Thread Tim Koopmans
Looks fine to me Alister. Cheers, Tim @90kts On Tue, Mar 8, 2011 at 3:56 PM, Alister Scott alister.sc...@gmail.comwrote: The speakers have been announced for Watir Day: http://watir.com/2011/03/08/watir-day-2011-speakers-announced/ http://watir.com/watir-day/speakers/ Cheers,

Re: [wtr-general] how to get slectlist box option value

2011-02-25 Thread Tim Koopmans
b.select_list(:name = phone_type).options.collect {|o| o.text[/\w/]} or this b.goto 'http://tinyurl.com/6f8v92t' Cheers, Tim On Fri, Feb 25, 2011 at 5:28 PM, Rajiv Nanduani rajivkumarnandv...@gmail.com wrote: Hi All, I am facing a problem with watir for list box object. I have to extrach

Re: [wtr-general] how to run watir in background on linux

2011-02-25 Thread Tim Koopmans
why don't you try watir-webdriver with HtmlUnit driver for headless automation. Cheers, Tim On Fri, Feb 25, 2011 at 7:03 PM, warlock vinay.beck...@gmail.com wrote: hi guys how to run watir in background on linux i tried the -b tag to the script.. but this doesnt work on linux... basically

Re: [wtr-general] unknown property or method document HRESULT error 0x800706b5

2011-02-25 Thread Tim Koopmans
Run watir from a shell with admin privs. http://jira.openqa.org/browse/WTR-427 Cheers, Tim On Fri, Feb 25, 2011 at 11:55 PM, TCBlues tcbl...@gmail.com wrote: Watir: 1.6.5 Windows 7 64 bits Ruby 1.8.7 When running this code: require 'watir' nav=Watir::IE.new()

Re: [wtr-general] Re: Error on running script for first time

2011-02-24 Thread Tim Koopmans
186 ruby has an old version of rubygems. Try using 187 version of ruby or update rubygems manually. Instructions are at Watir.com under installation. Regards, Tim Sent from my mobile ... On 24/02/2011, at 7:47 PM, Ashu ashay.n...@gmail.com wrote: On installing watir-webdriver gem...

Re: [wtr-general] Re: Need to get/retrieve value

2011-02-24 Thread Tim Koopmans
/technology/26captcha.html?_r=1hpw So assuming that his client wants to pay for this service, there is a way around it (which as I said, puts a human in the loop) On Feb 23, 2:14 am, Tim Koopmans tim.ko...@gmail.com wrote: So let's just go easy on the guy! It's not an entirely unreasonable

Re: [wtr-general] Re: Need to get/retrieve value

2011-02-23 Thread Tim Koopmans
So let's just go easy on the guy! It's not an entirely unreasonable request, and not really up to us to judge it. It may well be legit! Depending on the quality of the CAPTCHA it may in fact be possible. But you'd probably have to wrap in an OCR library with some image processing (to TIFF)

Re: [wtr-general] Re: Unable to locate element

2011-02-18 Thread Tim Koopmans
If it's in a frame you need to prefix the element selector with that frame: ie.frame(:index, 1).button(:name = 'SDP_0_0') Cheers, Tim @90kts On Fri, Feb 18, 2011 at 10:04 PM, Ashu ashay.n...@gmail.com wrote: yes there is 1 frame irb(main):014:0* ie.show_frames There are 1 frames frame:

Re: [wtr-general] Re: [Watir launching] Unable to launch Watir by require 'watir'

2011-02-18 Thread Tim Koopmans
in the documentation, you wrote require 'rubgyems' instead of require 'rubygems'. Regards. Michel On 17 fév, 22:09, Tim Koopmans tim.ko...@gmail.com wrote: Try require 'rubygems' Before your require for Watir... Or set your RUBYOPT environment variable ... Regards, Tim On 18

Re: [wtr-general] [Watir launching] Unable to launch Watir by require 'watir'

2011-02-17 Thread Tim Koopmans
Try require 'rubygems' Before your require for Watir... Or set your RUBYOPT environment variable ... Regards, Tim On 18/02/2011, at 8:06 AM, mmauric michel.maur...@yahoo.fr wrote: As explained in the getting started, I have installed ruby-1.8.7-p330 with the option to update the path

Re: [wtr-general] [Watir launching] Unable to launch Watir by require 'watir'

2011-02-17 Thread Tim Koopmans
would be: http://watir.com/examples/ Is it pretty easy to update? I suppose a number of other docs would need to be changed too...not sure what the most popular destinations are these days for folks evaluating Watir. Thanks Bill On Thu, Feb 17, 2011 at 1:09 PM, Tim Koopmans tim.ko

Re: [wtr-general] Re: Unable to locate element

2011-02-17 Thread Tim Koopmans
Technically it is a button (input type=image) http://wiki.openqa.org/display/WTR/Buttons So use ie.button(:name = 'SDP_0_1').click Cheers, Tim On Fri, Feb 18, 2011 at 4:52 PM, Ashu ashay.n...@gmail.com wrote: SDP_0_1 -- Before posting, please read http://watir.com/support. In short:

[wtr-general] Re: Webdriver problems on Chrome

2011-02-16 Thread Tim Koopmans
Can you share the page being accessed or is it on an intranet site? Regards, Tim On Feb 17, 5:41 am, xguarder shams...@gmail.com wrote: I just started using watir-webdriver, and was able to make it work well with Firefox. I am running into some problems on Chrome though (all on Mac OSX). Here

[wtr-general] Re: [Wtr-development] Vapir

2010-05-05 Thread Tim Koopmans
This makes no sense to me. Shouldn't we just merge important changes like modal support into Watir main? Or am I missing something? Is vapir a silent protest of sorts? Regards, Tim On 06/05/2010, at 3:47, Ethan notet...@gmail.com wrote: Dear Watir people, I am happy to announce the

[wtr-general] Re: Answering incomplete requests

2009-10-27 Thread Tim Koopmans
I also like the tone of that page. I think it's a really bad idea to either humiliate people or go over- the-top with rules like SQAForums. Maybe some people are lazy, others might just be ignorant but I try not to judge as I don't know their circumstances. The questions I've answered here and

[wtr-general] Re: Performance Testing

2009-04-06 Thread Tim Koopmans
scripts. I prefer to read Watir scripts rather than look at .jmx or .c files... Regards, Tim Koopmans On Apr 6, 9:21 am, Chuck van der Linden sqa...@gmail.com wrote: On Apr 3, 2:56 am, sai saidesertrose2...@gmail.com wrote: Even if you use http clients to generate requests and load test

[wtr-general] Re: Ruby integration with TestLink

2008-10-07 Thread Tim Koopmans
to implement? If so, it might be worth mentioning so some of us can have a hack at it =) Regards, Tim Koopmans snip #!/usr/bin/env ruby # Testlink API Sample Ruby Client implementation require 'xmlrpc/client' class TestlinkAPIClient # substitute your server URL Here SERVER_URL = http://qa

[wtr-general] Re: ERROR installing watir

2008-10-07 Thread Tim Koopmans
This happens to me a lot. Try installing from gem files downloaded manually. There's some instructions on how to do this here: http://justaddwatir.com/watir/q-how-do-i-gem-install-watir-behind-a-proxy-server/ Check out the comments section for recent example. Regards, Tim Koopmans