[wtr-general] Re: Watir::Exception::ObjectReadOnlyException after update selenium-webdriver and watir-webdriver

2010-10-13 Thread grzegorz.smaj...@gmail.com
Hi Guys,

I have found the solution and problem.

I was requiring the watir-webdriver from github and I did not pull the
updates from there for few days.

Meantime I have updated gems (watir-webdriver and selenium-
webdrivers). And I think that crashed.. but I am not 100% sure about
that.

So pointing to gems or pulling changes from GitHub solves my problem.

Br,
Grzegorz




On Oct 13, 10:49 am, Jari Bakken jari.bak...@gmail.com wrote:
 On Wed, Oct 13, 2010 at 10:43 AM, grzegorz.smaj...@gmail.com

 grzegorz.smaj...@gmail.com wrote:
  Hi,

  I have updated recently watir-webdriver to 0.1.1 and selenium-
  webdriver to 0.0.29 and all my test failed on textboxes with:

  Watir::Exception::ObjectReadOnlyException

  It was not such a case in watir-webdriver 0.1.0 and selenium-webdriver
  0.0.28.

  Can anyone advice?

 Interesting. Could you provide some example HTML + Ruby code that will
 reproduce the problem? What browser are you using?

-- 
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: UTF8 encode in FireWatir under Mac

2010-07-27 Thread grzegorz.smaj...@gmail.com
Just noticed that Vapir is working very slownly under Mac...any
possibilities to speed it up?
Also I am using in my test startClicker (in FireWatir) it does not
throw an exception so if it will not be found than it proceedes..but
in Vapir..it throws an exception that modal was not found. Any advice
of omitting this behavior?

Sorry for so many questions :)

Br,
GS

On Jul 27, 9:58 am, gs grzegorz.q...@googlemail.com wrote:
 Hi,

 Thanks Ethan... It works like a charm!! :)

 I need to do more test with Vapir to be sure that all tests work like
 with FireWatir.

 Just to be clear. I am wondering about the Vapir updates. Will you
 support it to have all such functionalities as Watir and FireWatir?
 Cause if all will go smoothly than I would think about moving to Vapir
 but would like to have clear view about the point that if new support
 or fix, implementation will be made for FireWatir will you try to
 merge it into Vapir project?

 Br,
 GS

 On Jul 26, 7:26 pm, Ethan notet...@gmail.com wrote:



  I've added a wiki page for this 
  at:http://wiki.github.com/vapir/vapir/getting-started

  On Mon, Jul 26, 2010 at 05:46, gs grzegorz.q...@googlemail.com wrote:
   Hi Ethan,

   Could you provide me with script example how to user vapir?

   As I have installed it (vapir-common, vapir-firefox) and how to
   continue with it?

   Shall I start my script with:

   require 'firewatir'

   ff = FireWatir::Firefox.new

   ?

   Br,
   GS

   On Jul 24, 1:52 am, Ethan notet...@gmail.com wrote:
This is fixed in Vapir-Firefox, an improved fork of firewatir - see the
   page
for that project athttp://vapir.org/anditswiki athttp://
   wiki.github.com/vapir/vapir/

On Fri, Jul 23, 2010 at 11:23, gs grzegorz.q...@googlemail.com wrote:
 Hi,

 I am using Firewatir under Mac

 I've faced an issue with clicking on link:

 ff.link(:text, Löschen).click

 Watir::Exception::UnknownObjectException: Unable to locate element,
 using :text, L\303\266schen

 Does any one has an idea why Löschen is being parsed by firewatir as
 L\303\266schen ?

 And any solution for such a problem?

 Br,
 GS

 --
 Before posting, please readhttp://watir.com/support. In short: search
 before you ask, be nice.

 You received this message because you are subscribed to
http://groups.google.com/group/watir-general
 To post: watir-general@googlegroups.com
 To unsubscribe: 
 watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@goog
  legroups.com
   watir-general%2bunsubscr...@goog legroups.com

   --
   Before posting, please readhttp://watir.com/support. In short: search
   before you ask, be nice.

   You received this message because you are subscribed to
  http://groups.google.com/group/watir-general
   To post: watir-general@googlegroups.com
   To unsubscribe: 
   watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@goog
legroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Multiple lines in textarea

2009-06-08 Thread grzegorz.smaj...@gmail.com

Hi,

I face a problem with putting answers in textarea in new lines

ex:

I have a textarea:

 textarea name=multiChoiceAnswers rows=5 style=width:100%
align=left  

I would like to put into that textarea answers in each line:

[Answer1]
[Answer2]
[Answer3]

When I create an array with answers:
answers = []
answers = [answer1],[answer2],[answer3]

then:
ie.textfield(:name, multiChoiceAnswers).set(answers.each do |item|
puts item end)

I get the fallowing error:

ArgumentError: comparison of String with 128 failed
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
input_elements
.rb:381:in `'
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
input_elements
.rb:381:in `characters_in'
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
input_elements
.rb:368:in `type_by_character'
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
input_elements
.rb:334:in `set'


Can any one advise?


--~--~-~--~~~---~--~~
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 the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---