manage_user
open /billing/callc/logout
verifyElementPresent login_username
verifyCursorPosition login_username 0
open /billing/callc/signup_start/hfttv7bcqt
verifyElementPresent username
verifyCursorPosition username 0
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
uncheck email_sending_enabled
clickAndWait commit
verifyTextPresent Settings saved
open /billing/lcrs/new
type lcr_name LCR_test
clickAndWait commit
verifyTextPresent LCR was successfully created
open /billing/users/edit/0
select user_lcr_id label=LCR_test
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: System Admin
verifyText page_title User settings: System Admin
verifyValue user_username admin
open /billing/users/default_user
select user_lcr_id label=LCR_test
clickAndWait commit
open /billing/users/list
clickAndWait link=Add new
type user_username !!!!
type password_password !!!!1
type address_email admin@example.com
type tax1_name User_tax1
type tax2_name User_tax2
type tax3_name User_tax3
type tax4_name User_tax4
type total_tax_name
click tax2_enabled
click tax3_enabled
click tax4_enabled
type tax1_value 10
type tax2_value 10
type tax3_value 20
type tax4_value 30
type user_first_name test1
type user_last_name test2
type user_clientid test3
type user_agreement_number 0000000006
select agr_date_year label=2009
select agr_date_month label=1
select agr_date_day label=1
type user_language lt
select user[taxation_country] label=Japan
type user_vat_number 12
type user_accounting_number 234
type user_call_limit 234
check allow_loss_calls
click warning_email_active
check warning_email_active
type user[warning_email_balance] 23
uncheck user_generate_invoice
check i1
check i2
check i3
check i4
check i5
check i6
uncheck show_zero_calls
check cyberplat_active
type address_address bla1
type address_postcode bla2
type address_city bla3
type address_county bla4
type address_state bla5
type address_phone bla6
select address[direction_id] label=Angola
type address_mob_phone bla7
type address_fax bla8
check recording_enabled
check recording_forced_enabled
type user_recording_hdd_quota 0.0008
type user_recordings_email lla@llaa.com
check user_generate_invoice
check i1
check i2
check i3
check i4
check i5
check i6
check show_zero_calls
clickAndWait commit
verifyTextPresent User succesfully created
open /billing/users/edit/6
verifyValue password_password
type password_password !!!!!
verifyValue user_username !!!!
verifySelectedLabel user[usertype] user
verifySelectedLabel user_lcr_id LCR_test
verifySelectedLabel user_tariff_id Retail - Test Tariff + 0.1
verifyText user_balance_value 0.0000 USD
verifyValue credit Unlimited
verifyValue unlimited on
verifyValue user_postpaid_1 on
verifyValue user_hidden_1 on
verifyValue allow_loss_calls on
verifyValue user_call_limit 234
verifyValue user_blocked_1 on
verifyValue warning_email_active on
verifyValue user[warning_email_balance] 23.0000
verifyValue user_generate_invoice on
verifyValue i1 on
verifyValue i2 on
verifyValue i3 on
verifyValue i4 on
verifyValue i5 on
verifyValue i6 on
verifyValue show_zero_calls on
verifyValue cyberplat_active on
verifyValue user_first_name test1
verifyValue user_last_name test2
verifyValue user_clientid test3
verifyValue user_agreement_number 0000000006
verifySelectedLabel agr_date_year 2009
verifySelectedLabel agr_date_month 1
verifySelectedLabel agr_date_day 1
verifyValue user_language lt
verifySelectedLabel user[taxation_country] Japan
verifyValue user_vat_number 12
verifyValue user_accounting_number 234
verifyValue tax1_name User_tax1
verifyValue tax2_name User_tax2
verifyValue tax3_name User_tax3
verifyValue tax4_name User_tax4
verifyValue total_tax_name TAX
verifyValue tax2_enabled on
verifyValue tax3_enabled on
verifyValue tax4_enabled on
verifyValue tax1_value 10.0
verifyValue tax2_value 10.0
verifyValue tax3_value 20.0
verifyValue tax4_value 30.0
verifyValue address_address bla1
verifyValue address_postcode bla2
verifyValue address_city bla3
verifyValue address_county bla4
verifyValue address_state bla5
verifySelectedLabel address[direction_id] Angola
verifyValue address_phone bla6
verifyValue address_mob_phone bla7
verifyValue address_fax bla8
verifyValue address_email admin@example.com
verifyValue recording_enabled on
verifyValue recording_forced_enabled on
verifyValue user_recording_hdd_quota 0.0008
verifyValue user_recordings_email lla@llaa.com
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: test1 test2
clickAndWait delete_link_6
assertConfirmation Are you sure?
verifyTextPresent User deleted
open /billing/permissions/list?group_type=accountant
type name !!!!
clickAndWait //input[@type='image']
open /billing/permissions/list?group_type=accountant
clickAndWait //img[@alt='Edit']
click callingcard_pin_2
click callingcard_manage_2
click device_edit_opt_1_2
click device_edit_opt_2_2
click device_edit_opt_3_2
click device_edit_opt_4_2
click device_pin_2
click device_password_2
click voicemail_password_2
click device_create_2
click manage_dids_opt_1_2
click manage_subscriptions_opt_1_2
click tariff_manage_2
click user_create_opt_1_2
click user_create_opt_2_2
click user_create_opt_3_2
click user_create_opt_4_2
click user_create_opt_5_2
click user_create_opt_6_2
click user_create_opt_7_2
click user_create_2
click see_financial_data_2
click device_manage_2
click user_manage_2
click see_financial_data_2
click device_manage_2
click invoices_manage_2
click payments_manage_2
click services_manage_2
click user_manage_2
click vouchers_manage_2
clickAndWait commit
verifyTextPresent Group was updated
open /billing/users/list
clickAndWait link=Add new
type user_username !!!!
type password_password !!!!1
select user_usertype label=accountant
type address_email admin@example.com
clickAndWait commit
verifyTextPresent User succesfully created
clickAndWait //img[@alt='Edit']
type password_password !!!!!
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed:
clickAndWait delete_link_7
assertConfirmation Are you sure?
verifyTextPresent User deleted
open /billing/test/load_delta_sql/acc_groups
waitForElementPresent //body
open /billing/users/list
clickAndWait link=Add new
type user_username !!!!
type password_password !!!!1
select user_usertype label=reseller
type address_email reseller@example.com
clickAndWait commit
verifyTextPresent User succesfully created
clickAndWait edit_link_3
type password_password !!!!!1
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: Test Reseller
open /billing/users/list
clickAndWait delete_link_8
assertConfirmation Are you sure?
verifyTextPresent User deleted
open /billing/users/list
open /billing/users/edit/4
type address_email admin@example.com
clickAndWait //div[@id='confirm_without_message']/input
clickAndWait login_as_link_4
assertConfirmation Are you sure?
verifyTextPresent Logged as: Test Accountant
open /billing/users/list
clickAndWait link=Add new
type user_username !!
type password_password !!1
type address_email admin@example.com
clickAndWait commit
verifyTextPresent User succesfully created
open /billing/users/edit/9
type password_password !!!1
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed:
open /billing/users/list
clickAndWait link=Add new
type user_username !!
type password_password !!1
select user_usertype label=reseller
verifyElementPresent i7
assertElementPresent i5
verifyElementPresent i4
verifyElementPresent i3
clickAndWait commit
waitForTextPresent taken
open /billing/users/list
clickAndWait delete_link_9
assertConfirmation Are you sure?
verifyTextPresent User deleted
open /billing/users/list
clickAndWait link=Add new
type user_username !!
type password_password !!1
select user_usertype label=reseller
verifyElementPresent i7
assertElementPresent i5
verifyElementPresent i4
verifyElementPresent i3
clickAndWait commit
open /billing/users/list
clickAndWait //a[@id='edit_link_10']/img
type address_email example@example.com
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed:
open /billing/users/list
clickAndWait link=Add new
type user_username !!!!!
type password_password !!!!!1
type address_email admin@example.com
clickAndWait commit
verifyTextPresent User succesfully created
open /billing/users/edit/3
type password_password reseller1
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: Test Reseller
open /billing/users/list
clickAndWait delete_link_10
assertConfirmation Are you sure?
verifyTextPresent User deleted
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/list
clickAndWait delete_link_11
assertConfirmation Are you sure?
clickAndWait delete_link_3
assertConfirmation Are you sure?
open /billing/users/new
type user_username !!!!!!
type password_password !!!!!!1
select user_usertype label=reseller
type address_email example@example.com
clickAndWait commit
verifyTextPresent User succesfully created
clickAndWait //img[@alt='Application_key']
assertConfirmation Are you sure?
verifyTextPresent Logged as:
open /billing/tariffs/list
clickAndWait link=New tariff
type tariff_name !!!!!!!!!
clickAndWait commit
open /billing/users/list
clickAndWait link=Add new
type user_username !!
type password_password !!1
type address_email xxx@example.com
clickAndWait commit
verifyTextPresent User succesfully created
clickAndWait //img[@alt='Edit']
type password_password !!!
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed:
clickAndWait delete_link_13
assertConfirmation Are you sure?
verifyTextPresent User deleted
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/list
open /billing/users/hide/12
verifyTextPresent User hidden: !!!!!!
open /billing/users/list
verifyTextNotPresent !!!!!!
open /billing/users/hidden
open /billing/users/hide/12
open /billing/users/list
verifyTextPresent !!!!!!
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/list
open /billing/users/hide/5
verifyTextPresent User hidden: User Resellers
open /billing/users/list
verifyTextNotPresent user_reseller
open /billing/users/hidden
open /billing/users/hide/5
verifyTextPresent User unhidden: User Resellers
open /billing/users/list
verifyTextPresent user_reseller
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/list
clickAndWait //a[@id='edit_link_2']/img
type address_email one
type user_last_name #198
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent Please enter correct email
verifyValue user_first_name Test User
verifyValue user_last_name #198
verifyValue address_email one
type address_email
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: Test User #198
open /billing/users/list
clickAndWait link=Add new
type password_password addd
clickAndWait commit
verifyTextPresent User not created
type user_username admin
type password_password admin
clickAndWait commit
verifyTextPresent User not created
open /billing/users/list
clickAndWait //a[@id='edit_link_2']/img
type user_username
type password_password 342222
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User was not updated
type user_username admin
type password_password eeee
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User was not updated
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
type address_email loko
clickAndWait commit
verifyTextPresent Please enter correct email
type address_email loko@ko.lt
clickAndWait commit
verifyTextPresent Personal details changed
open /billing/users/personal_details
type address_email
clickAndWait commit
verifyTextPresent Personal details changed
open /billing/users/personal_details
type address_email qewf@e
clickAndWait commit
verifyTextPresent User was not updated
type address_email loko_+eee.-@one.yahoo.com
clickAndWait commit
verifyTextPresent Personal details changed
open /billing/callc/logout
open /billing/callc/signup_start/hfttv7bcqt
type username admin_user
type password admin_user1
type password2 admin_user1
type first_name Test_company
type last_name User_last_name
type email test@mail.com
clickAndWait commit
verifyTextPresent Registration succesful
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/destroy/6000
verifyTextPresent Don't be so smart...
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/users/list
verifyElementPresent login_as_link_5
open /billing/users/edit/5
verifyElementPresent login_as_link_5
clickAndWait login_as_link_5
assertConfirmation Are you sure?
verifyTextPresent Logged as: User Resellers
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/functions/login_as_execute?user=2
verifyTextPresent Don't be so smart...
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/edit/12
click user_postpaid_2
uncheck unlimited
type credit 20
clickAndWait //div[@id='confirm_without_message']/input
open /billing/stats/action_log
select action_type label=user_type_change_to
clickAndWait commit
verifyTextPresent user_type_change_to
verifyText data_66 prepaid
verifyText type_66 user_type_change_to
select action_type label=user_credit_change
clickAndWait commit
verifyText type_68 user_credit_change
verifyText data_68 -1.0
verifyText data2_68 20.0
open /billing/users/personal_details
type user_last_name Admin test
type user_first_name System test
clickAndWait commit
verifyTextPresent Personal details changed
verifyTextPresent System Test Admin Test
verifyTextPresent (admin)
open /billing/users/list
verifyText id=usetype_4 accountant (Wholesale)
assertElementPresent usetype_4
mouseOver usetype_4
verifyText WzBoDyI !!!!
mouseOut usetype_4
verifyElementNotPresent WzBoDyI
verifyText usetype_2 user
assertElementPresent usetype_2
mouseOver usetype_2
verifyElementNotPresent WzBoDyI
open /billing/callc/logout
type login_username accountant
type login_psw accountant1
clickAndWait commit
open /billing/users/list
verifyText id=usetype_4 accountant (Wholesale)
assertElementPresent usetype_4
mouseOver usetype_4
verifyElementNotPresent WzBoDyI
verifyText usetype_2 user
assertElementPresent usetype_2
mouseOver usetype_2
verifyElementNotPresent WzBoDyI
open /billing/users/edit/2
verifyElementPresent i7
open /billing/users/new
verifyElementPresent i7
open /billing/users/edit/12
verifyElementPresent user[warning_email_hour]_-1
verifyElementPresent user[warning_email_hour]_0
click warning_email_active
check warning_email_active
verifyValue user[warning_email_hour]_-1 on
click user[warning_email_hour]_0
select date_user_warning_email_hour label=19
clickAndWait //div[@id='confirm_without_message']/input
open /billing/users/edit/12
verifyValue user[warning_email_hour]_0 on
verifyValue user[warning_email_hour]_-1 off
verifySelectedValue date_user_warning_email_hour 19
open /billing/users/personal_details
verifyValue user[warning_email_hour]_-1 on
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/login_as_execute?user=2tt
verifyTextPresent Logged as: Test User #198
open /billing/payments/personal_payments
verifyElementNotPresent notice
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/list
clickAndWait link=System test Admin test
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/list
clickAndWait link=Test Accountant
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/list
clickAndWait link=Test Reseller
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/list
clickAndWait css=#edit_link_4 > img[alt="Edit"]
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/list
clickAndWait css=#edit_link_3 > img[alt="Edit"]
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/list
clickAndWait css=#edit_link_3 > img[alt="Edit"]
clickAndWait commit
assertConfirmation Are you sure?