2 Replies Latest reply on Jun 3, 2010 2:16 PM by easy rider

    How can i select a value in dropdown list per JSFUnit?

    easy rider Newbie



      I would like to change a value in dropdown list with id "items".



      The following causes error


      client.setValue("items", "1");


      java.lang.IllegalArgumentException: This method can not be used on components of type com.gargoylesoftware.htmlunit.html.HtmlSelect


      I've tried:




      It causes no error and no effect as well.


      Is there any possibility to solve it?



      Thanx in advance