From: Marc G. <mgu...@ya...> - 2005-06-03 10:50:35
|
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 > |