aggregate_billsec
setTimeout 60000
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/aggregate_billsec_zero
open /billing/terminators/list
type name test_terminator
clickAndWait //input[@type='image']
clickAndWait provider_link_1
clickAndWait //input[@type='image']
verifyTextPresent Provider assigned
open /billing/calls/aggregate
select date_from_year label=2010
select date_from_month label=January
select date_from_day label=1
select date_from_hour label=00
select date_from_minute label=01
select date_till_year label=2010
select date_till_month label=January
select date_till_day label=1
select date_till_hour label=02
select date_till_minute label=01
clickAndWait commit
waitForText dir_name_0 Lithuania MOB Lithuania mobile (3706)
verifyText duration_0 00:01:40
verifyTextNotPresent 00:00:00
open /billing/functions/settings
click //div[@name='visual']
select name=global_number_decimal label=;
waitForTextPresent Default Number Decimal:
verifyText global_number_decimal . , ;
select name=global_number_decimal label=;
clickAndWait name=commit
waitForTextPresent Settings saved
open /billing/calls/aggregate
select date_from_year label=2010
select date_from_month label=January
select date_from_day label=1
select date_from_hour label=00
select date_from_minute label=01
select date_till_year label=2010
select date_till_month label=January
select date_till_day label=1
select date_till_hour label=02
select date_till_minute label=01
clickAndWait commit
waitForText price_orig_0 2;0000 USD
verifyText id=total_billed_orig 2;0000 USD
verifyText price_term_0 1;0000 USD
waitForText id=total_billed_term 1;0000 USD
waitForText asr_0 100;0000 %
verifyText asr_0 100;0000 %
verifyText id=total_ast 100;0000 %