cli
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/default_user
clickAndWait name=commit
waitForTextPresent Default User saved
open /billing/devices/clis
click link=Add
type cli 22222
type description 22222
type comment 22222
select user label=Test User #1
waitForTextPresent Device:
clickAndWait commit
verifyTextPresent CLI created
clickAndWait //img[@alt='Cross']
assertConfirmation Are you sure?
clickAndWait //input[@type='image']
clickAndWait //img[@alt='Edit']
type cli 222223
click email_callback
click banned
clickAndWait commit
verifyTextPresent CLI updated
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent CLI deleted: 222223
open /billing/devices/device_clis/2
type cli 3333
type description 3333
select email_callback label=Use for Email Callback
select banned label=Banned
type comment 3333
clickAndWait //input[@type='image']
verifyTextPresent CLI created
clickAndWait //img[@alt='Check']
assertConfirmation Are you sure?
clickAndWait //img[@alt='Edit']
type cli 33334
type description 33334
type comment 33334
click email_callback
click banned
clickAndWait commit
verifyTextPresent CLI updated
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent CLI deleted: 33334
clickAndWait //input[@type='image']
open /billing/devices/user_device_clis
type cli 55555
type description 55555
type comment 55555
select email_callback label=Use for Email Callback
clickAndWait //input[@type='image']
verifyTextPresent CLI created
clickAndWait //img[@alt='Edit']
type cli 555556
type description 555556
type comment 555556
click email_callback
click banned
clickAndWait commit
verifyTextPresent CLI updated
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent CLI deleted: 555556
open /billing/callc/logout
waitForElementPresent login_username
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/users/default_user
clickAndWait name=commit
waitForTextPresent Default User saved
open /billing/devices/device_clis/7
type cli 1111
type description 1111
type comment 1111
clickAndWait //input[@type='image']
verifyTextPresent CLI created
clickAndWait //img[@alt='Cross']
assertConfirmation Are you sure?
clickAndWait //img[@alt='Edit']
type cli 11112
type description 11112
type comment 11112
click email_callback
clickAndWait commit
verifyTextPresent CLI updated
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent CLI deleted: 11112
open /billing/devices/user_device_clis
type cli 2222
type description 2222
select email_callback label=Use for Email Callback
type comment 2222
clickAndWait //input[@type='image']
verifyTextPresent CLI created
clickAndWait //img[@alt='Edit']
type cli 22223
type description 222233
click email_callback
clickAndWait commit
verifyTextPresent CLI updated
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent CLI deleted: 22223
open /billing/callc/logout
waitForElementPresent login_username
type login_username 101
type login_psw 1011
clickAndWait commit
open /billing/devices/user_device_clis
type cli 2222
type description 2222
select email_callback label=Use for Email Callback
type comment 2222
clickAndWait //input[@type='image']
verifyTextPresent CLI created
clickAndWait //img[@alt='Edit']
type cli 22223
type description 222233
click email_callback
verifyElementNotPresent //input[@type='image']
clickAndWait commit
verifyTextPresent CLI updated
clickAndWait //img[@alt='Edit']
clickAndWait link=IAX2/101
verifyValue device_description Test Device #1
open /billing/devices/user_device_clis
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent CLI deleted: 22223
open /billing/callc/logout
open /billing/callc/signup_start/hfttv7bcqt
type username cli_test
type password cli_test1
type password2 cli_test1
type first_name cli_test
type last_name cli_test
type vat_number cli_test
type client_id cli_test
type address cli_test
type state cli_test
type county cli_test
type city cli_test
type postcode cli_test
type phone 370006
type mob_phone +37000688888
type fax 123456789
type email test3241234@kolm1234123isoft.com
clickAndWait commit
verifyTextPresent Registration succesful
clickAndWait link=here
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/devices/device_clis/8
verifyText cli_7 37000688888
verifyText cli_8 370006
verifyText cli_9 123456789
verifyText description_7 Mobile Phone
verifyText description_8 Phone
verifyText description_9 Fax
open /billing/devices/cli_delete/9999
verifyTextPresent CallerID not found
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/devices/cli_device_delete/9
verifyTextPresent Don't be so smart...
open /billing/devices/change_email_callback_status_device/9?device_id=5&email_callback=0
verifyTextPresent Don't be so smart...
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/devices/device_clis/8
verifyText cli_9 123456789
verifyElementPresent calback_9
open /billing/devices/clis
click link=Add
type cli 37000688888
waitForElementPresent user
select user label=System Admin
waitForElementPresent device_id
clickAndWait commit
verifyTextPresent Such CLI exists
open /billing/devices/cli_edit/7
type cli 370006
clickAndWait commit
verifyTextPresent Such CLI exists
open /billing/devices/user_device_clis
type cli 22222
type description orig
clickAndWait //input[@type='image']
type cli 22222
type description duplicate
clickAndWait //input[@type='image']
verifyTextPresent Such CLI exists
type cli 22223
type description some other cli
clickAndWait //input[@type='image']
open /billing/devices/cli_user_edit/11
type cli 22222
verifyElementNotPresent //input[@type='image']
clickAndWait commit
type cli 22222
type description Dupe
verifyElementNotPresent //input[@type='image']
clickAndWait commit
verifyTextPresent Such CLI exists
open /billing/devices/cli_device_edit/7
type cli 370006
clickAndWait commit
verifyTextPresent Such CLI exists
open /billing/callc/logout
open /billing/callc/signup_start/hfttv7bcqt
type username cli_test1
type password cli_test11
type password2 cli_test11
type first_name cli_test1
type last_name cli_test1
type vat_number cli_test1
type client_id cli_test1
type address cli_test1
type state cli_test1
type county cli_test1
type city cli_test1
type postcode cli_test1
type phone 370006
type email tes12341234t@kol23451g5misoft.com
clickAndWait commit
verifyTextPresent User with such phone number already exists
type phone 3700061
type mob_phone 37000688888
clickAndWait commit
verifyTextPresent User with such mobile phone number already exists
type phone 3700061
type mob_phone 37000688889
type fax 123456789
clickAndWait commit
verifyTextPresent User with such fax number already exists
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/devices/cli_edit/11
type cli
clickAndWait commit
verifyTextPresent Please enter details
verifyTextPresent CLI was not created