TearDownServerTest
open /web/guest/home/
waitForElementPresent link=Control Panel Control Panel
clickAtAndWait link=Control Panel Control Panel
clickAtAndWait link=Server Administration Server Administration
clickAtAndWait link=Mail Mail
type //input[@id='_137_pop3Host']
type //input[@id='_137_pop3Port']
store eval(selenium.isChecked('_137_pop3SecureCheckbox')) popSecureChecked
gotoIf !${popSecureChecked} PopSecureNotChecked
clickAt //input[@id='_137_pop3SecureCheckbox'] Use a Secure Network Connection
label PopSecureNotChecked
type //input[@id='_137_pop3User']
type //input[@id='_137_pop3Password']
type //input[@id='_137_smtpHost']
type //input[@id='_137_smtpPort']
store eval(selenium.isChecked('_137_smtpSecureCheckbox')) smtpSecureChecked
gotoIf !${smtpSecureChecked} SmtpSecureNotChecked
click //input[@id='_137_smtpSecureCheckbox'] Use a Secure Network Connection
label SmtpSecureNotChecked
type //input[@id='_137_smtpUser']
type //input[@id='_137_smtpPassword']
clickAtAndWait //input[@value='Save'] Save
open /web/guest/home/
waitForElementPresent link=Control Panel Control Panel
clickAtAndWait link=Control Panel Control Panel
clickAtAndWait link=Portal Instances Portal Instances
assertText //td[2]/a liferay.com
clickAtAndWait //td[2]/a liferay.com
type //input[@id='_135_virtualHostname'] localhost
type //input[@id='_135_mx'] liferay.com
type //input[@id='_135_maxUsers'] 0
clickAtAndWait //input[@value='Save'] Save