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
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
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
, 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
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
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
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
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
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.
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
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
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
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
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
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
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...
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
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
), 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
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
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
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
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
)
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
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
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
'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
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
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
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
/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
31 matches
Mail list logo