Okay On Tue 25 Dec, 2018, 1:37 AM Titus Fortner <[email protected] wrote:
> 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 <[email protected]> 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 <[email protected] 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 <[email protected]> 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, > [email protected] 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. > >>>> > > >>>> > [email protected] > >>>> > http://groups.google.com/group/watir-general > >>>> > [email protected] > >>>> > --- > >>>> > 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 [email protected]. > >>>> > 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. > >>>> > >>>> [email protected] > >>>> http://groups.google.com/group/watir-general > >>>> [email protected] > >>>> --- > >>>> 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 [email protected]. > >>>> 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. > > > > [email protected] > > http://groups.google.com/group/watir-general > > [email protected] > > --- > > 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 [email protected]. > > 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. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > --- > 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 [email protected]. > 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. [email protected] http://groups.google.com/group/watir-general [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
