Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-13 Thread ppilotte
I get the same error message on Windows XP SP3. 

Anyone has fond a fix or workaround for this?

Thanks.
ppilotte

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


Re: [wtr-general] select_list issue -> wrong number of arguments (1 for 0) (ArgumentError)

2012-09-13 Thread Željko Filipin
On Thu, Sep 13, 2012 at 6:09 AM, Barry Horgan  wrote:
> self.redemptionList.select 'Single'

Try this (I do not think you need "self" here):

redemptionList = 'Single'

More information:

https://github.com/cheezy/page-object/wiki/Elements

Željko
--
filipin.eu

-- 
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] Error message when trying to select a text with the text "GW E&B stuurgroep"

2012-09-13 Thread CrazyFrog
When i want to select the text "GW E&B stuurgroep" from a text box then i 
get an error message

I use the follow code to select the text : $browser.element(:id => 
"myDropdownbox").to_subtype.select "GW E&B stuurgroep"

The error message that i get is : ERROR: "GW\u00A0E&B\u00A0Stuurgroep" not 
found in select list (Watir::Exception::NoValueFoundException)

How can i solve this problem?

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


Re: [wtr-general] Error message when trying to select a text with the text "GW E&B stuurgroep"

2012-09-13 Thread Željko Filipin
On Thu, Sep 13, 2012 at 12:30 PM, CrazyFrog  wrote:
> I use the follow code to select the text : $browser.element(:id =>
"myDropdownbox").to_subtype.select "GW E&B stuurgroep"

Ask the select list to tell you what options it has:

$browser.element(:id => "myDropdownbox").to_subtype.options

Željko
--
filipin.eu

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


Re: [wtr-general] Error message when trying to select a text with the text "GW E&B stuurgroep"

2012-09-13 Thread CrazyFrog
Željko

how can this solve my problem? i don't understand how i can use this.
Can you gave me a short example?

CrazyFrog

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


Re: [wtr-general] Error message when trying to select a text with the text "GW E&B stuurgroep"

2012-09-13 Thread Željko Filipin
On Thu, Sep 13, 2012 at 2:41 PM, CrazyFrog  wrote:
> how can this solve my problem? i don't understand how i can use this.
> Can you gave me a short example?

You can ask the select list for it's options with this:

p $browser.element(:id => "myDropdownbox").to_subtype.options

Then you will know what to select. Let me know if you have more questions.

Željko

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


Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-13 Thread smile-on
I have got exactly same error after upgrade watir (watir-classic) from 
3.0.0 to latest and grates 3.1.0 :)
After downgrade this problem has gone.

downgrade steps:

gem uninstall watir-classic -v 3.1.0
gem install watir-classic -v 3.0.0
gem uninstall win32-process -v 0.7.0
gem install win32-process -v 0.6.6


On Friday, 7 September 2012 17:49:04 UTC-4, Željko Filipin wrote:
>
> On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio 
> > 
> wrote:
> > ffi (1.1.5)
> > C:/Ruby193/lib/ruby/gems/1.9.1/gems/*watir-classic-3.1.0/*lib/watir-classic/browser.rb:89:in
> >  
> `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError)
>
> This looks like a problem with ffi gem. We had problems with that gem 
> before. Try upgrading or downgrading the gem. Let us know if you do not 
> know how to do that.
>
> Željko
> --
> filipin.eu 
>  

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