Re: [wtr-general] Watir and Jenkins

2013-04-11 Thread Joe Fl
Okay, I started converting my scripts over to Cucumber. Though I noticed that the version of jruby on the vm is 1.7.2 and won't execute the scripts. Has anyone run into problems with watir-webdriver scripts running with jruby 1.7.2? We are running the script against Firefox on that Windows 8

Re: [wtr-general] Using watir with html 5

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 7:02 PM, gary wrote: > Hopefully this is not too vague?? It is. Please share your code and error messages, if any. Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-ge

[wtr-general] Using watir with html 5

2013-04-11 Thread gary
Hi all, Has anyone experience of using the header and footer tags with watir and how to use them to help identify links within them? has been replaced by but the latest version of watir doesn't appear to work with the new tags? Hopefully this is not too vague?? Many thanks, G -- -- Bef

Re: [wtr-general] Re: JSON API using cucumber and watir webdriver

2013-04-11 Thread Oscar Rieken
I agree with chuck to me it seems testing a webservice with a tool made for automating the browser is like using the back of a screwdriver to drive a nail in. yes it works but it might not be the best way to do it. I would suggest just sending requests directly to the api using something like http

[wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread watir webdriver
Thanks Filipin On Thursday, April 11, 2013 11:13:04 AM UTC+1, watir webdriver wrote: > > Hi there, > > How can we handle popups using Autoit in watir webdriver.Any helpful links > or docs available ? > > Thanks in-advance. > -- -- Before posting, please read http://watir.com/support. In sh

Re: [wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 12:59 PM, watir webdriver < watirwebdriver...@gmail.com> wrote: > is it a good practice to use autoit to handle popups or not No. Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.

[wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread watir webdriver
I'm learning watir webdriver and automating my tests.Just wondering is it a good practice to use autoit to handle popups or not ? Thanks. On Thursday, April 11, 2013 11:13:04 AM UTC+1, watir webdriver wrote: > > Hi there, > > How can we handle popups using Autoit in watir webdriver.Any helpful

Re: [wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 12:30 PM, watir webdriver < watirwebdriver...@gmail.com> wrote: > But I want to know how to use autoit for popups. Why? Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http:/

[wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread watir webdriver
Thanks for your reply Filipin I handle the popups the same way as mentioned in... http://watirwebdriver.com/javascript-dialogs/ But I want to know how to use autoit for popups.Won't you recon autoit for watir-webdriver ? Thanks. On Thursday, April 11, 2013 11:13:04 AM UTC+1, watir webdriver

Re: [wtr-general] Watir webdriver - Autoit

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 12:13 PM, watir webdriver < watirwebdriver...@gmail.com> wrote: > How can we handle popups using Autoit in watir webdriver.Any helpful links > or docs available ? Why would you use Autoit? http://watirwebdriver.com/javascript-dialogs/ Željko -- https://leanpub.com/watir

[wtr-general] Watir webdriver - Autoit

2013-04-11 Thread watir webdriver
Hi there, How can we handle popups using Autoit in watir webdriver.Any helpful links or docs available ? Thanks in-advance. -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/wat

[wtr-general] Re: Finding an element by using a variable

2013-04-11 Thread CrazyFrog
naturally. Thank you On Thursday, April 11, 2013 11:38:32 AM UTC+2, CrazyFrog wrote: > > Is it possible to use a variable to find an element. > see the example below > > searchParams = :name => "something", :class =>"else" > element = $browser.element(searchParams ) > element.to_su

Re: [wtr-general] Finding an element by using a variable

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 11:38 AM, CrazyFrog wrote: > searchParams = :name => "something", :class =>"else" It should work if you make this a proper hash: searchParams = {:name => "something", :class =>"else"} Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://w

[wtr-general] Finding an element by using a variable

2013-04-11 Thread CrazyFrog
Is it possible to use a variable to find an element. see the example below searchParams = :name => "something", :class =>"else" element = $browser.element(searchParams ) element.to_subtype.click regards CrazyFrog -- -- Before posting, please read http://watir.com/support. In sho

[wtr-general] Re: JSON API using cucumber and watir webdriver

2013-04-11 Thread watir webdriver
Thanks for your reply Chunk...I'm afraid,the presentation for REST API on github is no longer available. I've tested few REST API scenarios using cucumber and watir webdriver. Apart from that we've few JSON integration scenarios to be tested...Is there any way to automate JSON Integration ? Than

[wtr-general] Re: Drag and drop is not working after updating firefox to 20.0 -- Could not load native events component.

2013-04-11 Thread watir webdriver
Hi Dan, Thanks for letting me know. I've updated selenium webdriver to 2.32.0 but still I'm facing the same issue. On Thursday, April 4, 2013 5:18:04 PM UTC+1, watir webdriver wrote: > > Hi there, > > Today I've updated my firefox 19.2 to 20.0 and drag and drop of the > element is not working.Th

[wtr-general] Capturing Failed Tests in FF?

2013-04-11 Thread Duc Le
I have been searching high and low for this but no where have I found it yet. I'm trying to capture when a test run failed. I'm easily can do this for Chrome since it looks to throw an exception when it failed. Firefox does not seem to have the behavior. The code I have is something like the fo