Re: [wtr-general] has anyone experience with executing javascript and extracting datalayer?

2018-10-05 Thread 'gary' via Watir General
t; from >> /path/.rvm/gems/ruby-2.4.1/gems/watir-6.14.0/lib/watir/browser.rb:313:in ` >> map' >> from >> /path/.rvm/gems/ruby-2.4.1/gems/watir-6.14.0/lib/watir/browser.rb:313:in >> `wrap_elements_in' >> from /path/.rvm/gems/ruby-2.4.1/gems/watir-6.14.0/lib/wati

[wtr-general] has anyone experience with executing javascript and extracting datalayer?

2018-10-03 Thread 'gary' via Watir General
hi, I'm having trouble converting some selenium scripts to watir, lol please don't ask me why, anyway, the basic selenium script below works a treat: require 'selenium-webdriver' $b=Selenium::WebDriver.for :chrome $b.get'mywebsite' # click cookie message overlay sleep(3)

[wtr-general] .exists? visible? and .present?

2016-11-28 Thread 'gary' via Watir General
A question which i've found cropping up in a few places and at times appears controversial, not sure why, but i'm also struggling to find an answer for, and in the absence of an answer how does anybody else do this. To put it simply how to confirm if an element is in the users viewport, not if

[wtr-general] Re: Couldn't start the mozilla using WATIR 6.0.2

2016-11-28 Thread 'gary' via Watir General
is it the latest geckodriver and the latest v. of firefox? On Friday, 25 November 2016 16:28:43 UTC, Raja gopalan wrote: > > I have written the following code >> >> >> require 'watir' >> b=Watir::Browser.new :firefox >> >> b.goto 'www.google.com' > > > It opens the firefox but it's not entering

Re: [wtr-general] browser closing on error

2016-11-28 Thread 'gary' via Watir General
works a treat Titus, thanks again. G On Thursday, 24 November 2016 13:52:32 UTC, Titus Fortner wrote: > > Sorry, that needs to be Selenium::WebDriver::Remote::Capabilities. Forgot > the remote piece. -- -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] browser closing on error

2016-11-24 Thread 'gary' via Watir General
ll the chromedriver process. > If with detatch == true it doesn't force all Chrome browsers opened by that > driver to also close. They will of course close if you have your code set > to execute `browser.close`. > > On Wed, Nov 23, 2016 at 8:04 AM, 'gary' via Watir General < > watir-...

[wtr-general] browser closing on error

