open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
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=2009 |
select |
date_from_month |
label=January |
select |
date_from_day |
label=2 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=January |
select |
date_till_day |
label=2 |
clickAndWait |
commit |
|
verifyText |
total_billed_orig |
4.0000 USD |
verifyText |
total_billed_term |
4.0000 USD |
verifyText |
total_duration |
00:02:20 |
verifyText |
total_answ_calls |
4 |
verifyText |
id=total_calls_0 |
4 |
verifyText |
total_acd |
00:00:35 |
verifyText |
total_ast |
100.0000 % |
verifyTextPresent |
Lithuania MOB Lithuania mobile (3706) |
|
click |
destination_grouping_2 |
|
clickAndWait |
commit |
|
verifyTextPresent |
Lithuania MOB |
|
select |
originator |
label=System Admin |
select |
terminator |
label=test_terminator |
type |
prefix |
370 |
clickAndWait |
commit |
|
verifyTextPresent |
Records: 0 |
|
verifyTextPresent |
Pages: 0 |
|
open |
/billing/calls/summary |
|
verifyText |
term_calls |
4 |
verifyText |
term_exact_min |
00:02:20 |
verifyText |
term_amount |
4.0000 USD |
verifyText |
orig_calls |
4 |
verifyText |
orig_exact_min |
00:02:20 |
verifyText |
orig_amount |
23.0000 USD |
open |
/billing/stats/profit |
|
verifyText |
number_total_self_price |
4.0000 |
verifyTextPresent |
00:00:35 |
|
verifyTextPresent |
00:02:20 |
|
open |
/billing/stats/show_user_stats |
|
select |
date_from_month |
label=January |
select |
date_from_year |
label=2009 |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=January |
select |
date_till_day |
label=2 |
clickAndWait |
commit |
|
clickAndWait |
user_1 |
|
verifyText |
row_0_user |
Test User #1 |
clickAndWait |
user_0 |
|
verifyText |
row_0_user |
System Admin |
verifyText |
row_0_time |
00:00:20 |
verifyText |
row_2_time |
00:00:40 |
verifyText |
row_3_time |
00:00:30 |
verifyText |
row_0_calls |
1 |
verifyText |
row_2_calls |
1 |
verifyText |
row_3_calls |
1 |
verifyText |
total_calls |
3 |
verifyText |
total_time |
00:01:30 |
verifyText |
row_0_acd |
00:00:20 |
verifyText |
row_2_acd |
00:00:40 |
verifyText |
row_3_acd |
00:00:30 |
verifyText |
total_acd |
00:00:30 |
verifyText |
row_0_asr |
100.0000 % |
verifyText |
row_2_asr |
100.0000 % |
verifyText |
row_3_asr |
100.0000 % |
open |
/billing/stats/call_list |
|
click |
link=Search |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=January |
select |
date_from_day |
label=1 |
select |
direction |
label=Outgoing |
clickAndWait |
commit |
|
open |
/billing/stats/call_list_to_csv/0?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-01-02+23%3A59%3A59&direction=outgoing&test=1 |
|
verifyTextPresent |
2009-01-01 00:00:01 |
|
verifyTextPresent |
50 |
|
open |
/billing/stats/call_list |
|
verifyElementPresent |
hgc |
|
select |
hgc |
label=2 - No route to specified transit network (nat |
clickAndWait |
commit |
|
verifyTextPresent |
No calls... |
|
select |
hgc |
label=16 - Normal call clearing. This cause indicate |
clickAndWait |
commit |
|
verifyTextPresent |
101 |
|
open |
/billing/stats/call_list_to_csv/0?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-01-02+23%3A59%3A59&direction=outgoing&test=1&hgc=331 |
|
verifyTextPresent |
profit: "1" |
|
open |
/billing/stats/call_list_to_csv/0?call_type=all&date_from=2009-01-01+00%3A00%3A00&date_till=2009-01-02+23%3A59%3A59&direction=outgoing&test=1&hgc=332 |
|
verifyTextNotPresent |
profit: "1" |
|
open |
/billing/stats/call_list |
|
verifyElementPresent |
link=System Admin |
|
click |
link=Search |
|
waitForElementPresent |
device |
|
verifyTextPresent |
IAX2/103/Test Device for Admin |
|
open |
/billing/functions/settings |
|
click |
//div[@name='visual'] |
|
type |
items_per_page |
1 |
clickAndWait |
commit |
|
open |
/billing/calls/summary |
|
clickAndWait |
link=Originator |
|
verifyText |
user_name_5 |
User Resellers |
clickAndWait |
link=2 |
|
verifyText |
user_name_2 |
Test User #1 |
clickAndWait |
link=Originator |
|
verifyText |
user_name_0 |
System Admin |
open |
/billing/test/load_delta_sql/calls_per_day |
|
open |
/billing/stats/calls_per_day |
|
select |
date_from_year |
label=2011 |
select |
date_till_year |
label=2011 |
clickAndWait |
commit |
|
verifyText |
total_calls |
3 |
verifyText |
total_duration |
00:01:00 |
verifyText |
total_asr |
0.0000 % |
verifyText |
total_failed |
3 |
verifyText |
total_failed_percent |
100.0000 % |
verifyText |
total_user_price |
9.0000 |
verifyText |
total_provider_price |
3.0000 |
verifyText |
total_profit |
6.0000 |
verifyText |
total_margi |
66.6667 % |
verifyText |
total_markup |
200.0000 % |