date_format
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/vouchers/bulk_management
waitForElementPresent v_atill
select v_atill label=2017-01-01
waitForElementPresent v_atill label=2017-01-01
open /billing/accounting/generate_invoices
select date_from_month label=January
select date_till_month label=January
select date_from_day label=15
select date_till_day label=15
select date_from_year label=2010
select date_till_year label=2010
clickAndWait commit
assertConfirmation Are you sure?
verifyTextPresent 2010-01-15 - 2010-01-15
open /billing/accounting/invoices
verifyText inv_period_start_1 2010-01-15
verifyText inv_period_end_1 2010-01-15
clickAndWait //img[@alt='Details']
verifyText period_start 2010-01-15
verifyText period_end 2010-01-15
open /billing/accounting/invoice_details/1
verifyTextPresent 2010-01-15
verifyText period_end 2010-01-15
open /billing/dids/dids_interval_rates
verifyTextPresent No DIDs found. Please check interval
verifyTextNotPresent 00:00:00
verifyTextNotPresent 23:59:59
open /billing/dids/new
type did_start 37060012345
type did_end 37060012350
clickAndWait //input[4]
clickAndWait commit
open /billing/dids/bulk_management
waitForElementPresent commit
type did_start 37060012345
type did_end 37060012350
click did_action_3
clickAndWait commit
verifyTextPresent DID interval: 37060012345 - 37060012350
verifyTextPresent 00:00:00
verifyTextPresent 23:59:59
open /billing/stats/action_log
select date_from_year label=2006
select date_from_day label=1
clickAndWait commit
verifyText date_1 2010-01-01 00:00:01
clickAndWait commit
open /billing/functions/call_tracing
clickAndWait commit
type destination 1234
clickAndWait commit
verifyTextPresent 2006-01-01 00:00:00 (Free Day)
verifyTextPresent 00:00:00-23:59:59
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent 2009-01-01 00:00:01
open /billing/functions/settings
verifyElementPresent date_format
verifySelectedLabel date_format Y-m-d H:M:S
select date_format label=m/d/Y H:M:S
clickAndWait commit
open /billing/vouchers/bulk_management
select v_atill label=01/01/2017
open /billing/accounting/generate_invoices
select date_from_month label=January
select date_till_month label=January
clickAndWait commit
assertConfirmation Are you sure?
verifyTextPresent 01/01/2006 - 01/15/2010
open /billing/accounting/invoices
verifyText inv_period_end_2 01/15/2010
verifyText inv_period_end_2 01/15/2010
clickAndWait //img[@alt='Details']
verifyText period_start 01/01/2006
verifyText period_end 01/15/2010
open /billing/accounting/invoice_details/1
verifyTextPresent 01/15/2010
verifyText period_end 01/15/2010
open /billing/dids/dids_interval_rates
verifyTextPresent No DIDs found. Please check interval
verifyTextNotPresent 00:00:00
verifyTextNotPresent 23:59:59
open /billing/dids/new
type did_start 37060012345
type did_end 37060012350
clickAndWait //input[4]
clickAndWait commit
open /billing/dids/bulk_management
waitForElementPresent commit
type did_start 37060012345
type did_end 37060012350
click did_action_3
clickAndWait commit
verifyTextPresent DID interval: 37060012345 - 37060012350
verifyTextPresent 00:00:00
verifyTextPresent 23:59:59
open /billing/stats/action_log
select date_from_year label=2006
select date_from_day label=1
clickAndWait commit
verifyText date_1 01/01/2010 00:00:01
clickAndWait commit
open /billing/functions/call_tracing
clickAndWait commit
type destination 1234
clickAndWait commit
verifyTextPresent 01/01/2006 00:00:00 (Free Day)
verifyTextPresent 00:00:00-23:59:59
open /billing/stats/last_calls_stats?csv=1&test=1
verifyTextPresent 01/01/2009 00:00:01
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/functions/reseller_settings
verifyElementPresent date_format
verifySelectedLabel date_format Y-m-d H:M:S
select date_format label=d,m,Y H:M:S
clickAndWait commit
open /billing/stats/last_calls_stats
select date_from_year label=2008
clickAndWait commit
select date_from_year label=2005
clickAndWait commit
verifyText calldate_23 01,01,2008 00:00:04
open /billing/stats/call_list
verifyText calldate_11 01,01,2009 00:00:03
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/stats/call_list
click link=Search
select date_from_year label=2008
clickAndWait commit
select date_from_year label=2005
clickAndWait commit
verifyText calldate_9 01/01/2009 00:00:01
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
open /billing/stats/call_list
click link=Search
select date_from_year label=2008
clickAndWait commit
select date_from_year label=2005
clickAndWait commit
verifyText calldate_10 01/01/2009 00:00:02