Class com.ibm.ws.security.fat.common.web.WebFormUtilsTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
test_assertPageContainsAtLeastOneForm_emptyList | 0.002s | passed |
test_assertPageContainsAtLeastOneForm_multipleEntries | 0.002s | passed |
test_assertPageContainsAtLeastOneForm_nullList | 0.001s | passed |
test_assertPageContainsAtLeastOneForm_singleEntry | 0.001s | passed |
test_fillAndSubmitCredentialForm_formMissingElement | 0.010s | passed |
test_fillAndSubmitCredentialForm_nullUsername_nullPassword | 0.008s | passed |
test_getAndSetInputField_elementNotFound | 0.002s | passed |
test_getAndSetInputField_emptyInputName_nullValue | 0.006s | passed |
test_getAndSetInputField_nullInputName_nullValue | 0.002s | passed |
test_getAndSetPasswordField_nullPassword | 0.004s | passed |
test_getAndSetPasswordField_passwordInputElementNotFound | 0.001s | passed |
test_getAndSetUsernameField_nullUsername | 0.004s | passed |
test_getAndSetUsernameField_usernameInputElementNotFound | 0.002s | passed |
test_getAndSubmitLoginForm_invalidForm | 0.144s | passed |
test_getAndSubmitLoginForm_nullLoginPage | 0.015s | passed |
test_getAndSubmitLoginForm_succeeds | 0.083s | passed |
test_getAndValidateLoginForm_invalidFormAction | 0.003s | passed |
test_getAndValidateLoginForm_noForms | 0.002s | passed |
test_getAndValidateLoginForm_validFormAction | 0.002s | passed |
test_submitForm_elementNotFound | 0.002s | passed |
test_submitForm_emptySubmitButtonValue | 0.002s | passed |
test_submitForm_nullSubmitButtonValue | 0.002s | passed |
test_validateLoginPageFormAction_actionAttributeIsSuperstring | 0.002s | passed |
test_validateLoginPageFormAction_emptyActionAttribute | 0.003s | passed |
test_validateLoginPageFormAction_nullActionAttribute | 0.003s | passed |
test_validateLoginPageFormAction_validActionAttribute | 0.002s | passed |
Standard output
SharedOutputManager captured the following: -- System.out ------------------------------------------------- -- System.err ------------------------------------------------- -- Messages ------------------------------------------------- -- Trace -------------------------------------------------
Standard error
Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: testuser Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: testuserpwd Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: user Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: password Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_username": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "j_password": htmlInput Apr 01, 2020 6:12:36 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null Apr 01, 2020 6:12:37 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Found input field for name "": htmlInput Apr 01, 2020 6:12:37 PM com.ibm.ws.security.fat.common.web.WebFormUtils getAndSetInputField INFO: Setting input value to: null