2012-06-22 26 views
0

我有一個Web表單,我試圖通過代碼使用HtmlUnit來填寫。與HtmlUnit列表項互動項目

我被困在與列表項目的交互階段。我需要在網頁表單中的數據顯示給用戶,然後選擇值,但唯一的方法可以根據API是:

String getTypeAttribute() - Returns the value of the attribute "type". 
String getValueAttribute() - Returns the value of the attribute "value". 

如何去選擇列表中,它顯示給用戶,然後接受他們的輸入並將其設置在表單上?

回答

0

確定有一個htmlselect,我忽略了十次:D對不起!