It's a bit hard to answer without seeing your code...
--
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
I'm running some scripts that are currently implemented in watir 1.9.1
The test system is Win7 64 bit, browser is a 32 bit instance of IE9
Attempts to set a text field give the following error
Watir::Exception::ObjectReadOnlyException: Textfield id and first_name
is read only.
from C:/Rub
Actually, I just realized that I'm getting this error using SciTE, but
when I use IRB, I can see the hostnames of the providers! Is there a
reason for this?
On Nov 8, 11:40 am, George wrote:
> Oops, thanks for the catch! Here's what was returned with your code:
>
> C:/Ruby187/lib/ruby/1.8/rinda
Hi,
Today i installed Ruby 1.9.2 and i have the following problem. Was
working fine with Ruby 1.8.6. Please help!
I am getting the error "Undefined method `each' for :ole_object:Symbol
(NoMethodError)" when clicking a button using the code.
ie.frame(:id,"body").table(:id,"recordListButton_UserL
Thanks Chuck,
Yes, I am on 2.0.1 - I'll upgrade when I'm back in the office
tomorrow.
I'll also check out your suggestion.
Trevor
On Nov 8, 7:48 pm, Chuck van der Linden wrote:
> The changes log https://github.com/bret/watir/blob/master/CHANGES
> shows a change to .rows to make it 'iterate pro
The changes log https://github.com/bret/watir/blob/master/CHANGES
shows a change to .rows to make it 'iterate properly' in Watir
2.0.2 From your error it looks like you are using 2.0.1
I'd suggest an upgrade to the current version (2.0.4) might be in
order to see if that takes care of your is
Oops, thanks for the catch! Here's what was returned with your code:
C:/Ruby187/lib/ruby/1.8/rinda/ring.rb:212:in `lookup_ring_any':
RingNotFound (RuntimeError)
from C:/Ruby187/lib/ruby/gems/1.8/gems/watirgrid-1.1.5/lib/
watirgrid.rb:132:in `find_ring_server'
from C:/Ruby187/lib/ru
meh scratch that, I was in a hurry and looking at the click that
dismisses the popup..
obviously there is too much blood in my caffeine system this
morning.. .
On Nov 8, 10:33 am, Chuck van der Linden wrote:
> The problem I see is that you are not restricting the button click to
> the row you a
Hi George, it doesn't matter about ruby versions.
Your code is incorrect, *browser* doesn't have an array of attributes,
browser is the actual browser!
To get the grid browsers attributes, you need to call the *browsers* method
of the *grid* object. So show me the about of the following in ir
Thanks for the reply, Tim. For the record, I'm using Ruby 1.8.7. Your
first example only returned the hostname of the controller (the
machine I'm running the script from). For the second example, I'm
getting "undefined method '[]' for nil:NilClass (NoMethodError)". I'm
not sure what I'm doing wron
The problem I see is that you are not restricting the button click to
the row you are looking at, you are basically clicking the first
instance inside the entire browser object that matches the name you
specified.. so it's probably deleting the wrong things.
On Nov 8, 9:09 am, Trevor wrote:
> Unf
Thanks for letting us know how you fixed the issue.
That also makes life easier for anyone that finds this thread when
searching for a solution to this issue.
On Nov 7, 9:14 pm, Shiv wrote:
> Thanks, I downgraded ffi gem to ffi-1.0.9-x86-mingw32, now maximize works.
>
>
> On Tue, Nov 8, 2011 at
Unfortunately, cannot provide link to the page - its a secure link to
a Customer.
I'll see what I can do to recreate.
Trevor
On Nov 8, 5:01 pm, Željko Filipin
wrote:
> On Tue, Nov 8, 2011 at 5:57 PM, Trevor wrote:
> > The script then fails (i.e. does not repeat)
>
> That could be related. Can y
On Tue, Nov 8, 2011 at 5:57 PM, Trevor wrote:
> The script then fails (i.e. does not repeat)
That could be related. Can you provide link to the page, or create a page
that reproduces the problem, so we could try it?
Željko
--
Before posting, please read http://watir.com/support. In short: sear
The popup does not get closed if I don't.
Basically, I need to loop around the table deleting every item that
includes a specific string. Deleting these items opens a popup window.
When I run through the script, it does what I expect (i.e. finds the
item, clicks the link and allows me to delete it,
On Tue, Nov 8, 2011 at 5:44 PM, Greg Roy wrote:
> I'm getting the following error:
And code that caused the error is?
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before posting, please read http://watir.com/support. In short: search before
you as
Hi,
I'm getting the following error:
C:/Ruby/lib/ruby/gems/1.8/gems/watir-2.0.4/lib/watir/camel_case.rb:7:
undefined method `text_field' for module
`Watir::Container' (NameError)
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `gem_original_require'
from C:/R
On Tue, Nov 8, 2011 at 4:49 PM, Trevor wrote:
> $browser.button(:name, "_action_delete").click_no_wait
Why are you using click_no_wait?
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.goog
We are not using frames for this.
I had tried using "rows" method as well but thought I was getting the
same error.
I'll have another look at that.
Trevor
On Nov 8, 3:54 pm, Željko Filipin
wrote:
> On Tue, Nov 8, 2011 at 4:49 PM, Trevor wrote:
> > unknown property or method `rows'
>
> I do not
On Tue, Nov 8, 2011 at 4:49 PM, Trevor wrote:
> unknown property or method `rows'
I do not see that you use "rows" method anywhere in your code.
> Access is denied.
This usually means there is a problem with frames:
http://wiki.openqa.org/display/WTR/Frames
Željko
--
watir.com - community man
Hi,
I am trying to delete a load of entries from a table, but am having
problems with iterating through the table.
Basically, I need to delete all entries that have "TM1" included in
the row. The following will run through once and delete one entry, but
then throws the error shown.
Also included a
Hi George,
Each grid provider has a hostname attribute e.g.
grid = Watir::Grid.new(:controller_uri => 'druby://124.180.42.243:11235')
grid.start
grid.browsers
=> [{:name=>:WatirGrid, :class=>:WatirProvider,
:object=>#, :description=>"A watir
provider", *:hostname=>"cpe-124-180-42-243.lns2.lon.b
22 matches
Mail list logo