Re: [wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-24 Thread rajagopalan madasami
Okay

On Tue 25 Dec, 2018, 1:37 AM Titus Fortner  Watir 6.16 is now trying to find the option directly without making
> extra wire calls to find the Select List first. It's possible that
> something was missed in our test suite, but we need to actually be
> able to reproduce the issue you are seeing.
>
> http://sscce.org/
>
> ideally you give us a script that we can copy/paste into irb and
> immediately see the issue.
> (this is a great example: https://github.com/watir/watir/issues/841)
>
> On Sun, Dec 23, 2018 at 8:27 AM  wrote:
> >
> > Hi Justin Ko,
> >
> > What other detail you specifically want from me ? Actually the same code
> I am running in WATIR 6.14 and it's running fine but it's throwing error
> when I use WATIR 6.16.
> >
> >
> > On Friday, 21 December 2018 21:07:33 UTC+5:30, Justin Ko wrote:
> >>
> >> Hi Raj,
> >>
> >> I think we still need more details on how to reproduce the problem.
> >>
> >> I do not see anything obviously wrong from the logs. As well, given the
> page:
> >>
> >> 
> >>   Any
> >>   Mr
> >> 
> >>
> >> Selection is working:
> >>
> >> @b.select_list(id: "salutation").select 'Mr'
> >> p @b.select_list(id: "salutation").selected_options.map(&:text)
> >> #=> ["Mr"]
> >>
> >> It would help if you can create an isolated example that reproduces the
> issue.
> >>
> >> Thanks,
> >> Justin
> >>
> >>
> >> On Thursday, December 20, 2018 at 11:52:23 PM UTC-5, rajagopalan
> madasami wrote:
> >>>
> >>> Hi Titus, I have given the details in my last mail. Can you look into
> that ?
> >>>
> >>> On Wed 19 Dec, 2018, 9:43 PM Titus Fortner  
>  Our specs are all passing, so you need to provide a reproducible issue
>  so we can add the use case to our test suite.
> 
>  On Wed, Dec 19, 2018 at 8:50 AM Justin Ko  wrote:
>  >
>  > Can you elaborate on what is not working?
>  >
>  > I get the same behaviour in 6.14 and 6.16 when running the below
> script - ie `browser.select_list.select` does not select anything.
>  >
>  > gem 'watir', '=6.14'
>  > require 'watir'
>  >
>  > browser = Watir::Browser.new
>  > browser.goto 'test_page.html'
>  >
>  > browser.select_list.select('b')
>  > p browser.select_list.selected_options.map(&:text)
>  > #=> ["b"]
>  >
>  > browser.select_list.select
>  > p browser.select_list.selected_options.map(&:text)
>  > #=> ["b"]
>  >
>  > Thanks,
>  > Justin
>  >
>  >
>  > On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5,
> rajagopal...@gmail.com wrote:
>  >>
>  >> hi Titus,
>  >>
>  >> b.select_list().select is not working in 6.16 but it's working
> 6.14.
>  >>
>  >> So I have written
>  >>
>  >> `b.select_list().option.select` and it's working fine. So it's a
> clear bug in WATIR 6.16
>  >
>  > --
>  > --
>  > Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group
> .
>  > In short: search before you ask, be nice.
>  >
>  > watir-...@googlegroups.com
>  > http://groups.google.com/group/watir-general
>  > watir-genera...@googlegroups.com
>  > ---
>  > You received this message because you are subscribed to the Google
> Groups "Watir General" group.
>  > To unsubscribe from this group and stop receiving emails from it,
> send an email to watir-genera...@googlegroups.com.
>  > For more options, visit https://groups.google.com/d/optout.
> 
>  --
>  --
>  Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group
> .
>  In short: search before you ask, be nice.
> 
>  watir-...@googlegroups.com
>  http://groups.google.com/group/watir-general
>  watir-genera...@googlegroups.com
>  ---
>  You received this message because you are subscribed to the Google
> Groups "Watir General" group.
>  To unsubscribe from this group and stop receiving emails from it,
> send an email to watir-genera...@googlegroups.com.
>  For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > --
> > Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group
> .
> > In short: search before you ask, be nice.
> >
> > watir-general@googlegroups.com
> > http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com
> > ---
> > You received this message because you are subscribed to the Google
> Groups "Watir General" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to watir-general+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> 

Re: [wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-24 Thread Titus Fortner
Watir 6.16 is now trying to find the option directly without making
extra wire calls to find the Select List first. It's possible that
something was missed in our test suite, but we need to actually be
able to reproduce the issue you are seeing.

http://sscce.org/

ideally you give us a script that we can copy/paste into irb and
immediately see the issue.
(this is a great example: https://github.com/watir/watir/issues/841)

On Sun, Dec 23, 2018 at 8:27 AM  wrote:
>
> Hi Justin Ko,
>
> What other detail you specifically want from me ? Actually the same code I am 
> running in WATIR 6.14 and it's running fine but it's throwing error when I 
> use WATIR 6.16.
>
>
> On Friday, 21 December 2018 21:07:33 UTC+5:30, Justin Ko wrote:
>>
>> Hi Raj,
>>
>> I think we still need more details on how to reproduce the problem.
>>
>> I do not see anything obviously wrong from the logs. As well, given the page:
>>
>> 
>>   Any
>>   Mr
>> 
>>
>> Selection is working:
>>
>> @b.select_list(id: "salutation").select 'Mr'
>> p @b.select_list(id: "salutation").selected_options.map(&:text)
>> #=> ["Mr"]
>>
>> It would help if you can create an isolated example that reproduces the 
>> issue.
>>
>> Thanks,
>> Justin
>>
>>
>> On Thursday, December 20, 2018 at 11:52:23 PM UTC-5, rajagopalan madasami 
>> wrote:
>>>
>>> Hi Titus, I have given the details in my last mail. Can you look into that ?
>>>
>>> On Wed 19 Dec, 2018, 9:43 PM Titus Fortner >>>
 Our specs are all passing, so you need to provide a reproducible issue
 so we can add the use case to our test suite.

 On Wed, Dec 19, 2018 at 8:50 AM Justin Ko  wrote:
 >
 > Can you elaborate on what is not working?
 >
 > I get the same behaviour in 6.14 and 6.16 when running the below script 
 > - ie `browser.select_list.select` does not select anything.
 >
 > gem 'watir', '=6.14'
 > require 'watir'
 >
 > browser = Watir::Browser.new
 > browser.goto 'test_page.html'
 >
 > browser.select_list.select('b')
 > p browser.select_list.selected_options.map(&:text)
 > #=> ["b"]
 >
 > browser.select_list.select
 > p browser.select_list.selected_options.map(&:text)
 > #=> ["b"]
 >
 > Thanks,
 > Justin
 >
 >
 > On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, 
 > rajagopal...@gmail.com wrote:
 >>
 >> hi Titus,
 >>
 >> b.select_list().select is not working in 6.16 but it's working 6.14.
 >>
 >> So I have written
 >>
 >> `b.select_list().option.select` and it's working fine. So it's a clear 
 >> bug in WATIR 6.16
 >
 > --
 > --
 > Before posting, please read 
 > https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 > In short: search before you ask, be nice.
 >
 > watir-...@googlegroups.com
 > http://groups.google.com/group/watir-general
 > watir-genera...@googlegroups.com
 > ---
 > You received this message because you are subscribed to the Google 
 > Groups "Watir General" group.
 > To unsubscribe from this group and stop receiving emails from it, send 
 > an email to watir-genera...@googlegroups.com.
 > For more options, visit https://groups.google.com/d/optout.

 --
 --
 Before posting, please read 
 https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 In short: search before you ask, be nice.

 watir-...@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-genera...@googlegroups.com
 ---
 You received this message because you are subscribed to the Google Groups 
 "Watir General" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to watir-genera...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails 

Re: [wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-23 Thread rajagopalanmadasami
Hi Justin Ko,

What other detail you specifically want from me ? Actually the same code I 
am running in WATIR 6.14 and it's running fine but it's throwing error when 
I use WATIR 6.16. 


On Friday, 21 December 2018 21:07:33 UTC+5:30, Justin Ko wrote:
>
> Hi Raj,
>
> I think we still need more details on how to reproduce the problem.
>
> I do not see anything obviously wrong from the logs. As well, given the 
> page:
>
> 
>   Any
>   Mr
> 
>
> Selection is working:
>
> @b.select_list(id: "salutation").select 'Mr'
> p @b.select_list(id: "salutation").selected_options.map(&:text)
> #=> ["Mr"]
>
> It would help if you can create an isolated example that reproduces the 
> issue.
>
> Thanks,
> Justin
>
>
> On Thursday, December 20, 2018 at 11:52:23 PM UTC-5, rajagopalan madasami 
> wrote:
>>
>> Hi Titus, I have given the details in my last mail. Can you look into 
>> that ?
>>
>> On Wed 19 Dec, 2018, 9:43 PM Titus Fortner >
>>> Our specs are all passing, so you need to provide a reproducible issue
>>> so we can add the use case to our test suite.
>>>
>>> On Wed, Dec 19, 2018 at 8:50 AM Justin Ko  wrote:
>>> >
>>> > Can you elaborate on what is not working?
>>> >
>>> > I get the same behaviour in 6.14 and 6.16 when running the below 
>>> script - ie `browser.select_list.select` does not select anything.
>>> >
>>> > gem 'watir', '=6.14'
>>> > require 'watir'
>>> >
>>> > browser = Watir::Browser.new
>>> > browser.goto 'test_page.html'
>>> >
>>> > browser.select_list.select('b')
>>> > p browser.select_list.selected_options.map(&:text)
>>> > #=> ["b"]
>>> >
>>> > browser.select_list.select
>>> > p browser.select_list.selected_options.map(&:text)
>>> > #=> ["b"]
>>> >
>>> > Thanks,
>>> > Justin
>>> >
>>> >
>>> > On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, 
>>> rajagopal...@gmail.com wrote:
>>> >>
>>> >> hi Titus,
>>> >>
>>> >> b.select_list().select is not working in 6.16 but it's working 6.14.
>>> >>
>>> >> So I have written
>>> >>
>>> >> `b.select_list().option.select` and it's working fine. So it's a 
>>> clear bug in WATIR 6.16
>>> >
>>> > --
>>> > --
>>> > Before posting, please read 
>>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group
>>> .
>>> > In short: search before you ask, be nice.
>>> >
>>> > watir-...@googlegroups.com
>>> > http://groups.google.com/group/watir-general
>>> > watir-genera...@googlegroups.com
>>> > ---
>>> > You received this message because you are subscribed to the Google 
>>> Groups "Watir General" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to watir-genera...@googlegroups.com.
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
>>> -- 
>>> Before posting, please read 
>>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>>  
>>>
>>> In short: search before you ask, be nice.
>>>
>>> watir-...@googlegroups.com
>>> http://groups.google.com/group/watir-general
>>> watir-genera...@googlegroups.com
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Watir General" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to watir-genera...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-21 Thread Justin Ko
Hi Raj,

I think we still need more details on how to reproduce the problem.

I do not see anything obviously wrong from the logs. As well, given the 
page:


  Any
  Mr


Selection is working:

@b.select_list(id: "salutation").select 'Mr'
p @b.select_list(id: "salutation").selected_options.map(&:text)
#=> ["Mr"]

It would help if you can create an isolated example that reproduces the 
issue.

Thanks,
Justin


On Thursday, December 20, 2018 at 11:52:23 PM UTC-5, rajagopalan madasami 
wrote:
>
> Hi Titus, I have given the details in my last mail. Can you look into that 
> ?
>
> On Wed 19 Dec, 2018, 9:43 PM Titus Fortner   wrote:
>
>> Our specs are all passing, so you need to provide a reproducible issue
>> so we can add the use case to our test suite.
>>
>> On Wed, Dec 19, 2018 at 8:50 AM Justin Ko > > wrote:
>> >
>> > Can you elaborate on what is not working?
>> >
>> > I get the same behaviour in 6.14 and 6.16 when running the below script 
>> - ie `browser.select_list.select` does not select anything.
>> >
>> > gem 'watir', '=6.14'
>> > require 'watir'
>> >
>> > browser = Watir::Browser.new
>> > browser.goto 'test_page.html'
>> >
>> > browser.select_list.select('b')
>> > p browser.select_list.selected_options.map(&:text)
>> > #=> ["b"]
>> >
>> > browser.select_list.select
>> > p browser.select_list.selected_options.map(&:text)
>> > #=> ["b"]
>> >
>> > Thanks,
>> > Justin
>> >
>> >
>> > On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, 
>> rajagopal...@gmail.com wrote:
>> >>
>> >> hi Titus,
>> >>
>> >> b.select_list().select is not working in 6.16 but it's working 6.14.
>> >>
>> >> So I have written
>> >>
>> >> `b.select_list().option.select` and it's working fine. So it's a clear 
>> bug in WATIR 6.16
>> >
>> > --
>> > --
>> > Before posting, please read 
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group
>> .
>> > In short: search before you ask, be nice.
>> >
>> > watir-...@googlegroups.com 
>> > http://groups.google.com/group/watir-general
>> > watir-genera...@googlegroups.com 
>> > ---
>> > You received this message because you are subscribed to the Google 
>> Groups "Watir General" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to watir-genera...@googlegroups.com .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> -- 
>> -- 
>> Before posting, please read 
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>  
>>
>> In short: search before you ask, be nice.
>>
>> watir-...@googlegroups.com 
>> http://groups.google.com/group/watir-general
>> watir-genera...@googlegroups.com 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to watir-genera...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-20 Thread rajagopalan madasami
Hi Titus, I have given the details in my last mail. Can you look into that ?

On Wed 19 Dec, 2018, 9:43 PM Titus Fortner  Our specs are all passing, so you need to provide a reproducible issue
> so we can add the use case to our test suite.
>
> On Wed, Dec 19, 2018 at 8:50 AM Justin Ko  wrote:
> >
> > Can you elaborate on what is not working?
> >
> > I get the same behaviour in 6.14 and 6.16 when running the below script
> - ie `browser.select_list.select` does not select anything.
> >
> > gem 'watir', '=6.14'
> > require 'watir'
> >
> > browser = Watir::Browser.new
> > browser.goto 'test_page.html'
> >
> > browser.select_list.select('b')
> > p browser.select_list.selected_options.map(&:text)
> > #=> ["b"]
> >
> > browser.select_list.select
> > p browser.select_list.selected_options.map(&:text)
> > #=> ["b"]
> >
> > Thanks,
> > Justin
> >
> >
> > On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5,
> rajagopal...@gmail.com wrote:
> >>
> >> hi Titus,
> >>
> >> b.select_list().select is not working in 6.16 but it's working 6.14.
> >>
> >> So I have written
> >>
> >> `b.select_list().option.select` and it's working fine. So it's a clear
> bug in WATIR 6.16
> >
> > --
> > --
> > Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group
> .
> > In short: search before you ask, be nice.
> >
> > watir-general@googlegroups.com
> > http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com
> > ---
> > You received this message because you are subscribed to the Google
> Groups "Watir General" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to watir-general+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-20 Thread rajagopalanmadasami
Titus and Justin,

The line of code I executed
@b.select_list(id: "salutation").select value["User Title"] //value["User 
Title"]="Mr"




Error I get

2018-12-20 15:24:44 WARN Watir [DEPRECATION] ["stale_exists"] Checking 
`#exists? == false` to determine a stale element is deprecated. Use `#stale? == 
true` instead; see explanation for this deprecation: 
http://watir.com/staleness-changes.
Traceback (most recent call last):
 9: from C:/A/Singlife_1302__$change/Latest18062018.rb:29:in `'
 8: from C:/A/Singlife_1302__$change/Latest18062018.rb:29:in `each'
 7: from C:/A/Singlife_1302__$change/Latest18062018.rb:80:in `block in '
 6: from 
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:33:in
 `select'
 5: from 
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:33:in
 `map'
 4: from 
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:33:in
 `block in select'
 3: from 
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:145:in
 `select_by'
 2: from 
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:201:in
 `find_options'
 1: from 
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:218:in
 `rescue in find_options'
C:/Ruby25/lib/ruby/gems/2.5.0/gems/watir-6.16.0/lib/watir/elements/select.rb:223:in
 `raise_no_value_found': "Mr" not found in #"salutation", :tag_name=>"select"}> 
(Watir::Exception::NoValueFoundException)




The gist url for detailed log

https://gist.github.com/Rajagopalan-M/61f46359b9bdf3b76dc472a09271b13b




On Wednesday, 19 December 2018 20:20:20 UTC+5:30, Justin Ko wrote:
>
> Can you elaborate on what is not working?
>
> I get the same behaviour in 6.14 and 6.16 when running the below script - 
> ie `browser.select_list.select` does not select anything.
>
> gem 'watir', '=6.14'
> require 'watir'
>
> browser = Watir::Browser.new
> browser.goto 'test_page.html'
>
> browser.select_list.select('b')
> p browser.select_list.selected_options.map(&:text)
> #=> ["b"]
>
> browser.select_list.select
> p browser.select_list.selected_options.map(&:text)
> #=> ["b"]
>
> Thanks,
> Justin
>
>
> On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, 
> rajagopal...@gmail.com wrote:
>>
>> hi Titus,
>>
>> b.select_list().select is not working in 6.16 but it's working 6.14. 
>>
>> So I have written 
>>
>> `b.select_list().option.select` and it's working fine. So it's a clear 
>> bug in WATIR 6.16
>>
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-19 Thread Titus Fortner
Our specs are all passing, so you need to provide a reproducible issue
so we can add the use case to our test suite.

On Wed, Dec 19, 2018 at 8:50 AM Justin Ko  wrote:
>
> Can you elaborate on what is not working?
>
> I get the same behaviour in 6.14 and 6.16 when running the below script - ie 
> `browser.select_list.select` does not select anything.
>
> gem 'watir', '=6.14'
> require 'watir'
>
> browser = Watir::Browser.new
> browser.goto 'test_page.html'
>
> browser.select_list.select('b')
> p browser.select_list.selected_options.map(&:text)
> #=> ["b"]
>
> browser.select_list.select
> p browser.select_list.selected_options.map(&:text)
> #=> ["b"]
>
> Thanks,
> Justin
>
>
> On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, rajagopal...@gmail.com 
> wrote:
>>
>> hi Titus,
>>
>> b.select_list().select is not working in 6.16 but it's working 6.14.
>>
>> So I have written
>>
>> `b.select_list().option.select` and it's working fine. So it's a clear bug 
>> in WATIR 6.16
>
> --
> --
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Re: b.select_list.select is not working in 6.16

2018-12-19 Thread Justin Ko
Can you elaborate on what is not working?

I get the same behaviour in 6.14 and 6.16 when running the below script - 
ie `browser.select_list.select` does not select anything.

gem 'watir', '=6.14'
require 'watir'

browser = Watir::Browser.new
browser.goto 'test_page.html'

browser.select_list.select('b')
p browser.select_list.selected_options.map(&:text)
#=> ["b"]

browser.select_list.select
p browser.select_list.selected_options.map(&:text)
#=> ["b"]

Thanks,
Justin


On Wednesday, December 19, 2018 at 5:45:43 AM UTC-5, rajagopal...@gmail.com 
wrote:
>
> hi Titus,
>
> b.select_list().select is not working in 6.16 but it's working 6.14. 
>
> So I have written 
>
> `b.select_list().option.select` and it's working fine. So it's a clear bug 
> in WATIR 6.16
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.