[wtr-general] You are using an old or stdlib version of json gem

2013-05-16 Thread GJHmf
Hi all, I've seen the following issue mentioned in another thread a few days ago amongst other problems, but the solution for this issue (to me) didn't seem to be addressed. I recently ran a test on my Ruby 1.9.2-p290 environment, and was presented with the following error when I ran a test

[wtr-general] Re: Differences between watir and watir-webdriver

2012-01-31 Thread GJHmf
work perfectly in the teardown; but not in watir-webdriver, as 'browser' is not a defined variable. I'm new to watir-webdriver, and do see that this is my route forward. So Any pointers here will as always be appreciated. GJHmf -- Before posting, please read http://watir.com/support. In short

[wtr-general] Re: Frames issue in Watir2.0.1? (with DevKit installed!)

2011-09-01 Thread GJHmf
else other than Netbeans to run my scripts, but at least my scripts work again. (https://github.com/oneclick/rubyinstaller/wiki/Development-Kit) I hopwe this info helps someone. GJHmf On Aug 31, 3:51 pm, GJHmf graham.harb...@webroster.net wrote: Hi all, I posted a few threads the other day

[wtr-general] Frames issue in Watir2.0.1?

2011-08-31 Thread GJHmf
, I don't want to do this. Thanks, GJHmf (Ruby 1.8.7-334 ... Watir 2.0.1 ... XP Pro ... IE8) -- 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/watir-general watir-general+unsubscr

[wtr-general] Re: set_no_wait method no longer working?

2011-08-25 Thread GJHmf
field manually. Thanks, GJHmf On Aug 25, 2:02 pm, Jarmo Pertman jarm...@gmail.com wrote: Is it inside of a frame? Jarmo On Aug 24, 6:12 pm, GJHmf graham.harb...@webroster.net wrote: Hi, I've tried replying to a previous thread entitled 'text_filed validation - onchange alert

[wtr-general] Focusing on a window that's spawned by a select_list value

2011-08-24 Thread GJHmf
site I can't automate. Thanks, GJHmf -- 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/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] Re: Focusing on a window that's spawned by a select_list value

2011-08-24 Thread GJHmf
problems in is that choosing the relevant select_list value, using a 'select_no_wait' method doesn't spawn the new window at all... my test just hangs until I then choose the select_list value manually. GJHmf -- Before posting, please read http://watir.com/support. In short: search before you ask

[wtr-general] Re: wait_until_enabled ?

2011-08-23 Thread GJHmf
Yes, that does seem to have worked for me. I needed a new solution, as I knew Watir::Waiter was deprecated. Thank you Alister -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Can't locate a text field inside a table

2011-08-18 Thread GJHmf
You say the text field is within a table; have you tried calling the table index first (used 0 just as an example)? browser.table(:index, 0).text_field(:id, 'searchByElelastName').set Stuff -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] browser.speed?

2011-08-03 Thread GJHmf
evaluating. Ruby187/Watir192/Win7/IE9 seems to completely ignore 'browser.speed = :fast'. 'browser.speed = :zippy' works, but causes me some issues. Granted, these :zippy issues could be a problem at my end, but certainly I'm confused as to why :fast no longer works under IE9. Thanks, GJHmf

[wtr-general] Re: click_no_wait doesn't work on radio buttons (Ruby1.8.7/Watir1.9.0)

2011-07-01 Thread GJHmf
fresh Ruby 1.8.7 and Watir 1.9.0/1.9.1.rc1 installations, with no other gems installed. Thanks, GJHmf -- 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/watir-general watir-general

[wtr-general] Re: click_no_wait doesn't work on radio buttons (Ruby1.8.7/Watir1.9.0)

2011-07-01 Thread GJHmf
Sure. Here's the debug for my XP VM environment: Exception `WIN32OLERuntimeError' at C:/Ruby187/lib/ruby/gems/1.8/gems/ watir-1.9.1.rc1/lib/watir/element.rb:219 - OLE error code:0 in Unknown No Description HRESULT error code:0x80070057 The parameter is incorrect. #no_wait

[wtr-general] click_no_wait doesn't work on radio buttons (Ruby1.8.7/Watir1.9.0)

2011-06-30 Thread GJHmf
with .click_no_wait By and large, .click_no_wait works fine on buttons, but does nothing when used on a radio button. It works fine under Ruby1.8.6/ Watir1.6.2, but not under Ruby1.8.7/Watir1.9.0. I'm using the following command: browser.radio(:id, foo).click_no_wait Any ideas? Thanks, GJHmf -- Before

[wtr-general] Re: click_no_wait doesn't work on radio buttons (Ruby1.8.7/Watir1.9.0)

2011-06-30 Thread GJHmf
Hi Hugh, thanks for the reply. Sadly this is no better on 1.9.1.rc1, and there's nothing obvious (to me) in the debug log. Here's all the info I have on the radio button that I'm trying to click on, that ultimately displays an OK/Cancel dialogue box when selected: input name=Foo id=rdoFoo_1

