privacy
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
check allow_api
check allow_get_api
check xml_api_extension
type api_secret_key secret
click hide_destination_ends_gui_1
click hide_destination_ends_csv_2
click hide_destination_ends_pdf_4
clickAndWait commit
verifyTextPresent Settings saved
verifyChecked hide_destination_ends_gui_1
verifyChecked hide_destination_ends_csv_2
verifyChecked hide_destination_ends_pdf_4
click hide_destination_ends_gui_0
click hide_destination_ends_csv_0
click hide_destination_ends_pdf_0
clickAndWait commit
verifyTextPresent Settings saved
verifyChecked hide_destination_ends_gui_0
verifyChecked hide_destination_ends_csv_0
verifyChecked hide_destination_ends_pdf_0
open /billing/test/test_api?u=101&p=101&s_user=2&period_start=1266371999&period_end=1266537599
waitForElementPresent //body
open /billing/test/test_api?u=user_reseller&p=user_reseller&s_user=5&period_start=1266371999&period_end=1266537599
waitForElementPresent //body
open /billing/users/edit/2
check privacy[global]
clickAndWait //div[@id='confirm_without_message']/input
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=18
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_22 37063042438
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_5 37063042438
verifyText dst_3 37063042438
verifyText dst_1 123123
open /billing/stats/last_calls_stats
select date_from_year label=2004
select date_till_year label=2011
clickAndWait commit
waitForText dst_10 123123
verifyText dst_22 37063042438
verifyText dst_23 37063042438
open /billing/stats/call_list
waitForText dst_22 37063042438
verifyText dst_10 123123
open /billing/stats/call_list_to_csv/2?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123123
open /billing/api/user_calls?u=101&p=1011&s_user=2&period_start=1266371999&period_end=1266537599&hash=b3591f3a48abe190cae1b1f011432e0bcb277399&test=1
waitForText //dst 37063042438
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings
click hide_destination_ends_gui_1
click hide_destination_ends_csv_2
click hide_destination_ends_pdf_4
clickAndWait commit
verifyTextPresent Settings saved
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=18
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_22 37063042XXX
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_5 37063042XXX
verifyText dst_3 37063042XXX
verifyText dst_1 123XXX
open /billing/stats/last_calls_stats
select date_from_year label=2004
select date_till_year label=2011
clickAndWait commit
waitForText dst_10 123XXX
verifyText dst_22 37063042XXX
verifyText dst_23 37063042XXX
open /billing/stats/call_list
waitForText dst_22 37063042XXX
verifyText dst_10 123XXX
open /billing/stats/call_list_to_csv/2?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123XXX
open /billing/api/user_calls?u=101&p=1011&s_user=2&period_start=1266371999&period_end=1266537599&hash=b3591f3a48abe190cae1b1f011432e0bcb277399&test=1
verifyText //dst 37063042XXX
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
click hide_destination_ends_gui_0
click hide_destination_ends_csv_0
click hide_destination_ends_pdf_0
clickAndWait commit
verifyTextPresent Settings saved
open /billing/users/edit/2
click privacy[global]
waitForEditable privacy_gui_1
click privacy_gui_1
click privacy_csv_2
click privacy_pdf_4
clickAndWait //div[@id='confirm_without_message']/input
open /billing/users/edit/2
verifyNotChecked privacy[global]
verifyChecked privacy_gui_1
verifyChecked privacy_csv_2
verifyChecked privacy_pdf_4
click privacy[global]
clickAndWait //div[@id='confirm_without_message']/input
open /billing/users/edit/2
verifyChecked privacy[global]
verifyNotChecked privacy_gui_1
verifyNotChecked privacy_csv_2
verifyNotChecked privacy_pdf_4
click privacy[global]
waitForEditable privacy_gui_1
click privacy_gui_1
click privacy_csv_2
click privacy_pdf_4
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: Test User #1
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=18
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_22 37063042XXX
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_5 37063042XXX
verifyText dst_3 37063042XXX
verifyText dst_1 123XXX
open /billing/stats/last_calls_stats
select date_from_year label=2004
select date_till_year label=2011
clickAndWait commit
waitForText dst_10 123XXX
verifyText dst_22 37063042XXX
verifyText dst_23 37063042XXX
open /billing/stats/call_list
waitForText dst_22 37063042XXX
verifyText dst_10 123XXX
open /billing/stats/call_list_to_csv/2?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123XXX
open /billing/api/user_calls?u=101&p=1011&s_user=2&period_start=1266371999&period_end=1266537599&hash=b3591f3a48abe190cae1b1f011432e0bcb277399&test=1
verifyText //dst 37063042XXX
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/2
click privacy_gui_0
click privacy_csv_0
click privacy_pdf_0
clickAndWait //div[@id='confirm_without_message']/input
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=18
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_22 37063042438
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_5 37063042438
verifyText dst_3 37063042438
verifyText dst_1 123123
open /billing/stats/last_calls_stats
select date_from_year label=2004
select date_till_year label=2011
clickAndWait commit
waitForText dst_10 123123
verifyText dst_22 37063042438
verifyText dst_23 37063042438
open /billing/stats/call_list
waitForText dst_22 37063042438
verifyText dst_10 123123
open /billing/stats/call_list_to_csv/2?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123123
open /billing/api/user_calls?u=101&p=1011&s_user=2&period_start=1266371999&period_end=1266537599&hash=b3591f3a48abe190cae1b1f011432e0bcb277399&test=1
verifyText //dst 37063042438
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/reseller_settings
click hide_destination_ends_gui_1
click hide_destination_ends_csv_2
click hide_destination_ends_pdf_4
clickAndWait commit
verifyTextPresent Settings saved
verifyChecked hide_destination_ends_gui_1
verifyChecked hide_destination_ends_csv_2
verifyChecked hide_destination_ends_pdf_4
click hide_destination_ends_gui_0
click hide_destination_ends_csv_0
click hide_destination_ends_pdf_0
clickAndWait commit
verifyTextPresent Settings saved
verifyChecked hide_destination_ends_gui_0
verifyChecked hide_destination_ends_csv_0
verifyChecked hide_destination_ends_pdf_0
open /billing/users/edit/5
check privacy[global]
clickAndWait //div[@id='confirm_without_message']/input
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=18
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_24 37063042438
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_7 37063042438
open /billing/stats/last_calls_stats
waitForText dst_25 37063042438
open /billing/stats/call_list
waitForText dst_24 37063042438
open /billing/stats/call_list_to_csv/5?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123123
open /billing/api/user_calls?u=user_reseller&p=user_reseller1&s_user=5&period_start=1266371999&period_end=1266537599&hash=3a1d0b05e1ad34d9224f95bf324037ff8c4037ce&test=1
waitForText //dst 37063042438
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/functions/reseller_settings
click hide_destination_ends_gui_1
click hide_destination_ends_csv_2
click hide_destination_ends_pdf_4
clickAndWait commit
verifyTextPresent Settings saved
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=17
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_24 37063042XXX
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_7 37063042XXX
open /billing/stats/last_calls_stats
waitForText dst_24 37063042XXX
open /billing/stats/call_list
waitForText dst_24 37063042XXX
open /billing/stats/call_list_to_csv/5?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123XXX
open /billing/api/user_calls?u=user_reseller&p=user_reseller1&s_user=5&period_start=1266371999&period_end=1266537599&hash=3a1d0b05e1ad34d9224f95bf324037ff8c4037ce&test=1
verifyText //dst 37063042XXX
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/reseller_settings
click hide_destination_ends_gui_0
click hide_destination_ends_csv_0
click hide_destination_ends_pdf_0
clickAndWait commit
verifyTextPresent Settings saved
open /billing/users/edit/5
click privacy[global]
waitForEditable privacy_gui_1
click privacy_gui_1
click privacy_csv_2
click privacy_pdf_4
clickAndWait //div[@id='confirm_without_message']/input
open /billing/users/edit/5
verifyNotChecked privacy[global]
verifyChecked privacy_gui_1
verifyChecked privacy_csv_2
verifyChecked privacy_pdf_4
click privacy[global]
clickAndWait //div[@id='confirm_without_message']/input
open /billing/users/edit/5
verifyChecked privacy[global]
verifyNotChecked privacy_gui_1
verifyNotChecked privacy_csv_2
verifyNotChecked privacy_pdf_4
click privacy[global]
waitForEditable privacy_gui_1
click privacy_gui_1
click privacy_csv_2
click privacy_pdf_4
clickAndWait //div[@id='confirm_without_message']/input
verifyTextPresent User's settings succesfully changed: User Resellers
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=17
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_24 37063042XXX
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_7 37063042XXX
open /billing/stats/last_calls_stats
waitForText dst_24 37063042XXX
open /billing/stats/call_list
waitForText dst_24 37063042XXX
open /billing/stats/call_list_to_csv/5?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123XXX
open /billing/api/user_calls?u=user_reseller&p=user_reseller1&s_user=5&period_start=1266371999&period_end=1266537599&hash=3a1d0b05e1ad34d9224f95bf324037ff8c4037ce&test=1
verifyText //dst 37063042XXX
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/5
click privacy_gui_0
click privacy_csv_0
click privacy_pdf_0
clickAndWait //div[@id='confirm_without_message']/input
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/missed_calls
open /billing/stats/missed_calls
select date_from_year label=2010
select date_from_month label=February
select date_from_day label=18
select date_till_year label=2010
select date_till_month label=February
select date_till_day label=18
clickAndWait commit
waitForText dst_24 37063042438
open /billing/recordings/list_recordings
select date_from_year label=2009
select date_from_month label=January
select date_from_day label=1
clickAndWait commit
waitForText dst_7 37063042438
open /billing/stats/last_calls_stats
waitForText dst_24 37063042438
open /billing/stats/call_list
waitForText dst_24 37063042438
open /billing/stats/call_list_to_csv/5?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-02-18+23%3A59%3A59&direction=outgoing&test=1
verifyTextPresent 123123
open /billing/api/user_calls?u=user_reseller&p=user_reseller1&s_user=5&period_start=1266371999&period_end=1266537599&hash=3a1d0b05e1ad34d9224f95bf324037ff8c4037ce&test=1
waitForText //dst 37063042438
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/users/edit/5
check privacy_global
clickAndWait //div[@id='confirm_without_message']/input
open /billing/functions/reseller_settings
click hide_destination_ends_gui_1
click hide_destination_ends_pdf_4
clickAndWait commit
verifyTextPresent Settings saved
open /billing/users/edit/5
verifyChecked privacy_gui_1
verifyChecked privacy_csv_0
verifyChecked privacy_pdf_4
verifyNotEditable privacy_gui_1
verifyNotEditable privacy_csv_0
verifyNotEditable privacy_pdf_4
click privacy_global
waitForEditable privacy_gui_1
click privacy_gui_0
click privacy_csv_2
click privacy_pdf_0
clickAndWait //div[@id='confirm_without_message']/input
open /billing/users/edit/5
verifyNotChecked privacy_global
verifyChecked privacy_gui_0
verifyChecked privacy_csv_2
verifyChecked privacy_pdf_0
click privacy_global
waitForNotEditable privacy_gui_1
verifyChecked privacy_gui_1
verifyChecked privacy_csv_0
verifyChecked privacy_pdf_4
click privacy_global
waitForEditable privacy_gui_1
click privacy_gui_0
click privacy_csv_2
click privacy_pdf_0