open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/functions/settings |
|
type |
invoice_number_start |
INV |
type |
invoice_number_length |
9 |
click |
invoice_number_type_1 |
|
type |
prepaid_invoice_number_start |
INV |
type |
prepaid_invoice_number_length |
9 |
click |
prepaid_invoice_number_type_1 |
|
clickAndWait |
commit |
|
verifyTextPresent |
Settings saved |
|
open |
/billing/services/new |
|
click |
service_servicetype_flat_rate |
|
type |
service[price] |
-1 |
type |
service_quantity |
-1 |
clickAndWait |
commit |
|
verifyTextPresent |
Service must have name |
|
type |
service_name |
Test_flatrate |
click |
service_servicetype_flat_rate |
|
type |
service[price] |
20 |
type |
service_quantity |
1000 |
clickAndWait |
commit |
|
verifyTextPresent |
Service was successfully created |
|
verifyTextPresent |
Test_flatrate |
|
verifyText |
servicetype_2 |
Flat-Rate |
verifyTextPresent |
20.0 |
|
verifyTextPresent |
1000 |
|
open |
/billing/services/destinations/888888 |
|
verifyTextPresent |
Service not found |
|
open |
/billing/services/destinations/2 |
|
type |
search_1 |
370 |
waitForTextPresent |
Lithuania FIX Lithuania proper |
|
clickAndWait |
prefix_find_submit |
|
verifyTextPresent |
Flat-Rate Destination created |
|
click |
link=Add new destinations |
|
type |
search_1 |
3706 |
waitForTextPresent |
Lithuania MOB Lithuania mobile |
|
select |
enabled_1 |
label=Exclude |
clickAndWait |
prefix_find_submit |
|
verifyTextPresent |
Flat-Rate Destination created |
|
click |
link=Add new destinations |
|
type |
search_1 |
37065 |
waitForTextPresent |
Lithuania MOB Lithuania mobile-Bite |
|
clickAndWait |
prefix_find_submit |
|
verifyTextPresent |
Flat-Rate Destination created |
|
click |
link=Add new destinations |
|
select |
direction |
label=Lithuania |
waitForSelectedValue |
pre |
3708 |
select |
enabled |
label=Include |
select |
pre |
label=37037 - FIX Lithuania Kaunas |
clickAndWait |
country_find_submit |
|
verifyTextPresent |
Flat-Rate Destination created |
|
verifyText |
dest_prefix_3 |
37037 |
verifyText |
dest_name_3 |
Lithuania Kaunas |
verifyText |
flat_dest_active_3 |
Included |
click |
link=Add new destinations |
|
select |
direction |
label=Lithuania |
waitForSelectedValue |
pre |
3708 |
select |
enabled |
label=Exclude |
select |
pre |
label=370462 - FIX Lithuania Klaipeda |
clickAndWait |
country_find_submit |
|
verifyTextPresent |
Flat-Rate Destination created |
|
verifyText |
dest_prefix_4 |
370462 |
verifyText |
dest_name_4 |
Lithuania Klaipeda |
verifyText |
flat_dest_active_4 |
Excluded |
open |
/billing/services/destination_prefixes/2?direction=LTU |
|
verifyTextPresent |
Service: Test_flatrate |
|
verifyTextPresent |
Lithuania Special Services |
|
verifyTextPresent |
370 |
|
verifyTextPresent |
37065 |
|
verifyTextNotPresent |
37064 |
|
open |
/billing/services/list |
|
clickAndWait |
link=New service |
|
type |
service_name |
Crud_service |
click |
service_servicetype_flat_rate |
|
type |
service[price] |
11 |
type |
service_quantity |
22 |
clickAndWait |
commit |
|
verifyTextPresent |
Service was successfully created |
|
verifyText |
name_3 |
Crud_service |
verifyText |
servicetype_3 |
Flat-Rate |
verifyText |
price_3 |
11.0000 |
verifyText |
quantity_3 |
22 |
clickAndWait |
edit_link_3 |
|
type |
service_name |
Updated_Crud_service |
type |
service[price] |
111 |
type |
service_quantity |
222 |
clickAndWait |
commit |
|
verifyTextPresent |
Service was successfully updated |
|
verifyText |
name_3 |
Updated_Crud_service |
verifyText |
servicetype_3 |
Flat-Rate |
verifyText |
price_3 |
111.0000 |
verifyText |
quantity_3 |
222 |
clickAndWait |
delete_link_3 |
|
verifyTextPresent |
Service deleted |
|
assertConfirmation |
Are you sure? |
|
open |
/billing/users/list |
|
clickAndWait |
subscriptions_link_2 |
|
clickAndWait |
add_subscription |
|
waitForElementPresent |
subscription_memo |
|
type |
subscription_memo |
Test flatrate memo. |
select |
subscription_service_id |
label=Test_flatrate, Price: 20.0 |
select |
activation_start_year |
label=2009 |
select |
activation_end_year |
label=2009 |
select |
activation_start_month |
label=May |
select |
activation_end_month |
label=June |
select |
activation_start_day |
label=15 |
select |
activation_end_day |
label=15 |
clickAndWait |
commit |
|
clickAndWait |
add_subscription |
|
waitForElementPresent |
subscription_service_id |
|
select |
subscription_service_id |
label=Test_periodic_service, Price: 10.0 |
select |
subscription_service_id |
label=Test_flatrate, Price: 20.0 |
type |
subscription_memo |
Crud memo |
select |
activation_start_year |
label=2009 |
select |
activation_end_year |
label=2009 |
select |
activation_start_month |
label=June |
select |
activation_end_month |
label=June |
select |
activation_start_day |
label=15 |
select |
activation_end_day |
label=15 |
clickAndWait |
commit |
|
verifyText |
service_name_link_3 |
Test_flatrate |
verifyText |
memo_3 |
Crud memo |
verifyText |
activation_start_3 |
2009-06-01 00:00:00 |
verifyText |
service_price_3 |
20.0000 |
verifyText |
activation_end_3 |
2009-06-30 23:59:59 |
clickAndWait |
edit_link_3 |
|
type |
memo |
Updated Crud memo |
select |
id=activation_end_year |
label=2021 |
select |
activation_end_month |
label=July |
select |
activation_end_day |
label=15 |
clickAndWait |
commit |
|
verifyText |
memo_3 |
Updated Crud memo |
verifyText |
activation_end_3 |
2021-07-31 23:59:59 |
clickAndWait |
destroy_link_3 |
|
click |
delete_delete |
|
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Subscription deleted |
|
open |
/billing/accounting/invoices |
|
clickAndWait |
link_generate_invoices |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=June |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=15 |
click |
invoice_type_user |
|
select |
user_id |
label=Test User #1 |
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoices |
|
clickAndWait |
link_generate_invoices |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=June |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=30 |
click |
invoice_type_user |
|
select |
user_id |
label=Test User #1 |
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoices |
|
clickAndWait |
link_generate_invoices |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=May |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=15 |
click |
invoice_type_user |
|
select |
user_id |
label=Test User #1 |
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoice_details/1 |
|
verifyText |
id_name_2 |
Test_flatrate - Test flatrate memo. |
verifyElementPresent |
id_quantity_2 |
|
verifyText |
id_price_2 |
20.0000 |
verifyText |
id_total_price_2 |
20.0000 |
open |
/billing/accounting/invoice_details/2 |
|
verifyText |
id_name_4 |
Test_flatrate - Test flatrate memo. |
verifyElementPresent |
id_quantity_4 |
|
verifyText |
id_price_4 |
20.0000 |
verifyText |
id_total_price_4 |
20.0000 |
open |
/billing/accounting/invoice_details/3 |
|
verifyText |
id_name_6 |
Test_flatrate - Test flatrate memo. |
verifyElementPresent |
id_quantity_6 |
|
verifyText |
id_price_6 |
40.0000 |
verifyText |
id_total_price_6 |
40.0000 |
open |
/billing/users/list |
|
clickAndWait |
edit_link_2 |
|
click |
user_postpaid_2 |
|
clickAndWait |
//div[@id='confirm_without_message']/input |
|
verifyTextPresent |
User's settings succesfully changed: Test User #1 |
|
open |
/billing/accounting/invoices |
|
click |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Invoice deleted: INV000001 |
|
open |
/billing/accounting/invoices |
|
clickAndWait |
link_generate_invoices |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=June |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=15 |
click |
invoice_type_user |
|
select |
user_id |
label=Test User #1 |
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoices |
|
click |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Invoice deleted: INV000002 |
|
open |
/billing/accounting/invoices |
|
clickAndWait |
link_generate_invoices |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=June |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=30 |
click |
invoice_type_user |
|
select |
user_id |
label=Test User #1 |
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoices |
|
click |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Invoice deleted: INV000003 |
|
open |
/billing/accounting/invoices |
|
clickAndWait |
link_generate_invoices |
|
select |
date_from_year |
label=2009 |
select |
date_from_month |
label=May |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2009 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=15 |
click |
invoice_type_user |
|
select |
user_id |
label=Test User #1 |
clickAndWait |
commit |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Invoices generated: 1 |
|
open |
/billing/accounting/invoice_details/4 |
|
verifyText |
id_name_8 |
Test_flatrate - Test flatrate memo. |
verifyElementPresent |
id_quantity_8 |
|
verifyText |
id_price_8 |
20.0000 |
verifyText |
id_total_price_8 |
20.0000 |
open |
/billing/accounting/invoice_details/5 |
|
verifyText |
id_name_10 |
Test_flatrate - Test flatrate memo. |
verifyElementPresent |
id_quantity_10 |
|
verifyText |
id_price_10 |
20.0000 |
verifyText |
id_total_price_10 |
20.0000 |
open |
/billing/accounting/invoice_details/6 |
|
verifyText |
id_name_12 |
Test_flatrate - Test flatrate memo. |
verifyElementPresent |
id_quantity_12 |
|
verifyText |
id_price_12 |
40.0000 |
verifyText |
id_total_price_12 |
40.0000 |
open |
/billing/services/subscription_edit/2 |
|
getEval |
selenium.browserbot.getCurrentWindow().document.getElementById('activation_end_year').selectedIndex = 4; |
|
getEval |
selenium.browserbot.getCurrentWindow().document.getElementById('activation_end_month').selectedIndex = 11; |
|
clickAndWait |
commit |
|
assertText |
id=time_left_2 |
16:40:00 |
open |
/billing/services/subscriptions |
|
click |
link=Search |
|
select |
date_till_year |
label=2012 |
clickAndWait |
commit |
|
assertText |
id=time_left_2 |
16:40:00 |
open |
/billing/services/subscriptions_list/2 |
|
assertText |
id=time_left_2 |
16:40:00 |
open |
/billing/callc/logout |
|
type |
login_username |
101 |
type |
login_psw |
1011 |
clickAndWait |
commit |
|
open |
/billing/services/user_subscriptions |
|
assertText |
id=time_left_2 |
16:40:00 |
open |
/billing/callc/logout |
|
type |
login_username |
101 |
type |
login_psw |
1011 |
clickAndWait |
commit |
|
open |
/billing/services/subscriptions |
|
verifyTextPresent |
You are not authorized to view this page |
|
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
open |
/billing/services/subscriptions |
|
verifyText |
page_title_icon |
Subscriptions |
open |
/billing/callc/logout |
|
type |
login_username |
accountant |
type |
login_psw |
accountant1 |
clickAndWait |
commit |
|
open |
/billing/services/subscriptions |
|
verifyTextPresent |
You are not authorized to view this page |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/services/destinations/2 |
|
click |
link=Add new destinations |
|
type |
search_1 |
1242557 |
waitForElementPresent |
results |
|
waitForText |
results |
Bahamas MOB Bahamas mobile |
clickAndWait |
prefix_find_submit |
|
verifyTextPresent |
Flat-Rate Destination created |
|
verifyText |
dest_prefix_5 |
1242557 |
open |
/billing/destinations/destroy/390 |
|
verifyTextPresent |
Direction not found |
|
open |
/billing/destinations/list/16?page=2 |
|
clickAndWait |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Destination deleted |
|
open |
/billing/services/destinations/2 |
|
verifyElementNotPresent |
dest_prefix_5 |
|