ConfigureServerAdministrationMailTest
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'] pop.gmail.com
type //input[@id='_137_pop3Port'] 995
assertNotChecked //input[@id='_137_pop3SecureCheckbox'] Use a Secure Network Connection
clickAt //input[@id='_137_pop3SecureCheckbox'] Use a Secure Network Connection
assertChecked //input[@id='_137_pop3SecureCheckbox'] Use a Secure Network Connection
type //input[@id='_137_pop3User'] liferay.qa.server.60x@gmail.com
type //input[@id='_137_pop3Password'] loveispatient
type //input[@id='_137_smtpHost'] smtp.gmail.com
type //input[@id='_137_smtpPort'] 465
assertNotChecked //input[@id='_137_smtpSecureCheckbox'] Use a Secure Network Connection
click //input[@id='_137_smtpSecureCheckbox'] Use a Secure Network Connection
assertChecked //input[@id='_137_smtpSecureCheckbox'] Use a Secure Network Connection
type //input[@id='_137_smtpUser'] liferay.qa.server.60x@gmail.com
type //input[@id='_137_smtpPassword'] loveispatient
clickAtAndWait //input[@value='Save'] Save
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
assertValue //input[@id='_137_pop3Host'] pop.gmail.com
assertValue //input[@id='_137_pop3Port'] 995
assertChecked //input[@id='_137_pop3SecureCheckbox']
assertValue //input[@id='_137_pop3User'] liferay.qa.server.60x@gmail.com
assertValue //input[@id='_137_pop3Password'] loveispatient
assertValue //input[@id='_137_smtpHost'] smtp.gmail.com
assertValue //input[@id='_137_smtpPort'] 465
assertChecked //input[@id='_137_smtpSecureCheckbox']
assertValue //input[@id='_137_smtpUser'] liferay.qa.server.60x@gmail.com
assertValue //input[@id='_137_smtpPassword'] loveispatient