[wtr-general] Re: click_no_wait doesn't work on radio buttons (Ruby1.8.7/Watir1.9.0)

2011-06-30 Thread GJHmf
Hi, My mistake, I forgot to add that into my post. 'fire_event_no_wait' doesn't seem to do anything for me either. I tried it after seeing a similar thread from a few months ago; but having never used it in anger, I discarded it once it didn't work. Thanks, GJHmf -- Before posting, please

[wtr-general] Re: Moving a window

2011-04-21 Thread GJHmf
I tried this method after seeing this thread as it got me curious as I'd never seen it before; and got the same error. I dug a little deeper, and found you'll possibly need to add in an extra command. Does this work for you? browser.element(how, what).document.scrollIntoView such as...

[wtr-general] Re: Watir 1.8.1.rc1 Released

2011-04-08 Thread GJHmf
The *_no_wait methods addition certaily piqued my interested. Click_no_wait seems to work like a charm for me, although select_no_wait doesn't. I have a select list that envokes a new browser window when a value is chosen. select_no_wait seems to try to do its job, but alas no new window

[wtr-general] Re: Watir 1.8.1.rc1 Released

2011-04-08 Thread GJHmf
I replied to this directly to Ivan in more detail, as he added the improvement. To everyone else; I don't want this thread to go off- topic, but for the record I got the same problem with select and select_no_wait. GJHmf -- Before posting, please read http://watir.com/support. In short

[wtr-general] Optimum setup environment for Watir 1.8.0?

2011-03-11 Thread GJHmf
), Watir 1.8.0; and nothing is working. I can't even require 'watir', the first step in every one of my scripts. Has anything fundimentally changed in Watir for 1.8.0? If not, what Ruby version is guaranteed to work with it? Any advice will be gratefully received. Thanks, GJHmf -- Before posting

[wtr-general] Re: Optimum setup environment for Watir 1.8.0?

2011-03-11 Thread GJHmf
I got your reply 1 minute before popping back on here to post that I'd just figured that out :) Thanks for the double confirmation though. Cue a global line insert to all my scripts. Cheers, GJHmf -- Before posting, please read http://watir.com/support. In short: search before you ask

[wtr-general] Initial window focus in IE9?

2010-11-19 Thread GJHmf
need to work in; using the HTML Title information or whatever, in the usual way you'd attach to a window. Has anyone else had this issue? Thanks, GJHmf -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http

[wtr-general] Re: Help with Modal Dialog boxes !!!!

2010-02-08 Thread GJHmf
Hi, I had this issue, and was partially what got me to migrate to Watir from Selenium. Assuming yours is the same setup as mine, I merely attached to the open window like any other browser window using the title. e.g: browser = Watir::IE.attach(:title, Google) I could then access any elements

[wtr-general] Reading special characters

2009-09-01 Thread GJHmf
text, '« Previous': span class=disabled prev_page« Previous/span Does anyone know how I can recognise the '«' character (ASCII 00AB, laquo;), or any other non-standard character? Naturally if there are any other solutions than using the text, I'm all ears. Thanks, GJHmf

[wtr-general] Re: Reading special characters

2009-09-01 Thread GJHmf
) ignored the IRB tool upto now, so will toy around with that for a while before troubling you with questions in that direction. GJHmf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: Reading special characters

2009-09-01 Thread GJHmf
to see if its disabled or not. Many thanks, GJHmf --~--~-~--~~~---~--~~ 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: Reading special characters

2009-09-01 Thread GJHmf
How annoying; I thought I had tried and failed on that very solution, now it works. My hands are up, it must have been a typo of some sort on my part. Once again, thanks Željko. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Re: Problem with popup window

2009-04-07 Thread GJHmf
'OK' or 'Cancel' on an IE confirmation/alert box, I'll be very grateful. As I'm pulling my hair out, and there really isn't much left there to pull. Many thanks, GJHmf - - - - - - - - # WinClicker method def test_Delete browser.button(:xpath, //i...@alt='delete']).click hwnd

[wtr-general] Re: Problem with popup window

2009-04-07 Thread GJHmf
its not working for me please me some other solution. My reply wasn't a solution; I was merely adding in my own own examples for our mutual problem with popups. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[wtr-general] Re: Problem with popup window

2009-04-07 Thread GJHmf
Edit: These two lines should have been pasted into the WinClicker example, not the AutoIt example: require 'watir/ie' require 'watir/contrib/enabled_popup' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Browser lockup when running watir tests

2009-03-27 Thread GJHmf
in Timeout checks, and indeed can see the error message I told it to log for such an eventuality. Does anyone out there know how I can detect that the browser session has stalled, and close that bad session down automatically? Many thanks, GJHmf

[wtr-general] Re: Calling classes in a defined order

2009-03-20 Thread GJHmf
/1.8/test/unit/ui/console/testrunner.rb:29:in 'run' from ABC.rb:24 GJHmf - - - - - - - - ABC.rb # Test Suite require 'test/unit/testsuite' require 'C' require 'A' require 'B' class CABTest def self.suite suite = Test::Unit::TestSuite.new