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 <rajagopalanmadas...@gmail.com> 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:
>>
>> <select id="salutation">
>>   <option>Any</option>
>>   <option>Mr</option>
>> </select>
>>
>> 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 <titusf...@gmail.com 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 <jkot...@gmail.com> 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 from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to