open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/stats/action_log |
|
select |
user_id |
label=System Admin |
select |
action_type |
label=login |
select |
processed |
label=not reviewed |
clickAndWait |
commit |
|
verifySelectedValue |
user_id |
0 |
verifySelectedValue |
action_type |
login |
verifySelectedValue |
processed |
0 |
verifyText |
type_3 |
login |
verifyText |
link=System Admin |
System Admin |
verifyText |
cross_3 |
|
verifyText |
user_3 |
System Admin |
select |
date_from_year |
label=2010 |
select |
date_from_month |
label=January |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2010 |
select |
date_till_month |
label=January |
select |
date_till_day |
label=1 |
select |
date_till_hour |
label=23 |
select |
date_till_minute |
label=59 |
select |
action_type |
label=test_time |
clickAndWait |
commit |
|
verifyText |
type_1 |
test_time |
verifyText |
type_2 |
test_time |
open |
billing/stats/first_activity |
|
select |
date_from_year |
label=2006 |
clickAndWait |
commit |
|
verifyTextPresent |
2009-01-01 00:00:01 |
|
verifyTextPresent |
2009-01-01 00:00:02 |
|
verifyTextPresent |
2009-01-01 00:00:03 |
|
verifyTextPresent |
2009-01-01 00:00:04 |
|
open |
billing/functions/settings |
|
click |
//div[@name='various'] |
|
type |
items_per_page |
1 |
clickAndWait |
commit |
|
open |
billing/stats/first_activity |
|
verifyElementPresent |
page_1 |
|
clickAndWait |
link=4 |
|
verifyElementPresent |
page_4 |
|
open |
billing/stats/first_activity?page=5 |
|
verifyElementPresent |
page_4 |
|
open |
billing/stats/first_activity?page=-1 |
|
verifyElementPresent |
page_1 |
|
open |
/billing/stats/show_user_stats |
|
verifyElementPresent |
date_from_hour |
|
verifyElementPresent |
date_from_minute |
|
verifyElementPresent |
date_till_hour |
|
verifyElementPresent |
date_till_minute |
|
open |
/billing/stats/hangup_cause_codes_stats |
|
open |
/billing/stats/hangup_calls?direction=-1&hid=331&provider_id=-1 |
|
verifyTextPresent |
37046246362 |
|
open |
/billing/stats/hangup_calls?direction=-1&provider_id=-1 |
|
verifyTextPresent |
37046246362 |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/stats/last_calls_stats |
|
select |
id=date_from_year |
label=2008 |
clickAndWait |
name=commit |
|
open |
/billing/stats/hangup_cause_codes_stats |
|
select |
date_from_year |
label=2007 |
select |
date_till_year |
label=2010 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=21 |
clickAndWait |
commit |
|
open |
/billing/stats/hangup_calls?direction=-1&provider_id=-1 |
|
verifyTextPresent |
Hangup cause code was not found |
|
open |
/billing/stats/hangup_calls?direction=-1&hid=331&provider_id=-1 |
|
verifyTextPresent |
7046246362 |
|
open |
/billing/stats/hangup_cause_codes_stats |
|
verifyElementPresent |
s_user |
|
select |
s_user |
label=System Admin |
waitForElementPresent |
s_device |
|
clickAndWait |
commit |
|
verifyTextPresent |
100.0000 % |
|
select |
s_device |
label=IAX2/103 |
clickAndWait |
commit |
|
verifyTextPresent |
100.0000 % |
|
open |
/billing/stats/hangup_calls?device_id=5&direction=-1&hid=331&provider_id=-1&s_user=0 |
|
verifyTextPresent |
123123 |
|
open |
/billing/stats/hangup_calls_to_csv?code=16&destination=-1&device_id=5&provider_id=-1&s_user=0&test=1 |
|
verifyTextPresent |
123123 |
|
open |
/billing/payments/manual_payment |
|
select |
user |
label=Test User #1 |
type |
amount |
100 |
clickAndWait |
commit |
|
clickAndWait |
commit |
|
verifyTextPresent |
Payment added |
|
open |
/billing/users/edit/2 |
|
type |
tax1_value |
20 |
type |
tax2_value |
40 |
check |
tax2_enabled |
|
type |
tax2_name |
tax2 |
clickAndWait |
//div[@id='confirm_without_message']/input |
|
verifyTextPresent |
User's settings succesfully changed: Test User #1 |
|
open |
/billing/users/list |
|
clickAndWait |
link=4 |
|
clickAndWait |
//img[@alt='Application_key'] |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
100.0000 USD (168.0000 USD With TAX) |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/users/edit/2 |
|
uncheck |
tax2_enabled |
|
type |
tax1_value |
0 |
clickAndWait |
//div[@id='confirm_without_message']/input |
|
open |
/billing/users/list |
|
clickAndWait |
link=4 |
|
clickAndWait |
//img[@alt='Application_key'] |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
100.0000 USD |
|
verifyTextNotPresent |
100.0000 USD (100.0000 USD With TAX) |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/stats/show_user_stats |
|
select |
date_from_year |
label=2008 |
clickAndWait |
commit |
|
open |
/billing/permissions/list?group_type=accountant |
|
type |
name |
Test_accountant |
clickAndWait |
//input[@type='image'] |
|
clickAndWait |
//img[@alt='Edit'] |
|
click |
user_manage_2 |
|
clickAndWait |
commit |
|
open |
/billing/users/edit/4 |
|
clickAndWait |
//div[@id='confirm_without_message']/input |
|
open |
/billing/stats/providers_calls/1 |
|
select |
date_from_year |
label=2005 |
select |
date_from_month |
label=February |
select |
date_from_day |
label=1 |
select |
date_till_year |
label=2010 |
select |
date_till_month |
label=June |
select |
date_till_day |
label=21 |
clickAndWait |
commit |
|
clickAndWait |
link=2 |
|
verifyText |
user_price_27 |
4.0000 |
open |
/billing/stats/providers_calls_to_csv/1?call_type=all&date_from=2005-02-01+00%3A00%3A00&date_till=2011-02-01+23%3A59%3A59&direction=outgoing&test=1 |
|
verifyTextPresent |
provider_price3: "1" |
|
verifyTextPresent |
billsec: "50" |
|
verifyTextPresent |
m1: "75" |
|
verifyTextPresent |
profit: "3" |
|
verifyTextPresent |
disposition: ANSWERED |
|
verifyTextPresent |
dst: "123123" |
|
verifyTextPresent |
calldate: 2009-01-01 00:00:01 |
|
verifyTextPresent |
user_price3 |
|
open |
/billing/stats/providers_calls/1?call_type=all&direction=outgoing |
|
select |
direction |
label=Incoming |
clickAndWait |
//input[@name='commit' and @value='Change type'] |
|
verifyText |
user_price_16 |
4.0000 |
open |
/billing/stats/providers_calls_to_csv/1?call_type=all&date_from=2005-02-01+00%3A00%3A00&date_till=2011-02-01+23%3A59%3A59&direction=incoming&test=1 |
|
verifyTextPresent |
provider_price3: "4" |
|
verifyTextPresent |
billsec: "50" |
|
verifyTextPresent |
m1: "0" |
|
verifyTextPresent |
profit: "0" |
|
verifyTextNotPresent |
ANSWERED dst: "123123" calldate: 2009-01-01 00:00:01 user_price3: |
|
open |
/billing/users/list |
|
verifyElementPresent |
user_log_link_0 |
|
clickAndWait |
user_log_link_0 |
|
verifyElementPresent |
action_type |
|
verifyTextPresent |
System Admin |
|
verifyElementPresent |
link=User |
|
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
open |
/billing/users/list |
|
verifyElementNotPresent |
user_log_link_5 |
|
open |
/billing/callc/logout |
|
type |
login_username |
accountant |
type |
login_psw |
accountant1 |
clickAndWait |
commit |
|
open |
/billing/users/list |
|
verifyElementNotPresent |
user_log_link_5 |
|
verifyElementPresent |
user_log_link_0 |
|
clickAndWait |
user_log_link_0 |
|
verifyElementPresent |
action_type |
|
open |
/billing/callc/logout |
|
type |
login_username |
101 |
type |
login_psw |
1011 |
clickAndWait |
commit |
|
open |
/billing/devices/user_device_edit/5 |
|
waitForTextPresent |
Don't be so smart... |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/stats/action_log |
|
select |
action_type |
label=hacking_attempt |
clickAndWait |
commit |
|
assertTextPresent |
"controller"=>"devices" |
|
assertTextPresent |
"id"=>"5" |
|
assertTextPresent |
"action"=>"user_device_edit" |
|
open |
/billing/stats/users_finances |
|
verifyElementPresent |
user_id_0 |
|
click |
link=Search |
|
verifyElementPresent |
s_balance_min |
|
type |
s_balance_min |
7 |
type |
s_balance_max |
|
clickAndWait |
commit |
|
verifyElementPresent |
user_id_2 |
|
open |
/billing/stats/prefix_finder |
|
type |
search |
370 |
keyUp |
search |
w |
waitForElementPresent |
results |
|
waitForTextPresent |
Destination group : Lithuania |
|
verifyElementPresent |
link=Destination group : Lithuania |
|
open |
/billing/callc/logout |
|
type |
login_username |
accountant |
type |
login_psw |
accountant1 |
clickAndWait |
commit |
|
open |
/billing/stats/active_calls |
|
verifyElementPresent |
duration_0 |
|
verifyElementPresent |
duration_1 |
|
verifyElementPresent |
active_calls_link |
|
verifyText |
active_calls_link |
4 |
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/stats/users_finances |
|
verifyText |
link=1 |
1 |
verifyText |
link=4 |
4 |
verifyText |
user_id_0 |
System Admin |
clickAndWait |
link=4 |
|
verifyText |
user_id_4 |
Test Accountant |
open |
/billing/stats/users_finances |
|
verifyText |
link=1 |
1 |
verifyText |
link=4 |
4 |
verifyText |
user_id_4 |
Test Accountant |
type |
s_username |
admin |
clickAndWait |
commit |
|
verifyElementNotPresent |
link=1 |
1 |
verifyElementNotPresent |
link=4 |
|
verifyText |
user_id_0 |
System Admin |
open |
/billing/functions/settings |
|
type |
items_per_page |
100 |
clickAndWait |
commit |
|
verifyTextPresent |
Settings saved |
|
open |
/billing/cards/list?cg=1 |
|
clickAndWait |
link=Add cards |
|
type |
start_number |
1111111020 |
type |
end_number |
1111111021 |
clickAndWait |
commit |
|
clickAndWait |
//input[@value='Ok'] |
|
open |
/billing/stats/last_calls_stats |
|
select |
date_from_year |
label=2007 |
clickAndWait |
commit |
|
verifyText |
id=card_27 |
Card/#1111111021 |
clickAndWait |
link=Card/#1111111021 |
|
waitForTextPresent |
Test_cardgroup |
|
verifyText |
//p[3] |
Balance (Without TAX): 10.0840 |
verifyTextPresent |
Daily charge paid till: |
|
verifyTextPresent |
Language : |
|
verifyText |
css=p |
Number: 1111111021 |
open |
/billing/stats/active_calls_order |
|
verifyTextPresent |
Start time |
|
open |
/billing/stats/active_calls_show |
|
verifyTextPresent |
Start time |
|
open |
/billing/callc/logout |
|
open |
/billing/stats/active_calls_order |
|
verifyTextPresent |
Please enter your Username and Password |
|
open |
/billing/stats/active_calls_show |
|
verifyTextPresent |
Please enter your Username and Password |
|
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/stats/last_calls_stats |
|
select |
id=date_from_year |
label=2007 |
clickAndWait |
name=commit |
|
waitForText |
id=dst_22 |
37063042438 |
verifyText |
id=card_27 |
Card/#1111111021 |
verifyElementNotPresent |
link=Card/#1111111021 |
|