AssertLDAPConnectionTest
open /web/guest/home/
waitForElementPresent link=Control Panel Control Panel
clickAtAndWait link=Control Panel Control Panel
clickAtAndWait link=Settings Settings
assertPartialText //a[@id='_130_authenticationLink'] Authentication
clickAt //a[@id='_130_authenticationLink'] Authentication
waitForVisible link=LDAP LDAP
clickAt link=LDAP LDAP
waitForVisible //input[@id='_130_ldap.auth.enabledCheckbox'] Enabled
assertChecked //input[@id='_130_ldap.auth.enabledCheckbox'] Enabled
assertText //fieldset[2]/div/div/table/tbody/tr/td[1] Test LDAP 1
clickAtAndWait //img[@alt='Edit'] Edit
clickAt //input[@value='Test LDAP Connection'] Test LDAP Connection
waitForVisible //div[1]/div[2] Liferay has successfully connected to the LDAP server.
waitForText //div[1]/div[2] Liferay has successfully connected to the LDAP server.
assertText //div[1]/div[2] Liferay has successfully connected to the LDAP server.
echo Liferay has successfully connected to the LDAP server.
click //button Close