[wtr-general] Passing two arguments from feature file to step definition

2012-07-20 Thread Barry Horgan
i am having a problem with a feature file that i am currently working on, i want to pass two arguments from one line of the feature file (from table) to my step definition - is this possible? any of the examples i have looked at in The Cucumber Book seem to have one argument per line. Feature

Re: [wtr-general] Watir is compatible with UNIX ?

2012-07-20 Thread Sophia Sunitha
Thanks for your response... Sophia On Friday, July 6, 2012 1:08:59 PM UTC+5:30, Željko Filipin wrote: On Fri, Jul 6, 2012 at 6:43 AM, Sophia Sunitha sophia.joac...@gmail.com wrote: Can Watir be installed on UNIX OS??? I by unix you mean linux or mac, then take a look at these links:

Re: [wtr-general] Watir is compatible with UNIX ?

2012-07-20 Thread Sophia Sunitha
Thanks Dan. On Friday, July 6, 2012 6:31:22 PM UTC+5:30, Dan wrote: I've used watir-webdriver on Open Suse, Scientific Linux, Centos and Fedora, in addition to the OSses Željko mentoined without any issues. On Friday, July 6, 2012 3:38:59 AM UTC-4, Željko Filipin wrote: On Fri, Jul

Re: [wtr-general] Passing two arguments from feature file to step definition

2012-07-20 Thread Željko Filipin
On Fri, Jul 20, 2012 at 2:22 AM, Barry Horgan bhor...@spreets.com wrote: When I add credits to users account credit_amount expiry_date ... Step definition: def add_credits (credit_amount, expiry_date) @browser.link(:text = Add Credit).click @browser.frame(:id =

[wtr-general] Re: Problems with driving IE via watir-webdriver

2012-07-20 Thread leder
Hello, I think I have same problem with watir-webdriver (HTTP 502-Error - Bad Gateway) But the patch does not work: error message is: C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': cannot load such file -- watir/element_collections (LoadError) from

[wtr-general] Re: Problems with driving IE via watir-webdriver

2012-07-20 Thread leder
SOLVED: I have the following working patch for watir-webdriver (based on the patch for watir, s. below): ---schnipp require 'watir-webdriver' # Patch Watir for better compatibility with Watir-WebDriver require

[wtr-general] Re: Problems with driving IE via watir-webdriver

2012-07-20 Thread leder
Sorry there is missing a # in: require 'watir-webdriver/table' should read: # require 'watir-webdriver/table' But still the HTTP-error is 502 :-( Bye Gerrit Am Dienstag, 1. Februar 2011 21:17:59 UTC+1 schrieb DK: I can drive Firefox with the latest watir-webdriver just fine out of the

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-20 Thread Super Kevy
Sorry, read your post too fast On windows machines: see the thread for using AutoIT https://groups.google.com/forum/?hl=enfromgroups#!searchin/watir-general/download/watir-general/st7NdUcDMS4/kU__10n-floJ On Thursday, July 19, 2012 10:28:03 PM UTC-5, Mahesh Shivankar wrote: I have used

Re: [wtr-general] watir/ruby in Jenkins

2012-07-20 Thread Ry
I just wanted to thank everyone. I did come across and used your article at some point Zeljko, very well written and informative. I was able to learn a few things from it. Bill's comment got me to my goal though, I was using window's service. I stopped that and have generated Jenkins through

Re: [wtr-general] XML output from Watir

2012-07-20 Thread Ry
I have gotten this to install and work, except the duration doens't work. (always 0s) Any ideas? On Thursday, July 5, 2012 12:22:28 PM UTC-7, Oscar.Rieken wrote: or there is --format json --out cucumber.json then you just need to add this plugin to your jenkins server

Re: [wtr-general] Click not working in Chrome

2012-07-20 Thread CJ
It was giving you a time out on the submit? Or on the page load? I'm getting it to load in Chrome. I wasn't able to get firefox to start with -jssh but I think I've read something about using the general web driver now instead of firewatir, so I'll try that to see if it makes a difference.