recordings_bulk
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/recordings/recordings
click link=Search
select date_from_year label=2007
clickAndWait commit
open /billing/recordings/bulk_management
verifyText page_title Bulk management
verifyTextPresent Delete Recordings
waitForElementPresent rec_action_1
verifyElementPresent rec_action_2
verifyElementPresent s_device
click rec_action_2
select date_from_year label=2010
select date_from_month label=January
select date_till_year label=2010
select date_till_month label=November
clickAndWait commit
verifyTextPresent Found Recordings to delete : 2
verifyText link=Back to Bulk management Back to Bulk management
click rec_delete_link
assertConfirmation Are you sure?
waitForTextPresent Recordings were destroyed
click link=Search
select date_from_year label=2010
select date_till_year label=2010
select date_from_month label=January
clickAndWait commit
verifyTextPresent No Recordings
select date_from_year label=2008
clickAndWait commit
verifyText rec_src_1 101
open /billing/recordings/bulk_management
click rec_action_1
select s_device label=IAX2/101
clickAndWait commit
verifyTextPresent Found Recordings to delete : 4
click rec_delete_link
assertConfirmation Are you sure?
verifyElementNotPresent rec_src_1
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/recordings/bulk_management
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username accountant
type login_psw accountant1
clickAndWait commit
open /billing/recordings/bulk_management
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
open /billing/recordings/bulk_management
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
open /billing/recordings/bulk_management
verifyTextPresent You are not authorized to view this page