From: Jean-Philippe H. <te...@ya...> - 2005-06-04 15:13:57
|
Thanks Marc, I will do it on Monday. BR. --- Marc Guillemot <mgu...@ya...> a écrit : > Hi Jean-Philippe, > > this is a bug. > Can you open a bug issue on sourceforge? > > Marc. > > Jean-Philippe HILAIRE wrote: > > Sorry Marc, > > this is the good code. > > > > HtmlSelect testSelect= > > thisForm.getSelectByName(TEST_SELECT_NAME); > > > assertTrue(testSelect.isMultipleSelectEnabled());//OK > > HtmlOption testOption = > > testSelect.getOptionByValue("002"); > > testOption.click(); > > assertTrue(testOption.isSelected());//KO > > > > > > --- Marc Guillemot <mgu...@ya...> a écrit : > > > > > >>Hi, > >> > >>what is "localengine"? > >> > >>Marc. > >> > >>Jean-Philippe HILAIRE wrote: > >> > >>>Hello guys, > >>> > >>>i have some trouble with mutiple select > >>> > >>>the select is send in html like this. > >>> > >>><select name="test" multiple="multiple"size="5" > >>>class="SeHeaderListDb"> > >>><option value="000" > >> > >>selected="selected">All</option> > >> > >>><option value="001">test 1</option> > >>><option value="002">test 2</option> > >>><option value="003">test 3</option> > >>><option value="004">test 4</option> > >>></select> > >>> > >>>the default option selected is the first one. > >>> > >>>when i use this code: > >>> > >>> HtmlSelect testSelect = > >>>thisForm.getSelectByName(TEST_SELECT_NAME); > >>> > assertTrue(testSelect.isMultipleSelectEnabled()); > >>>//OK > >>> HtmlOption testOption = > >>>testSelect.getOptionByValue("002"); > >>> localengine.click(); > >>> assertTrue(testOption.isSelected());//KO > >>> > >>>the test fails. > >>> > >>>I did something wrong or it's the htmlunit > >> > >>behavior ?? > >> > >>>thanks in advance!! > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >> > > > _____________________________________________________________________________ > > > >>>Découvrez le nouveau Yahoo! Mail : 1 Go d'espace > >> > >>de stockage pour vos mails, photos et vidéos ! > >> > >>>Créez votre Yahoo! Mail sur > >> > >>http://fr.mail.yahoo.com > >> > >>> > >>> > > > ------------------------------------------------------- > > > >>>This SF.Net email is sponsored by Yahoo. > >>>Introducing Yahoo! Search Developer Network - > >> > >>Create apps using Yahoo! > >> > >>>Search APIs Find out how you can build Yahoo! > >> > >>directly into your own > >> > >>>Applications - visit > >> > > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > > >>>_______________________________________________ > >>>Htmlunit-user mailing list > >>>Htm...@li... > >>> > >> > > > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > >> > >> > >> > > > ------------------------------------------------------- > > > >>This SF.Net email is sponsored by Yahoo. > >>Introducing Yahoo! Search Developer Network - > Create > >>apps using Yahoo! > >>Search APIs Find out how you can build Yahoo! > >>directly into your own > >>Applications - visit > >> > > > > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > > >>_______________________________________________ > >>Htmlunit-user mailing list > >>Htm...@li... > >> > > > > > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > > > > > > > > > > > > > > > > _____________________________________________________________________________ > > > Découvrez le nouveau Yahoo! Mail : 1 Go d'espace > de stockage pour vos mails, photos et vidéos ! > > Créez votre Yahoo! Mail sur > http://fr.mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - > Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! > directly into your own > > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > How far can you shotput > a projector? How fast can you ride your desk chair > down the office luge track? > If you want to score the big prize, get to know the > little guy. > Play to win an NEC 61" plasma display: > http://www.necitguy.com/?r=20 > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > _____________________________________________________________________________ Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com |