2016-11-23 Thread 'gary' via Watir General
hi again, I'm now running on the latest for everything, with thanks to Titus and Alex. Ruby 2.6.8 & watir v6. I have noticed that whenever my scripts error the browser now closes automajically. This is handy if I'm running multiple scripts over night for example (even though I had a way to deal

[wtr-general] Re: how to install prev versions of watir

2016-11-16 Thread 'gary' via Watir General
will do thanks On Wednesday, 16 November 2016 15:48:20 UTC, Titus Fortner wrote: > > File a bug on watir-scroll. Alex just needs to switch reference from > watir-webdriver to watir. -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Re: how to install prev versions of watir

2016-11-16 Thread 'gary' via Watir General
if you still want to go for old version, then you can do by >> >> gem install watir -v 5.0.0 >> gem install watir-classic >> >> >> >> >> On Tuesday, November 15, 2016 at 8:33:08 PM UTC+5:30, gary wrote: >>> >>> so, i had to spin up a ne

[wtr-general] Re: how to install prev versions of watir

2016-11-16 Thread 'gary' via Watir General
install watir -v 5.0.0 > gem install watir-classic > > > > > On Tuesday, November 15, 2016 at 8:33:08 PM UTC+5:30, gary wrote: >> >> so, i had to spin up a new vm for some regression tests and went through >> the normal installation process using gem install watir and

[wtr-general] how to install prev versions of watir

2016-11-15 Thread 'gary' via Watir General
so, i had to spin up a new vm for some regression tests and went through the normal installation process using gem install watir and behold we now have the wonderful version 6... unfortunately nothing seems to work in my scripts now, watir-webdriver is depracated, doesn't know what Time is,

Re: [wtr-general] help connecting to database

2013-11-15 Thread gary
. G On Wednesday, 13 November 2013 03:04:16 UTC, Joe Fl wrote: Hi Gary, I found this on stackoverflow and it seems straight forward and easy to use. https://github.com/rails-sqlserver/tiny_tds/blob/master/README.md Another Article that might help http://stackoverflow.com/questions

[wtr-general] help connecting to database

2013-11-12 Thread gary
that would be greatly appreciated. My good old trusty stuck in the dark ages of watir 1.8.6 still works a treat but unfortunately the browser interaction does not ;-( Many thanks, Gary -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir

[wtr-general] Re: Installation issues

2013-11-04 Thread gary
days! Thanks to original rails installer post: https://gist.github.com/fnichol/867550 On Friday, 1 November 2013 14:22:37 UTC, gary wrote: Hi all, Has anyone been having installation issues lately? I've used watirbook instructions previously with no problems but the last few attempts

[wtr-general] Installation issues

2013-11-01 Thread gary
Hi all, Has anyone been having installation issues lately? I've used watirbook instructions previously with no problems but the last few attempts have failed when trying to install watir. Oddly I installed on 2 windows 7 vm's 2 days ago without hitch, but i tried adding to another w7 and a w8

[wtr-general] watir installation issues

2013-04-26 Thread gary
Hi all, After a successful upgrade from an old version of watir and ruby I am attempting to create a new vm test rig running the latest ruby and watir. It's a fresh install of windows 7 so I'm using the watirbook instructions as directed and following them as specified, or so I thought but I

Re: [wtr-general] watir installation issues

2013-04-26 Thread gary
-classic? On Friday, 26 April 2013 11:21:00 UTC+1, Željko Filipin wrote: Hi, comments are inline. On Fri, Apr 26, 2013 at 12:10 PM, gary mrgary...@googlemail.comjavascript: wrote: It's a fresh install of windows 7 so I'm using the watirbook instructions as directed and following them

Re: [wtr-general] watir installation issues

2013-04-26 Thread gary
hurrah found it, details posted below in case anyone else encounters the same problem ok, summarising from the top installed ruby 2.0.0 using installer from command prompt, gem update --system downloaded appropriate devkit extracted devkit to c:\devkit from command prompt, devkit folder,

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

2013-04-15 Thread gary
if @b.footer(:index, 1).exists? puts yeah else puts nay end undefined method `footer' for nil:NilClass (NoMethodError) On Thursday, 11 April 2013 18:07:32 UTC+1, Željko Filipin wrote: On Thu, Apr 11, 2013 at 7:02 PM, gary mrgary...@googlemail.comjavascript: wrote: Hopefully

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

2013-04-15 Thread gary
-webdriver/doc/Watir/Container.html they both contain footer(s) and header(s) On Mon, Apr 15, 2013 at 6:02 AM, Željko Filipin zeljko@gmail.comjavascript: wrote: On Mon, Apr 15, 2013 at 8:56 AM, gary mrgary...@googlemail.comjavascript: wrote: if @b.footer(:index, 1).exists

[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? div id=footer has been replaced by footer but the latest version of watir doesn't appear to work with the new tags? Hopefully this is not too vague?? Many

[wtr-general] Re: keepping up with the browsers

2013-04-05 Thread gary
, thats for sure. Thanks again... G On Tuesday, 2 April 2013 10:00:53 UTC+1, gary wrote: Hi all, After a bit of a lay off and back to using watir but I appear to be struggling with a few basics which don't appear to work as the used to? The following script used to work fine in IE8 (and still does

[wtr-general] keepping up with the browsers

2013-04-02 Thread gary
Hi all, After a bit of a lay off and back to using watir but I appear to be struggling with a few basics which don't appear to work as the used to? The following script used to work fine in IE8 (and still does) but doesn't seem to work in IE9 or IE10: it's the click event which simply fails to

[wtr-general] installing firewatir, chromewatir, safariwatir

2010-01-29 Thread gary
a big fan of ruby and don't want to bin it and start learning something else. Thanks in advance. Gary -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read

[wtr-general] Re: installing firewatir, chromewatir, safariwatir

2010-01-29 Thread gary
goosechase... Cheers Željko, I'll have a look at webdriver as well. Regards, Gary On Jan 29, 10:16 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jan 29, 2010 at 10:36 AM, gary mrgaryengl...@googlemail.com wrote: Please forgive me but I'm still having trouble installing

[wtr-general] Re: integrating with team system for testers

2009-06-30 Thread gary
into the summary of the project. I'd assume then that if the scripts were part of a project then I'd use the Visual Studio IDE. Hopefully this is a bit clearer. Cheers, Gary On Jun 30, 6:43 am, Chethan chethan2...@gmail.com wrote: I didn't get your problem, I assume that you want a system to run all

[wtr-general] integrating with team system for testers

2009-06-29 Thread gary
Hi, I've got a number of watir scripts which I run as part of a normal regression suite. They're set up as an independent test suite and output results to html to allow easy interpretation of results. We've decided to invest in the Team tester version of Team System, after all, that's what our