open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/functions/settings |
|
click |
//div[@name='visual'] |
|
waitForTextPresent |
Default Number Decimal: |
|
verifyText |
global_number_decimal |
. , ; |
select |
name=global_number_decimal |
label=; |
clickAndWait |
name=commit |
|
waitForTextPresent |
Settings saved |
|
open |
/billing/users/list |
|
verifyText |
balance_0 |
0;0000 |
open |
/billing/tariffs/rate_details/140 |
|
verifyText |
id=rate_140 |
0;0000 |
verifyText |
id=connection_fee_140 |
0;0000 |
open |
/billing/tariffs/ratedetail_edit/140 |
|
type |
id=ratedetail_rate |
5,8 |
type |
id=ratedetail_connection_fee |
0,6 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Rate detail was successfully updated |
|
verifyText |
id=rate_140 |
5;0000 |
verifyText |
id=connection_fee_140 |
0;0000 |
open |
/billing/tariffs/user_rates_list/4?st=L |
|
type |
id=rate249 |
7,9 |
type |
id=rate250 |
7,9 |
type |
id=rate251 |
7,9 |
clickAndWait |
css=th > input[name="commit"] |
|
waitForTextPresent |
Rates updated |
|
verifyValue |
id=rate249 |
7 |
verifyValue |
id=rate250 |
7 |
verifyValue |
id=rate251 |
7 |
open |
/billing/users/edit/3 |
|
verifyText |
id=user_balance_value |
0;0000 USD |
open |
/billing/services/list |
|
verifyText |
price_1 |
10;0000 |
open |
/billing/accounting/invoices |
|
clickAndWait |
id=link_generate_invoices |
|
waitForTextPresent |
Please select period to generate invoices: |
|
select |
id=date_from_year |
label=2011 |
select |
id=date_from_month |
label=September |
select |
id=date_from_day |
label=1 |
select |
id=date_till_year |
label=2011 |
select |
id=date_till_month |
label=September |
select |
id=date_till_day |
label=31 |
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoices |
|
assertText |
id=inv_price_1 |
10;0000 |
assertText |
id=inv_full_price_1 |
10;0000 |
assertText |
id=total |
10;0000 |
assertText |
id=total_wat |
10;0000 |
open |
/billing/payments/list |
|
select |
id=date_from_year |
label=2007 |
select |
id=date_from_month |
label=January |
select |
id=date_from_day |
label=1 |
select |
id=date_from_hour |
label=01 |
select |
id=date_from_minute |
label=01 |
select |
id=date_till_year |
label=2012 |
select |
id=date_till_month |
label=December |
select |
id=date_till_day |
label=31 |
select |
id=date_till_hour |
label=22 |
select |
id=date_till_minute |
label=58 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Batch Card sale |
|
verifyText |
id=amount_2 |
-0;6000 |
verifyText |
id=amount_5 |
10;0000 |
verifyText |
id=fee_2 |
0;0000 |
verifyText |
id=fee_7 |
0;0000 |
verifyText |
id=amout_with_tax_2 |
-0;6000 |
verifyText |
id=amout_with_tax_7 |
10;5000 |
verifyText |
id=total_amount |
79;4000(USD) |
verifyText |
id=total_fee_completed |
0;6000(USD) |
verifyText |
id=total_with_tax |
83;4000(USD) |
open |
/billing/accounting/invoice_details/1 |
|
assertText |
id=price |
10;0000 |
assertText |
id=full_price |
10;0000 |
assertText |
id=id_price_1 |
10;0000 |
assertText |
id=id_total_price_1 |
10;0000 |
open |
/billing/vouchers/vouchers |
|
verifyText |
id=credit_without_tax_1 |
20;0000 |
verifyText |
id=credit_with_tax_1 |
20;0000 |
open |
/billing/cardgroups/list |
|
verifyText |
count_tax_amount_1 |
10;0840 |
verifyText |
price_usd_1 |
10;0840 |
open |
/billing/cards/list?cg=1 |
|
verifyText |
id=balance_9 |
10;0840 |
open |
/billing/recordings/recordings |
|
verifyText |
id=rec_size_8 |
425;2578 Kb |
verifyText |
id=rec_size_5 |
96;4502 Kb |
open |
/billing/recordings/list_users |
|
verifyValue |
id=recording_hdd_quota_0 |
0;0001 |
open |
/billing/monitorings |
|
verifyValue |
id=amount_above |
0.0 |
open |
/billing/stats/calls_per_day |
|
verifyText |
//div[@id='table']/table/tbody/tr[5]/td[5] |
100;0000 % |
verifyText |
//div[@id='table']/table/tbody/tr[6]/td[5] |
33;3333 % |
verifyText |
//div[@id='table']/table/tbody/tr[3]/td[7] |
0;0000% |
verifyText |
//div[@id='table']/table/tbody/tr[7]/td[7] |
0;0000% |
verifyText |
//div[@id='table']/table/tbody/tr[4]/td[8] |
13;0000 |
verifyText |
//div[@id='table']/table/tbody/tr[8]/td[8] |
3;0000 |
verifyText |
//div[@id='table']/table/tbody/tr[3]/td[9] |
5;0000 |
verifyText |
//div[@id='table']/table/tbody/tr[7]/td[9] |
10;0000 |
verifyText |
//div[@id='table']/table/tbody/tr[3]/td[10] |
26;0000 |
verifyText |
//div[@id='table']/table/tbody/tr[7]/td[10] |
6;0000 |
waitForText |
//div[@id='table']/table/tbody/tr[3]/td[11] |
83;8710 % |
waitForText |
//div[@id='table']/table/tbody/tr[7]/td[11] |
37;5000 % |
verifyText |
//div[@id='table']/table/tbody/tr[4]/td[12] |
225;0000 % |
verifyText |
//div[@id='table']/table/tbody/tr[7]/td[12] |
60;0000 % |
verifyText |
id=total_markup |
310;7143 % |
verifyText |
id=total_margi |
75;6522 % |
verifyText |
id=total_profit |
87;0000 |
verifyText |
id=total_provider_price |
28;0000 |
verifyText |
id=total_user_price |
115;0000 |
verifyText |
id=total_failed_percent |
10;0000 % |
verifyText |
id=total_asr |
90;0000 % |
open |
/billing/stats/last_calls_stats |
|
verifyText |
id=provider_rate_17 |
0;0000 |
verifyText |
id=provider_price_23 |
1;0000 |
verifyText |
id=reseller_rate_20 |
0;0000 |
verifyText |
id=reseller_price_14 |
0;0000 |
verifyText |
id=user_rate_9 |
0;0000 |
verifyText |
id=user_price_12 |
4;0000 |
verifyText |
id=did_prov_price_13 |
1;0000 |
verifyText |
id=did_inc_price_15 |
3;0000 |
verifyText |
id=did_price_14 |
1;0000 |
verifyText |
id=profit_10 |
2;0000 |
verifyText |
id=total_provider_price |
28;0000 |
verifyText |
id=total_reseller_price |
36;0000 |
verifyText |
id=total_user_price |
69;0000 |
verifyText |
id=total_did_prov_price |
46;0000 |
verifyText |
id=total_did_inc_price |
46;0000 |
verifyText |
id=total_did_price |
5;0000 |
verifyText |
id=total_profit |
87;0000 |
open |
/billing/stats/loss_making_calls |
|
verifyText |
id=provider_rate_27 |
0;0000 |
verifyText |
id=difference_27 |
0;0000 |
verifyText |
id=user_price_26 |
2;0000 |
verifyText |
id=provider_price_27 |
5;0000 |
verifyText |
id=loss_27 |
3;0000 |
verifyText |
id=total_loss |
6;0000 |
verifyText |
id=user_rate_26 |
0;0000 |
open |
/billing/stats/profit |
|
verifyText |
id=number_total_call_price |
99;0000 |
verifyText |
id=number_total_self_price |
26;0000 |
verifyText |
id=number_calls_profit |
73;0000 |
waitForText |
id=number_avg_profit_per_min |
6;4412 |
waitForText |
id=avg_profit_per_call |
4;0556 |
waitForText |
id=avg_profit_per_day |
0;0333 |
waitForText |
id=avg_profit_per_user |
14;6000 |
waitForText |
id=subscription_profit |
453;2258 |
verifyText |
id=number_total_profit |
526;2258 |
verifyText |
id=percent_answer_calls |
90;0000 % |
verifyText |
id=percent_no_ans_calls |
0;0000 % |
verifyText |
id=percent_busy_calls |
10;0000 % |
verifyText |
id=percent_erro_calls |
0;0000 % |
verifyText |
total_percent |
100;0000 % |
verifyText |
total_selfcost_percent |
26;2626 % |
verifyText |
id=percent_calls_profit |
73;7374 % |
open |
/billing/stats/country_stats |
|
verifyText |
selfcost_250 |
21;0000 |
verifyText |
price_448 |
16;0000 |
verifyText |
new_price_250 |
62;0000 |
verifyText |
calls_profit |
73;0000 |
verifyText |
price |
99;0000 |
verifyText |
selfcost |
26;0000 |
open |
/billing/stats/dids |
|
verifyText |
did_inc_price_1 |
12;0000 |
verifyText |
dids_total_inc_price |
12;0000 |
verifyText |
did_price_1 |
5;0000 |
verifyText |
dids_total_price |
5;0000 |
verifyText |
did_prov_price_1 |
12;0000 |
verifyText |
dids_total_price_provider |
12;0000 |
verifyText |
did_profit_1 |
29;0000 |
verifyText |
dids_total_profit |
29;0000 |
open |
/billing/stats/faxes |
|
verifyText |
size_on_hdd_2 |
0;0000 |
verifyText |
total_size_on_hdd |
0;0000 |
open |
/billing/stats/hangup_cause_codes_stats |
|
verifyText |
//div[@id='table']/table[2]/tbody/tr[2]/td[4] |
100;0000 % |
open |
/billing/stats/providers |
|
verifyText |
id=asr_1 |
90;0000 % |
verifyText |
id=tasr |
90;0000 % |
verifyText |
id=price_1 |
28;0000 |
verifyText |
id=tp |
28;0000 |
verifyText |
id=price2_1 |
69;0000 |
verifyText |
id=tup |
69;0000 |
verifyText |
id=price3_1 |
41;0000 |
verifyText |
id=tprofit |
41;0000 |
open |
/billing/callc/main |
|
waitForTextPresent |
0;0000 |
|
open |
/billing/users/personal_details |
|
waitForText |
id=balance |
0;0000 USD |
open |
/billing/tariffs/user_rates |
|
verifyText |
id=e_rate_252 |
0;0000 |
verifyText |
//tr[@id='rate_255']/td[6] |
0;0000 |
verifyText |
id=c_fee_260 |
0;0000 |
verifyText |
id=e_rate_265 |
0;0000 |
open |
/billing/functions/call_tracing |
|
select |
id=user |
label=Test Reseller (3) |
clickAndWait |
name=commit |
|
waitForTextPresent |
Everything is OK for now. Please select other details to proceed |
|
type |
id=destination |
37060017219 |
clickAndWait |
name=commit |
|
waitForTextPresent |
SUCCESS! Based on given data call will go through! |
|
verifyText |
id=price |
7;000000 |
verifyText |
id=price_1 |
5;000000 |
open |
/billing/sms/tariff_new |
|
type |
id=tariff_name |
sms_tariff_for_provider |
select |
name=tariff[tariff_type] |
label=Provider |
clickAndWait |
name=commit |
|
waitForTextPresent |
SMS Tariff created |
|
open |
/billing/sms/tariff_new |
|
type |
id=tariff_name |
sms_tariff_for_user |
clickAndWait |
name=commit |
|
waitForTextPresent |
SMS Tariff created |
|
open |
/billing/sms/rate_new/1?st=A |
|
type |
id=rate_2 |
6 |
type |
id=rate_18 |
7.7 |
type |
id=rate_28 |
8;8 |
type |
id=rate_43 |
3,9 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Rates updated |
|
verifyValue |
id=rate_1_price |
6.0 |
verifyValue |
id=rate_2_price |
7.7 |
verifyValue |
id=rate_3_price |
8.0 |
verifyValue |
id=rate_4_price |
3.0 |
open |
/billing/sms/rate_new/2?st=A |
|
type |
id=rate_2 |
7 |
type |
id=rate_18 |
8.9 |
type |
id=rate_28 |
3;4 |
type |
id=rate_43 |
4,9 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Rates updated |
|
verifyValue |
id=rate_5_price |
7.0 |
verifyValue |
id=rate_6_price |
8.9 |
verifyValue |
id=rate_7_price |
3.0 |
verifyValue |
id=rate_8_price |
4.0 |
open |
/billing/calls/aggregate |
|
verifyText |
id=total_billed_orig |
0;0000 USD |
verifyText |
id=total_billed_term |
0;0000 USD |
verifyText |
id=total_ast |
0;0000 % |