last_calls_dids
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_last_calls_dids
pause
open /billing/functions/settings
type id=items_per_page 50
clickAndWait name=commit
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select id=date_from_year label=2011
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_from_hour label=01
select id=date_from_minute label=01
select id=date_till_year label=2012
select id=date_till_month label=December
select id=date_till_day label=31
select id=date_till_hour label=22
select id=date_till_minute label=58
clickAndWait name=commit
waitForTextPresent 37046246362
verifyText //th[8] DID
verifyText number_1 Number
verifyText id=did_111 37063042438
verifyText id=did_112 37063042438
verifyText id=did_113
verifyText id=did_114 37063042438
verifyText id=did_115
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent did: "37063042438"
verifyTextNotPresent did: "37060064753"
open /billing/stats/last_calls_stats?pdf=1&test=1
verifyTextPresent OK
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/resellers/settings
check id=resellers_can_add_their_own_dids
clickAndWait name=commit
waitForTextPresent Settings saved
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select id=date_from_year label=2011
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_from_hour label=01
select id=date_from_minute label=01
select id=date_till_year label=2012
select id=date_till_month label=December
select id=date_till_day label=31
select id=date_till_hour label=22
select id=date_till_minute label=58
clickAndWait name=commit
verifyText //th[8] DID
verifyText number_1 Number
verifyText id=did_111 37063042438
verifyText id=did_112 37063042438
verifyText id=did_113
verifyText id=did_114 37063042438
verifyText id=did_115
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent did: "37063042438"
verifyTextNotPresent did: "37060064753"
open /billing/stats/last_calls_stats?pdf=1&test=1
verifyTextPresent OK
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/dids/edit/1
select id=user_id label=Test Reseller
clickAndWait css=tr.row1 > td > input[name="commit"]
waitForTextPresent DID reserved
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select id=date_from_year label=2011
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_from_hour label=01
select id=date_from_minute label=01
select id=date_till_month label=December
select id=date_till_year label=2012
select id=date_till_day label=31
select id=date_till_hour label=22
select id=date_till_minute label=58
clickAndWait name=commit
verifyText id=did_111 37063042438
verifyText id=did_113
verifyText id=did_114 37063042438
verifyText id=did_115
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent did: "37063042438"
verifyTextPresent did: ""
verifyTextNotPresent did: "37060064753"
open /billing/stats/last_calls_stats?pdf=1&test=1
verifyTextPresent OK
open /billing/dids/new
type id=did_did 37060064753
clickAndWait name=commit
waitForTextPresent Are you sure?
clickAndWait name=commit
waitForTextPresent DID was successfully created
open /billing/stats/last_calls_stats
select id=date_from_year label=2011
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_from_hour label=01
select id=date_from_minute label=01
select id=date_till_year label=2012
select id=date_till_month label=December
select id=date_till_day label=31
select id=date_till_hour label=22
select id=date_till_minute label=58
clickAndWait name=commit
verifyText id=did_111 37063042438
verifyText id=did_113 37060064753
verifyText id=did_114 37063042438
verifyText id=did_115 37060064753
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent did: "37063042438"
verifyTextPresent did: "37060064753"
open /billing/stats/last_calls_stats?pdf=1&test=1
verifyTextPresent OK
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/dids/edit/1
clickAndWait css=tr.row1 > td > input[name="commit"]
assertConfirmation Are you sure?
waitForTextPresent DID made available
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select id=date_from_year label=2011
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_from_hour label=01
select id=date_from_minute label=01
select id=date_till_year label=2012
select id=date_till_month label=December
select id=date_till_day label=31
select id=date_till_hour label=22
select id=date_till_minute label=58
clickAndWait name=commit
verifyText id=did_111 37063042438
verifyText id=did_112 37063042438
verifyText id=did_114 37063042438
verifyText id=did_113 37060064753
verifyText id=did_115 37060064753
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent did: "37060064753"
verifyTextPresent did: "37063042438"
open /billing/stats/last_calls_stats?pdf=1&test=1
verifyTextPresent OK
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/resellers/settings
uncheck id=resellers_can_add_their_own_dids
clickAndWait name=commit
waitForTextPresent Settings saved
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select id=date_from_year label=2011
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_from_hour label=01
select id=date_from_minute label=01
select id=date_till_year label=2012
select id=date_till_month label=December
select id=date_till_day label=31
select id=date_till_hour label=22
select id=date_till_minute label=58
clickAndWait name=commit
verifyText id=did_111 37063042438
verifyText id=did_112 37063042438
verifyText id=did_114 37063042438
verifyText id=did_113 37060064753
verifyText id=did_115 37060064753
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent did: "37060064753"
verifyTextPresent did: "37063042438"
open /billing/stats/last_calls_stats?pdf=1&test=1
verifyTextPresent OK