permissions_user
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/for_permissions_test
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/Accounting/generate_invoices
waitForTextPresent Notice that when generating invoices global timezone will be applied, so depending on your timezone settings some statistics may differ Please select period to generate invoices
verifyElementPresent date_from_year
open /billing/functions/settings
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Visual
open /billing/users/default_user
waitForTextPresent Username
verifyElementPresent user_username
open /billing/functions/settings_payments
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Ouroboros
open /billing/functions/settings_logo
waitForTextPresent Logo settings
verifyElementPresent id=logo
open /billing/functions/translations
waitForTextPresent Sorting - Drag&Drop translation to its new place
open /billing/permissions/group_edit/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=name
open /billing/permissions/group_destory/1
waitForTextPresent You are not authorized to view this page
open /billing/emails/list
waitForTextPresent Created
open /billing/emails/list_users/15
verifyTextPresent Date
open /billing/backups/backup_manager
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent link=New Backup
open /billing/backups/backup_new
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=comment
open /billing/backups/backup_download/1
waitForTextPresent You are not authorized to view this page
open /billing/backups/backup_restore/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Backup Manager
open /billing/functions/integrity_check
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Destinations not assigned to Destination Groups
open /billing/servers/list
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Asterisk Servers
open /billing/providers/list
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent New Provider
open /billing/providers/edit/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=provider_name
open /billing/stats/providers_calls/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=date_from_year
open /billing/providers/provider_rules/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Provider rules
open /billing/providers/provider_rule_edit/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=name
open /billing/providers/provider_rule_destroy/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Rule deleted
open /billing/providers/destroy/1
waitForTextPresent You are not authorized to view this page
open /billing/providers/terminators
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=name
open /billing/providers/terminator_edit/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=terminator_name
open /billing/providers/terminator_providers/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent name=provider_id
open /billing/providers/terminator_destory/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Terminator deleted
open /billing/lcrs/details_by_destinations/1?no_direction=true
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Add new destinations
open /billing/lcrs/details/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent System Admin
open /billing/lcrs/edit/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=lcr_name
open /billing/lcrs/providers_list/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=name_1
open /billing/lcrs/remove_provider/1?prov=1
waitForTextPresent You are not authorized to view this page
open /billing/lcrs/destroy/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent LCR
open /billing/tariffs/list
waitForTextPresent Retail tariffs
verifyElementPresent link=New tariff
open /billing/tariffs/new
waitForTextPresent User retail
verifyElementPresent id=tariff_name
open /billing/tariffs/rates_list/3
waitForTextPresent Tariff: tariff
open /billing/tariffs/rate_details/503
waitForTextPresent Afghanistan 93 FIX
verifyElementPresent start_time_503
open /billing/tariffs/ratedetail_edit/503
waitForTextPresent Tariff:
verifyElementPresent id=ratedetail_end_time
open /billing/tariffs/import_csv/6
waitForTextPresent Please select CSV file with rates to import:
verifyElementPresent file
open /billing/tariffs/delete_all_rates/6
waitForTextPresent All rates deleted
verifyElementPresent name_6
open /billing/tariffs/make_user_tariff/3
waitForTextPresent Provider tariff
verifyElementPresent id=add_amount
open /billing/tariffs/generate_provider_rates_pdf/3?test=1
waitForTextPresent Rates-USD.pdf
open /billing/tariffs/generate_providers_rates_csv/3?test=1
waitForTextPresent Direction,Destination,Prefix,Subcode,Country code,Rate(USD),Connection Fee(USD),Increment,Minimal Time,Start Time,End Time,Week Day
open /billing/tariffs/tariffs_list/3
waitForTextPresent Tariff:
verifyElementPresent link=tariff
open /billing/tariffs/edit/3
waitForTextPresent Tariff
verifyElementPresent id=tariff_name
open /billing/tariffs/user_rates_list/3
waitForTextPresent Tariff
verifyElementPresent id=name_0
open /billing/tariffs/generate_user_rates_pdf/3?test=1
waitForTextPresent File rendered
open /billing/tariffs/generate_user_rates_csv/3?test=1
waitForTextPresent Destination,Subcode,Rate(USD),Round
open /billing/tariffs/tariffs_list/3
waitForTextPresent Tariff
verifyElementPresent link=tariff
open /billing/tariffs/day_setup
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent date_year
open /billing/directions/destination_list/7
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Anguilla mobile
open /billing/directions/destination_new/7
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=destination_prefix
open /billing/directions/destination_stats/7
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=date_from_month
open /billing/directions/edit/7
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=direction_name
open /billing/directions/destroy/7
waitForTextPresent You are not authorized to view this page
open /billing/directions/destination_groups_list
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Afghanistan
open /billing/directions/dg_list_destinations/1
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Afghanistan
open /billing/directions/dg_new_destinations/1?st=A
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent Afghanistan FIX
open /billing/directions/destination_group_stats/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=date_from_month
open /billing/directions/destination_group_edit/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=dg_name
open /billing/directions/destination_group_destroy/1
waitForTextPresent You are not authorized to view this page
open /billing/directions/destination_group_new/
waitForTextPresent You are not authorized to view this page
open /billing/directions/destination_group_update/1
waitForTextPresent You are not authorized to view this page
open /billing/directions/dg_add_destinations/1
waitForTextPresent You are not authorized to view this page
open /billing/directions/dg_destination_delete/1
waitForTextPresent You are not authorized to view this page
open /billing/directions/dg_list_user_destinations/1
waitForTextPresent You are not authorized to view this page
open /billing/dids/list
waitForTextPresent DID:
verifyElementPresent s_did
open /billing/dids/new
verifyElementNotPresent id=did_did
open /billing/dids/bulk_management
waitForTextPresent Which DIDs:
verifyElementPresent id=did_start
open /billing/dids/did_rates/3
waitForTextNotPresent You are not authorized to view this page
open /billing/dids/edit/3
waitForTextPresent Current status
verifyElementPresent did_language
open /billing/dialplans/dialplans
verifyTextNotPresent You are not authorized to view this page
verifyElementPresent link=New Dial Plan
open /billing/dialplans/new
verifyTextPresent Authorization by PIN Dial Plan
verifyElementPresent name_2
open /billing/dialplans/edit/7
verifyTextPresent Authorization by PIN Dial Plan
verifyElementPresent id=dialplan[name]
open /billing/dialplans/list_extlines/7
verifyTextPresent Extlines for
open /billing/functions/pbx_functions
waitForTextPresent Extension
verifyElementPresent id=ext
open /billing/functions/pbx_function_edit/8
waitForTextPresent Extension
verifyElementPresent dialplan[ext]
open /billing/functions/pbx_function_destroy/8
waitForTextPresent PBX function deleted
open /billing/functions/settings_vm
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=vm_retrieve_extension
open /billing/phonebooks/list
verifyTextPresent JON
verifyElementPresent id=phonebook_name
open /billing/phonebooks/edit/2
waitForTextPresent Name
verifyElementPresent phonebook_name
open /billing/ivr/list_voice
waitForTextPresent You are not authorized to view this page
verifyTextNotPresent IVR Voice
open /billing/ivr/new_voice
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=ivr[voice]
open /billing/ivr/edit_voice/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=voice[description]
open /billing/ivr/destroy_sound_file/6
waitForTextPresent You are not authorized to view this page
open /billing/ivr/destroy_voice/1
waitForTextPresent You are not authorized to view this page
open /billing/ivr/list_timeperiod
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent link=New Time Period
open /billing/ivr/new_timeperiod
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=period_name
open /billing/ivr/edit_timeperiod/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=period_name
open /billing/ivr/destroy_timeperiod/1
waitForTextPresent You are not authorized to view this page
open /billing/ivr/list_ivr
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent link=New IVR
open /billing/ivr/new_ivr
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=ivr_name
open /billing/ivr/edit_ivr/1
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=ivr_name
open /billing/ivr/destroy_ivr/1
waitForTextPresent You are not authorized to view this page
open /billing/cdr/import_csv
waitForTextPresent Please select CSV file with CDRs to import
verifyElementPresent file
open /billing/cdr/rerating
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=date_from_year
open billing/functions/location_rules/
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=name
open /billing/functions/call_tracing
waitForTextPresent Select user
verifyElementPresent id=user
open /billing/services/list
waitForTextPresent Name
verifyElementNotPresent id=name_1
open /billing/services/new
waitForTextPresent Name
verifyElementPresent id=service_name
open /billing/services/edit/2
waitForTextPresent Name
verifyElementPresent id=service_name
open /billing/services/destroy/2
verifyTextNotPresent You are not authorized to view this page
open /billing/services/subscriptions
waitForTextPresent User
verifyElementPresent date_from_year
open /billing/accounting/invoices
waitForTextPresent Generate Invoices
verifyElementPresent id=link_generate_invoices
open /billing/accounting/generate_invoices
waitForTextPresent Issue date
verifyElementPresent id=date_from_year
open /billing/accounting/invoice_details/1
waitForTextPresent Invoice number
verifyElementPresent id=user
open /billing/accounting/generate_invoice_pdf/1?test=1
waitForTextPresent Invoice attributes
open /billing/accounting/generate_invoice_detailed_pdf/1?test=1
waitForTextPresent Ok
open /billing/accounting/generate_invoice_by_cid_pdf/2?test=1
verifyTextNotPresent You are not authorized to view this page
open /billing/accounting/generate_invoice_csv/1?test=1
waitForTextPresent number
open /billing/accounting/generate_invoice_detailed_csv/1?test=1
waitForTextPresent Filename
open /billing/accounting/generate_invoice_destinations_csv/1?test=1
waitForTextPresent Invoice NO.:, INV1110011 Invoice Date
open /billing/accounting/invoice_delete/1
waitForTextPresent Don't be so smart...
open /billing/payments/list
waitForTextPresent Username
verifyElementPresent id=s_username
open /billing/payments/payments_csv?test=1
waitForTextPresent User/Card,Date,Confirm date,Type,Amount,Fee,Amount with TAX,Currency,Completed
open /billing/payments/manual_payment
waitForTextPresent Amount
verifyElementPresent id=amount
open /billing/vouchers/voucher_new
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=amount_total
open /billing/vouchers/vouchers
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=s_number
open /billing/vouchers/voucher_delete/2
waitForTextPresent You are not authorized to view this page
open /billing/users/list
waitForTextPresent ID
verifyElementPresent name_5
open /billing/functions/login_as_execute?user=5
waitForTextPresent Logged as: User Resellers
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/new
waitForTextPresent Username
verifyElementPresent id=user_username
open /billing/stats/call_list/3
waitForTextPresent User
verifyElementPresent link=Test Reseller
open /billing/functions/call_tracing_user?user=3
waitForTextPresent Balance
verifyElementPresent id=tariff
open /billing/users/device_groups/0
assertTextPresent User not found
verifyElementNotPresent link=Add new Device Group
open /billing/users/device_group_new/0
assertTextPresent User not found
verifyElementNotPresent id=devicegroup_name
open /billing/users/device_group_edit/4
assertTextPresent Device Group was not found
verifyElementNotPresent id=devicegroup_name
open /billing/users/custom_rates/3
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent name=dg_new
open /billing/users/user_acustrates/1?dt=&st=00%3A00%3A00
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=duration
open /billing/users/user_delete_custom_rate/1
waitForTextPresent You are not authorized to view this page
open /billing/services/subscriptions_list/5
waitForTextPresent Service
verifyElementPresent id=add_subscription
open /billing/services/subscription_new/3
waitForTextPresent Service
verifyElementPresent id=subscription_memo
open /billing/services/subscription_edit/2
waitForTextPresent Subscription not found
verifyElementNotPresent id=memo
open /billing/services/subscription_confirm_destroy/2
waitForTextPresent Subscription not found
open /billing/users/edit/5
waitForTextPresent Username
verifyElementPresent id=user_username
open /billing/users/hidden
waitForTextPresent Username
verifyElementPresent id=s_username
open /billing/devices/show_devices/5
waitForTextPresent Description
verifyElementPresent id=description_7
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=5
waitForTextPresent Description
verifyElementPresent id=device_description
open /billing/devices/callflow/7
waitForTextPresent Call state
verifyElementPresent call
open /billing/devices/callflow_edit/7?cft=before_call
waitForTextPresent Priority
verifyElementPresent name=cf_action
open /billing/devices/callflow_edit/7?cft=no_answer
waitForTextPresent Priority
verifyElementPresent name=cf_action
open /billing/devices/callflow_edit/7?cft=busy
waitForTextPresent Priority
verifyElementPresent name=cf_action
open /billing/devices/callflow_edit/7?cft=failed
waitForTextPresent Priority
verifyElementPresent name=cf_action
open /billing/devices/device_dids/7
waitForTextPresent Total DIDs
verifyElementPresent link=IAX2/105
open /billing/devices/device_clis/7
waitForTextPresent CLI
verifyElementPresent id=cli
type id=cli 1
type id=description test_cli
clickAndWait css=input[type="image"]
open billing/devices/cli_device_edit/2
waitForTextPresent Device
verifyElementPresent id=cli
open /billing/devices/cli_device_delete/2
waitForTextPresent CLI deleted
open /billing/recordings/show?show_rec=5
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent id=date_from_month
open /billing/devices/device_all_details/5
waitForTextNotPresent You are not authorized to view this page
open /billing/devices/device_edit/5
waitForTextNotPresent You are not authorized to view this page
open /billing/devices/devices_all
waitForTextPresent User
verifyElementPresent user_7
open /billing/devices/device_clis/7
type id=cli 2
type id=description test_cli
clickAndWait css=input[type="image"]
open /billing/devices/cli_edit/3
waitForTextPresent CLI
verifyElementPresent id=cli
open /billing/groups/list
verifyTextNotPresent You are not authorized to view this page
open /billing/groups/members/2
verifyTextNotPresent You are not authorized to view this page
open /billing/groups/edit/2
verifyTextNotPresent You are not authorized to view this page
open /billing/groups/new
verifyTextNotPresent You are not authorized to view this page
open /billing/groups/remove_member?group=2&user=0
verifyTextNotPresent You are not authorized to view this page
open /billing/functions/login_as
waitForTextPresent You are not authorized to view this page
verifyElementNotPresent name=user
open /billing/accounting/generate_invoice_by_cid_csv/3?test=1
verifyTextNotPresent You are not authorized to view this page
open /billing/accounting/pay_invoice/1
verifyTextNotPresent You are not authorized to view this page
open /billing/accounting/send_invoices/1
waitForTextPresent No Invoices found in selected period
verifyTextNotPresent You are not authorized to view this page