forgot_password
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
click //div[@name='visual']
check show_forgot_password
clickAndWait commit
waitForTextPresent Settings saved
click //div[@name='emails']
click email_sending_enabled
clickAndWait commit
waitForTextPresent Settings saved
open /billing/users/edit/0
type address_email aaaa@aaaa.com
clickAndWait //div[@id='confirm_without_message']/input
waitForTextPresent User's settings succesfully changed
open /billing/users/edit/3
type address_email bbbb@bbbb.com
clickAndWait //div[@id='confirm_without_message']/input
waitForTextPresent User's settings succesfully changed
open /billing/callc/logout
type login_username reseller
type login_psw awsdfghjkl
clickAndWait commit
waitForTextPresent Bad username and/or password
verifyTextPresent Forgot Password
click link=Forgot Password
waitForElementPresent email_c
waitForElementPresent id=click_commit
type email_c bbbb@bbbb.com
click id=click_commit
keyPress id=click_commit w
open /billing/callc/logout
type login_username admin
type login_psw qwesrdthfyukio
clickAndWait commit
waitForTextPresent Bad username and/or password
verifyTextPresent Forgot Password
click link=Forgot Password
waitForElementPresent email_c
waitForElementPresent id=click_commit
type email_c aaaa@aaaa.com
click id=click_commit
keyUp id=click_commit w
waitForTextPresent Cannot change password