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

2018-10-05 Thread 'gary' via Watir General
.rb: >> 313:in `block in wrap_elements_in' >> 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

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

2018-10-04 Thread 'gary' via Watir General
gems/2.3.0/gems/watir-6.0.2/lib/watir/browser.rb:261:in `execute_script' C:/temp/test1.rb:13:in `' On Wednesday, 3 October 2018 15:13:57 UTC+1, Titus Fortner wrote: > > Hmm, it should be really difficult to get that exception in watir. Can you > provide a stack trace? > >

[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) $b.find_element(:xpath=

[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 i

[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 u

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 ask,

Re: [wtr-general] browser closing on error

2016-11-24 Thread 'gary' via Watir General
s it sends the command to kill 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,

[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. watir-g

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

2016-11-16 Thread 'gary' via Watir General
gt;> >> But 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

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

2016-11-16 Thread 'gary' via Watir General
rsion, 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 new vm for some regression tests and went through >> the normal installation

[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, the

Re: [wtr-general] error with new firefox

2014-05-08 Thread gary
>> in the past and rebooting and/or reinstalling selenium sorted it out. I >> haven't used FF v29 yet >> >> -- >> *From:* gary > >> *To:* watir-...@googlegroups.com >> *Sent:* Wednesday, May 7, 2014 2:43 AM >>

[wtr-general] error with new firefox

2014-05-07 Thread gary
hi, has anyone experienced errors with the latest version of firefox (29.0)? basic script extract below used to work: require 'watir-webdriver' @b = Watir::Browser.new @b.goto('www.google.co.uk') but unfortunately now returns: C:/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.37.0/lib/sel

Re: [wtr-general] help connecting to database

2013-11-15 Thread gary
on my progress. 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

[wtr-general] help connecting to database

2013-11-12 Thread gary
an post, preferably as close to the odbc route i was previously using 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:

[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 f

[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 v

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, rub

Re: [wtr-general] watir installation issues

2013-04-26 Thread gary
lude watir or watir-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 > > wrote: > >> It's a fresh install of windows 7 so I'm using the watirbook instructions

[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 do

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

2013-04-15 Thread gary
gt; http://watir.github.io/watir-webdriver/doc/Watir/Container.html > > they both contain footer(s) and header(s) > > > On Mon, Apr 15, 2013 at 6:02 AM, Željko Filipin > > > wrote: > >> On Mon, Apr 15, 2013 at 8:56 AM, gary >> > wrote: >> >>

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

2013-04-14 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 > > wrote: > >&

[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

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

2013-04-05 Thread gary
s browser, 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 w

[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 c

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

2010-01-29 Thread gary
on a wild goosechase... Cheers Željko, I'll have a look at webdriver as well. Regards, Gary On Jan 29, 10:16 am, Željko Filipin wrote: > On Fri, Jan 29, 2010 at 10:36 AM, gary wrote: > > Please forgive me but I'm still having trouble installing any of the > >

[wtr-general] installing firewatir, chromewatir, & safariwatir

2010-01-29 Thread gary
omeone, anyone, please help as I'm 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

[wtr-general] Re: Trying to add a web interface to my scripts

2009-07-02 Thread gary
but find a basic html page which incorporates links to specified sets of scripts which then produce an html summary page & html details pages to be suitable. Gary -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of eric Sent: 02 J

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

2009-07-01 Thread gary england
Very helpful, thanks. A few avenues for me to investigate. Cheers 2009/7/1 Chuck van der Linden > > Gary, > > I've used the VSTS stuff to do http level web and loadtesting, and > found it a great tool for such things. > > MS has it's own standard for report files

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

2009-06-30 Thread gary
ully includes the results 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 wrote: > I didn't get your problem, I assume that

[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 dev

[wtr-general] Re: How to automate site with Captcha?

2009-03-10 Thread Gary
To automate around our CAPTCHA, we created an override string and store that in a property file on the server. If the response to the CAPTCHA challenge is the override string, it was as good as entering the correct CAPTCHA. On Mar 7, 1:33 pm, Margam wrote: > Hello everyone, > For my current cl