protected void setInputElementValue ( Node element , FormInput input ) { LOGGER . debug ( "INPUTFIELD: {} ({})" , input . getIdentification ( ) , input . getType ( ) ) ; if ( element == null || input . getInputValues ( ) . isEmpty ( ) ) { return ; } try { switch ( input . getType ( ) ) { case TEXT : case TEXTAREA : case PASSWORD : handleText ( input ) ; break ; case HIDDEN : handleHidden ( input ) ; break ; case CHECKBOX : handleCheckBoxes ( input ) ; break ; case RADIO : handleRadioSwitches ( input ) ; break ; case SELECT : handleSelectBoxes ( input ) ; } } catch ( ElementNotVisibleException e ) { LOGGER . warn ( "Element not visible, input not completed." ) ; } catch ( BrowserConnectionException e ) { throw e ; } catch ( RuntimeException e ) { LOGGER . error ( "Could not input element values" , e ) ; } }
Fills in the element with the InputValues for input