registration
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
click //div[@name='api']
assertText id=uniquehash hfttv7bcqt
open /billing/test/load_delta_sql/sql/update_currencies
open /billing/users/default_user
type id=user_balance 20
clickAndWait name=commit
waitForTextPresent Default User saved
open /billing/functions/settings
click send_email_to_user_after_registration
click send_email_to_admin_after_registration
clickAndWait commit
open /billing/callc/logout
clickAndWait link=here
verifyTextPresent Account details
type username ${@print(md5(acunetix)
type password 1111111
type password2 1111111
type first_name 111111
type last_name 111111
clickAndWait commit
verifyTextPresent Please enter correct email
verifyValue username ${@print(md5(acunetix)
verifyValue password 1111111
verifyValue password2 1111111
verifyValue first_name 111111
verifyValue last_name 111111
type email Test@email.com
clickAndWait commit
verifyTextPresent Thank you for registering!
open /billing/callc/logout
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/users/default_user
clickAndWait name=commit
waitForTextPresent Default User saved
open /billing/functions/reseller_settings
check registration_enabled
check show_logo_on_register_page
clickAndWait commit
open /billing/callc/logout
open /billing/callc/signup_start/qg2audn8qa
verifyTextPresent Account details
type username 222222
type password 2222221
type password2 2222221
type first_name 222222
type last_name 222222
type email test2@email.com
clickAndWait commit
verifyTextPresent Thank you for registering!
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
refreshAndWait
waitForElementPresent link=Manual
waitForElementPresent //div[@id='tabTabdhtmlgoodies_tabView1_1']/span
click //div[@id='tabTabdhtmlgoodies_tabView1_1']/span
click enable_recaptcha
clickAndWait commit
verifyTextPresent Settings saved
open /billing/users/list
assertText id=balance_6 20.0000
open /billing/users/default_user
select id=user[currency_id] label=DZD
clickAndWait name=commit
assertTextPresent saved
open /billing/callc/logout
clickAndWait link=here
type username 333333
type password 3333331
type password2 3333331
type first_name 333333
type last_name 333333
type email test3@example.com
keyUp email w
pause 30000
clickAndWait commit
waitForTextPresent Please enter captcha
verifyValue username 333333
verifyValue password 3333331
verifyValue password2 3333331
verifyValue first_name 333333
verifyValue last_name 333333
verifyValue email test3@example.com
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
check email_sending_enabled
uncheck registration_enabled
uncheck enable_recaptcha
clickAndWait commit
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
check registration_enabled
clickAndWait commit
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/functions/reseller_settings
verifyElementPresent reseller_registration_url
type email_smtp_server smtttttp.gmail.com
clickAndWait commit
storeValue reseller_registration_url2 res_url
open /billing/callc/logout
open /billing${res_url}
type username ${@print(md5(test_r_email)
type password test_r_email1
type password2 test_r_email1
type first_name test_r_email
type last_name test_r_email
type email test_r_email@kolmisoft.lt
clickAndWait commit
verifyTextPresent Registration succesful
verifyTextPresent PIN:
verifyElementPresent pin
open /billing/callc/login
open /billing${res_url}
type username test_r_emailč
type password test_r_emailč1
type password2 test_r_emailč1
type first_name test_r_emailč
type last_name test_r_emailč
type email test_r_email@kolmisoft.lt
clickAndWait commit
verifyTextPresent This email address is already in use.
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
waitForElementPresent //div[@id='tabTabdhtmlgoodies_tabView1_4']/span
click //div[@id='tabTabdhtmlgoodies_tabView1_4']/span
type email_smtp_server
clickAndWait commit
click send_email_to_user_after_registration
click send_email_to_admin_after_registration
type asterisk_server_ip
clickAndWait commit
open /billing/users/list
assertText id=username_6 ${@print(md5(acunetix)
open /billing/callc/logout
clickAndWait link=here
type username aaaaaaa
type password aaaaaaaaaaa1
type password2 aaaaaaaaaaa1
type first_name aaaaa
type last_name aaa
type email aa@a.com
clickAndWait commit
verifyTextPresent Email has not been sent because of bad system configurations
open /billing/callc/logout
clickAndWait link=here
waitForElementPresent username
type username bbbbbbbbbb
type password bbbbbbbbbb1
type password2 bbbbbbbbbb1
type first_name bbbb
type last_name bbbb
type email aa@a.com
clickAndWait commit
waitForTextPresent This email address is already in use.
open /billing/callc/logout
verifyElementNotPresent link=Forgot Password
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
type email_smtp_server smtp.gmail.com
click id=show_forgot_password
clickAndWait commit
open /billing/callc/logout
verifyElementPresent link=Forgot Password
click link=Forgot Password
waitForElementPresent email_c
type email_c aa@a.com
open /billing/callc/logout
verifyElementPresent link=Forgot Password
click link=Forgot Password
waitForElementPresent email_c
type email_c bbbbbbvvvv
click click_commit
click //input[@name='commit' and @value='Check email']
waitForText //div[@id='email_result']/b Email not found
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
type email_smtp_server smtp.gmail.comvvvv
clickAndWait commit
open /billing/users/list
assertText id=balance_6 20.0000
assertText id=balance_9 20.0000
open /billing/payments/list
assertText id=amount_10 20.0000
assertText id=amount_11 20.0000
assertText id=currency_10 USD
assertText id=currency_11 USD
open /billing/callc/logout
verifyElementPresent link=Forgot Password
click link=Forgot Password
waitForElementPresent email_c
type email_c aa@a.com
click click_commit
click //input[@name='commit' and @value='Check email']
waitForElementPresent email_result
waitForTextPresent Cannot change password
open /billing/callc/logout
type login_username aaaaaaa
type login_psw aaaaaaaaaaa1
clickAndWait commit
assertTextPresent logged
open /billing/users/personal_details
assertText id=balance 80.0000 DZD
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
assertTextPresent logged
open /billing/users/list
assertTextPresent ${@print(md5(test_r_email)