mor_12_api_when_cli_not_exist
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/sql/mor_eleven_extend
waitForElementPresent //body
open /billing/currencies/currencies
clickAndWait //a[contains(@href, '/billing/currencies/currencies_change_update_status/2')]
assertTextPresent Currency update disabled
open /billing/currencies/edit/2
type id=exchange_rate 2
clickAndWait css=input[type="image"]
assertTextPresent Currency details updated
clickAndWait id=icon_cross_curr_upd_enable_2
assertText id=icon_chech_curr_upd_disable_2
open /billing/cardgroups/edit/1
type id=tax1_value 10.0
type name=price_with_vat 100
type id=cardgroup_setup_fee 10.0
type id=cardgroup_daily_charge 10
select id=cardgroup_tell_balance_in_currency label=USD
clickAndWait name=commit
waitForTextPresent Card group was successfully updated
open /billing/functions/settings
click id=allow_api
click id=allow_get_api
type id=api_secret_key 123456
click id=xml_api_extension
click id=api_login_redirect_to_main
click id=api_allow_registration
clickAndWait name=commit
waitForTextPresent Settings saved
open /billing/cardgroups/new
type id=cardgroup_name cardgroup 3
type name=price_with_vat 25.0000
select id=cardgroup_tell_balance_in_currency label=EUR
type id=cardgroup_number_length 5
type id=cardgroup_pin_length 3
type id=tax1_value 10
type id=tax2_name tax2
check id=tax2_enabled
type id=tax2_value 10.0
type id=tax3_name tax3
check id=tax3_enabled
type id=tax3_value 10.0
type id=tax4_name tax4
check id=tax4_enabled
type id=tax4_value 10.0
clickAndWait name=commit
waitForTextPresent Card group was successfully created
open /billing/test/test_api?cardgroup_id=1&callerid=4444&amount=100
waitForTextPresent d703d39e26dd770b614d3e0786373aecb4378fa3
open /billing/test/test_api?cardgroup_id=3&callerid=5555&amount=300
waitForTextPresent b0faeac147951820a747b35fbccba653cda876d1
open /billing/test/test_api?callerid=2111&amount=50
storeText css=body withoutcgid
open /billing/callc/logout
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=1&callerid=4444&amount=100&test=1&hash=d703d39e26dd770b614d3e0786373aecb4378fa3
waitForTextPresent ok
verifyText css=id 22
verifyText css=cardgroup_id 1
verifyText css=balance 90.9091
verifyText css=balance_with_vat 100.0000
verifyText css=callerid 4444
storeText css=pin pin1
storeText css=number number1
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=3&callerid=5555&amount=300&test=1&hash=b0faeac147951820a747b35fbccba653cda876d1
waitForTextPresent ok
verifyText css=id 23
verifyText css=cardgroup_id 3
verifyText css=balance 102.4520
verifyText css=balance_with_vat 150.0000
verifyText css=callerid 5555
storeText css=pin pin2
storeText css=number number2
open /billing/api/cc_by_cli?u=admin&p=admin1&callerid=2111&amount=50&test=1&hash=${withoutcgid}
assertTextPresent Supplied Cardgroup_id is invalid
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cards/list?cg=1&clean=1
verifyText id=number_22 ${number1}
verifyText id=pin_22 ${pin1}
verifyText id=callerid_22 4444
verifyText id=balance_22 90.9091
verifyElementPresent css=img[alt="Check"]
verifyText id=lang_22 en
open /billing/cards/edit/22
verifyValue id=card_number ${number1}
verifyValue id=card_name
verifyValue id=card_pin ${pin1}
verifyValue id=card_callerid 4444
verifyText //label[2] 90.9091
verifyElementPresent css=img[alt="Check"]
open /billing/cards/list?cg=3&clean=1
verifyText id=number_23 ${number2}
verifyText id=pin_23 ${pin2}
verifyText id=callerid_23 5555
verifyText id=balance_23 102.4520
verifyText css=img[alt="Check"]
open /billing/cards/edit/23
verifyValue id=card_number ${number2}
verifyValue id=card_name
verifyValue id=card_pin ${pin2}
verifyValue id=card_callerid 5555
verifyTextPresent 102.4520
verifyElementPresent css=img[alt="Check"]
open /billing/users/list
verifyText id=balance_0 0.0000
verifyText id=balance_4 0.0000
verifyText id=balance_3 0.0000
verifyText id=balance_2 0.0000
open /billing/payments/list
verifyText id=paymenttype_10 Card
verifyText id=paymenttype_11 Card
verifyText id=amount_10 90.9091
verifyText id=amount_11 204.9040
verifyText id=fee_10 0.0000
verifyText id=fee_11 0.0000
verifyText id=amout_with_tax_10 100.0000
verifyText id=amout_with_tax_11 300.0000
verifyText id=currency_10 USD
verifyText id=currency_11 EUR
verifyTextPresent ${number1} (${pin1})
verifyTextPresent ${number2} (${pin2})
open /billing/test/test_api?cardgroup_id=3&callerid=34444&amount=100&pin=1111
waitForTextPresent 24ce619b858e99ca0432c1b23d202d162d3a8742
open /billing/test/test_api?cardgroup_id=1&callerid=35555&amount=300&pin=7856
waitForTextPresent e88b5f7f32142ec85eb287ba3ac8e48a851598dc
open /billing/test/test_api?cardgroup_id=1&callerid=45555&amount=300&pin=${pin2}
storeText css=body hash
open /billing/test/test_api?callerid=33355&amount=200&pin=9812
waitForTextPresent 3426c16b0808cc0e2708abb05ce4630406258742
open /billing/callc/logout
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=3&callerid=34444&amount=100&pin=1111&test=1&hash=24ce619b858e99ca0432c1b23d202d162d3a8742
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=1&callerid=35555&amount=300&pin=7856&test=1&hash=e88b5f7f32142ec85eb287ba3ac8e48a851598dc
verifyText css=status ok
verifyText css=id 1
verifyText css=cardgroup_id 1
verifyText css=balance 10.0840
verifyText css=callerid 35555
verifyText css=pin 7856
verifyText css=number 1111111000
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=1&callerid=45555&amount=300&pin=${pin2}&test=1&hash=${hash}
assertTextPresent Cannot sell already sold card
open /billing/api/cc_by_cli?u=admin&p=admin1&callerid=33355&amount=200&pin=9812&test=1&hash=3426c16b0808cc0e2708abb05ce4630406258742
verifyText css=status ok
verifyText css=id 2
verifyText css=cardgroup_id 1
verifyText css=balance 10.0840
verifyText css=callerid 33355
verifyText css=pin 9812
verifyText css=number 1111111001
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=1&callerid=35555&amount=300&pin=7856&test=1&hash=e88b5f7f32142ec85eb287ba3ac8e48a851598dc
assertTextPresent PIN number not found
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cards/list?cg=1&clean=1
verifyText //td[@id='number_1'] 1111111000
verifyText //td[@id='pin_1'] 7856
verifyText id=callerid_1 35555
verifyText id=number_2 1111111001
verifyText id=pin_2 9812
verifyText id=callerid_2 33355
verifyElementPresent css=img[alt="Check"]
verifyElementPresent css=#sold_2 > img[alt="Check"]
verifyElementPresent css=#sold_22 > img[alt="Check"]
open /billing/payments/list
verifyText id=amount_12 10.0840
verifyText id=amount_13 10.0840
verifyText id=amout_with_tax_12 11.0924
verifyText id=amout_with_tax_13 11.0924
verifyText id=currency_12 USD
verifyText id=currency_13 USD
open /billing/callc/logout
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=1&callerid=4444&amount=100&test=1&hash=d703d39e26dd770b614d3e0786373aecb4378fa3
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=3&callerid=5555&amount=300&test=1&hash=b0faeac147951820a747b35fbccba653cda876d1
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=3&callerid=34444&amount=100&pin=1111&test=1&hash=24ce619b858e99ca0432c1b23d202d162d3a8742
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=1&callerid=35555&amount=300&pin=7856&test=1&hash=e88b5f7f32142ec85eb287ba3ac8e48a851598dc
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=1&callerid=45555&amount=300&pin=${pin2}&test=1&hash=${hash}
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=reseller&p=reseller1&callerid=33355&amount=200&pin=9812&test=1&hash=3426c16b0808cc0e2708abb05ce4630406258742
waitForTextPresent Dont be so smart
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/acc_groups
waitForElementPresent //body
open /billing/permissions/edit/12?group_type=reseller
click id=calling_cards_2
clickAndWait name=commit
waitForTextPresent Group was updated
open /billing/users/edit/3
clickAndWait css=#confirm_without_message > input[name="commit"]
waitForTextPresent User's settings succesfully changed: Test Reseller
open /billing/test/test_api?cardgroup_id=4&callerid=1111&amount=50
waitForTextPresent 65c29890092e01ef2986f80a5705a310bd3f9273
open /billing/test/test_api?cardgroup_id=5&callerid=2222&amount=150
waitForTextPresent 59f54fe7eb1f98d4634e4e51f03cfd4dbbe590f6
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cardgroups/new
type id=cardgroup_name cardgroup 1 re
type id=tax1_value 10.0
type name=price_with_vat 100
type id=cardgroup_setup_fee 10.0
type id=cardgroup_daily_charge 10
select id=cardgroup_tell_balance_in_currency label=USD
type name=price_with_vat 125.0000
clickAndWait name=commit
open /billing/cardgroups/new
type id=cardgroup_name cardgroup 2 re
type name=price_with_vat 25.0000
select id=cardgroup_tell_balance_in_currency label=EUR
type id=cardgroup_number_length 5
type id=cardgroup_pin_length 3
type id=tax1_value 10
type id=tax2_name tax2
check id=tax2_enabled
type id=tax2_value 10.0
type id=tax3_name tax3
check id=tax3_enabled
type id=tax3_value 10.0
type id=tax4_name tax4
check id=tax4_enabled
type id=tax4_value 10.0
clickAndWait name=commit
waitForTextPresent Card group was successfully created
open /billing/callc/logout
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=4&callerid=1111&amount=50&test=1&hash=65c29890092e01ef2986f80a5705a310bd3f9273
waitForTextPresent Supplied Cardgroup_id is invalid
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=5&callerid=2222&amount=150&test=1&hash=59f54fe7eb1f98d4634e4e51f03cfd4dbbe590f6
waitForTextPresent Supplied Cardgroup_id is invalid
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=4&callerid=1111&amount=50&test=1&hash=65c29890092e01ef2986f80a5705a310bd3f9273
verifyText css=status ok
verifyText css=id 24
assertText css=balance 45.4545
assertText css=balance_with_vat 50.0000
verifyText css=callerid 1111
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=5&callerid=2222&amount=150&test=1&hash=59f54fe7eb1f98d4634e4e51f03cfd4dbbe590f6
verifyTextPresent ok
verifyText css=id 25
verifyText css=cardgroup_id 5
verifyText css=balance 51.2260
verifyText css=balance_with_vat 75.0000
verifyText css=callerid 2222
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cards/list?cg=4&clean=1
assertText id=balance_24 45.4545
open /billing/cards/list?cg=5&clean=1
assertText id=callerid_25 2222
assertText id=balance_25 51.2260
open /billing/cards/new?cg=4
type id=start_number 1111111111
type id=end_number 1111111119
clickAndWait name=commit
waitForTextPresent Cards created: 9
storeText id=pin_28 pin3
storeText id=number_28 number3
open /billing/cards/new?cg=5
type id=start_number 11111
type id=end_number 11119
clickAndWait name=commit
waitForTextPresent Cards created: 9
storeText id=pin_36 pin4
storeText id=number_36 number4
storeText id=pin_38 pin5
storeText id=number_38 number5
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/test_api?cardgroup_id=5&callerid=54444&amount=50&pin=4411
waitForTextPresent 3605d5b18eaf83f917e0e9e95248eaf002546a11
open /billing/test/test_api?cardgroup_id=4&callerid=45555&amount=400&pin=${pin3}
storeText css=body hash2
open /billing/test/test_api?cardgroup_id=4&callerid=44555&pin=${pin4}
storeText css=body hash3
open /billing/test/test_api?callerid=33353&pin=${pin5}
storeText css=body hash5
open /billing/callc/logout
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=5&callerid=54444&amount=50&pin=4411&test=1&hash=3605d5b18eaf83f917e0e9e95248eaf002546a11
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=4&callerid=45555&amount=400&pin=${pin3}&test=1&hash=${hash2}
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=admin&p=admin1&cardgroup_id=4&callerid=44555&pin=${pin4}&test=1&hash=${hash3}
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=admin&p=admin1&callerid=33353&pin=${pin5}&test=1&hash=${hash5}
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=5&callerid=54444&amount=50&pin=4411&test=1&hash=3605d5b18eaf83f917e0e9e95248eaf002546a11
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=4&callerid=45555&amount=400&pin=${pin3}&test=1&hash=${hash2}
assertText css=id 28
assertText css=cardgroup_id 4
assertText css=balance 113.6364
assertText css=balance_with_vat 125.0000
assertText css=callerid 45555
open /billing/api/cc_by_cli?u=reseller&p=reseller1&cardgroup_id=4&callerid=44555&pin=${pin4}&test=1&hash=${hash3}
verifyText css=status ok
verifyText css=id 36
verifyText css=cardgroup_id 5
verifyText css=balance 17.0753
verifyText css=balance_with_vat 25.0000
verifyText css=callerid 44555
verifyText css=pin ${pin4}
verifyText css=number ${number4}
open /billing/api/cc_by_cli?u=reseller&p=reseller1&callerid=33353&pin=${pin5}&test=1&hash=${hash5}
verifyText css=status ok
verifyText css=id 38
verifyText css=cardgroup_id 5
verifyText css=balance 17.0753
verifyText css=balance_with_vat 25.0000
verifyText css=callerid 33353
verifyText css=pin ${pin5}
verifyText css=number ${number5}
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cards/list?cg=4&clean=1
assertText id=balance_24 45.4545
open /billing/cards/list?cg=5&clean=1
verifyText id=callerid_36 44555
verifyText id=callerid_38 33353
verifyText id=callerid_25 2222
verifyElementPresent css=img[alt="Check"]
verifyElementPresent css=#sold_38 > img[alt="Check"]
verifyElementPresent css=#sold_25 > img[alt="Check"]
open /billing/payments/list
assertText id=amount_14 45.4545
assertText id=amout_with_tax_14 50.0000
assertText id=currency_14 USD
assertText id=amount_15 102.4520
assertText id=amout_with_tax_15 150.0000
assertText id=currency_15 EUR
assertText id=amount_16 113.6364
assertText id=amout_with_tax_16 125.0000
assertText id=currency_16 USD
assertText id=amount_17 34.1507
assertText id=amout_with_tax_17 50.0000
assertText id=currency_17 EUR
assertText id=amount_18 34.1507
assertText id=amout_with_tax_18 50.0000
assertText id=currency_18 EUR
open /billing/callc/logout
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=1&callerid=4444&amount=100&test=1&hash=d703d39e26dd770b614d3e0786373aecb4378fa3
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountantn1&cardgroup_id=3&callerid=5555&amount=300&test=1&hash=b0faeac147951820a747b35fbccba653cda876d1
waitForTextPresent Bad login
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=3&callerid=34444&amount=100&pin=1111&test=1&hash=24ce619b858e99ca0432c1b23d202d162d3a8742
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=1&callerid=35555&amount=300&pin=7856&test=1&hash=e88b5f7f32142ec85eb287ba3ac8e48a851598dc
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=1&callerid=45555&amount=300&pin=${pin2}&test=1&hash=${hash}
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&callerid=33355&amount=200&pin=9812&test=1&hash=3426c16b0808cc0e2708abb05ce4630406258742
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=4&callerid=1111&amount=50&test=1&hash=65c29890092e01ef2986f80a5705a310bd3f9273
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=5&callerid=2222&amount=150&test=1&hash=59f54fe7eb1f98d4634e4e51f03cfd4dbbe590f6
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=5&callerid=54444&amount=50&pin=4411&test=1&hash=3605d5b18eaf83f917e0e9e95248eaf002546a11
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=4&callerid=45555&amount=400&pin=${pin3}&test=1&hash=${hash2}
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=4&callerid=44555&pin=${pin4}&test=1&hash=${hash3}
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&callerid=33353&pin=${pin5}&test=1&hash=${hash5}
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=4&callerid=44555&pin=${pin4}&test=1&hash=${hash3}
waitForTextPresent Dont be so smart
open /billing/api/cc_by_cli?u=accountant&p=accountant1&callerid=33353&pin=${pin5}&test=1&hash=${hash5}
waitForTextPresent Dont be so smart
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/permissions/edit/11?group_type=accountant
click id=callingcard_pin_2
click id=callingcard_manage_2
click id=see_financial_data_2
click id=cli_ivr_2
click id=device_edit_opt_1_2
click id=device_edit_opt_2_2
click id=device_edit_opt_3_2
click id=device_edit_opt_4_2
click id=device_pin_2
click id=device_password_2
click id=voicemail_password_2
click id=device_create_2
click id=device_manage_2
click id=manage_dids_opt_1_2
click id=invoices_manage_2
click id=monitorings_manage_2
click id=payments_manage_2
click id=services_manage_2
click id=manage_subscriptions_opt_1_2
click id=tariff_manage_2
click id=user_create_opt_1_2
click id=user_create_opt_2_2
click id=user_create_opt_3_2
click id=user_create_2
click id=user_create_opt_4_2
click id=user_create_opt_5_2
click id=user_create_opt_6_2
click id=user_create_opt_7_2
click id=vouchers_manage_2
click id=user_manage_2
clickAndWait name=commit
waitForTextPresent Group was updated
open /billing/users/edit/4
clickAndWait css=#confirm_without_message > input[name="commit"]
waitForTextPresent User's settings succesfully changed: Test
open /billing/test/test_api?cardgroup_id=1&callerid=444422&amount=100
waitForTextPresent 3c2e57683035f84f19600b1060728dd16c205df6
open /billing/test/test_api?cardgroup_id=1&callerid=3444422&amount=100&pin=1111
waitForTextPresent 05da110a2358a28322d3f12dbd883b5e47f91bf3
open /billing/test/test_api?cardgroup_id=1&callerid=4555522&amount=300&pin=0521
waitForTextPresent aade3bd48e1b159eff5222fefe19cb0972be64e3
open /billing/test/test_api?cardgroup_id=4&callerid=4455522&amount=340&pin=${pin5}
storeText css=body hash6
open /billing/test/test_api?callerid=4555522
storeText css=body hash15
open /billing/test/test_api?callerid=4555522&cardgroup_id=1
storeText css=body hash16
open /billing/test/test_api?callerid=4555522&cardgroup_id=100
storeText css=body hash17
open /billing/callc/logout
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=1&callerid=444422&amount=100&test=1&hash=3c2e57683035f84f19600b1060728dd16c205df6
verifyText css=status ok
verifyText css=id 44
verifyText css=cardgroup_id 1
verifyText css=balance 90.9091
verifyText css=balance_with_vat 100.0000
verifyText css=callerid 444422
storeText css=pin pin6
storeText css=number number6
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=1&callerid=3444422&amount=100&pin=1111&test=1&hash=05da110a2358a28322d3f12dbd883b5e47f91bf3
waitForTextPresent PIN number not found
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=1&callerid=4555522&amount=300&pin=0521&test=1&hash=aade3bd48e1b159eff5222fefe19cb0972be64e3
verifyText css=status ok
verifyText css=id 10
verifyText css=cardgroup_id 1
verifyText css=balance 10.0840
verifyText css=callerid 4555522
verifyText css=pin 0521
verifyText css=number 1111111009
open /billing/api/cc_by_cli?u=accountant&p=accountant1&cardgroup_id=4&callerid=4455522&amount=340&pin=${pin5}&test=1&hash=${hash6}
waitForTextPresent PIN number not found
open /billing/callc/logout
type login_username accountant
type login_psw accountant1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cards/list?cg=1&clean=1
verifyText id=number_44 ${number6}
verifyText id=pin_44 ${pin6}
verifyText id=callerid_22 4444
verifyText id=callerid_44 444422
verifyText id=callerid_10 4555522
verifyText id=callerid_10 4555522
verifyText id=callerid_2 33355
verifyText id=callerid_1 35555
open /billing/payments/list
assertText id=amount_13 10.0840
assertText id=amout_with_tax_13 11.0924
assertText id=currency_13 USD
assertText id=amount_19 90.9091
assertText id=amout_with_tax_19 100.0000
assertText id=currency_19 USD
assertText id=amount_20 10.0840
assertText id=amout_with_tax_20 11.0924
assertText id=currency_20 USD
open /billing/callc/logout
open /billing/api/cc_by_cli?u=admin&p=admin1&callerid=4555522&test=1&hash=${hash15}
assertText css=status ok
assertText css=id 10
assertText css=id 10
assertText css=cardgroup_id 1
assertText css=balance 10.0840
assertText css=balance_with_vat 11.0924
assertText css=callerid 4555522
assertText css=pin 0521
assertText css=number 1111111009
open /billing/api/cc_by_cli?u=admin&p=admin1&callerid=4555522&cardgroup_id=1&test=1&hash=${hash16}
assertText css=status ok
assertText css=id 10
assertText css=cardgroup_id 1
assertText css=balance 10.0840
assertText css=balance_with_vat 11.0924
assertText css=callerid 4555522
assertText css=pin 0521
assertText css=number 1111111009
open /billing/api/cc_by_cli?u=admin&p=admin1&callerid=4555522&cardgroup_id=100&test=1&hash=${hash17}
assertTextPresent You do not have permission to access cardgroup