open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/functions/settings |
|
click |
//div[@id='tabTabdhtmlgoodies_tabView1_10']/span |
|
check |
allow_api |
|
check |
allow_get_api |
|
check |
xml_api_extension |
|
type |
id=api_secret_key |
secret |
clickAndWait |
commit |
|
open |
/billing/test/load_delta_sql/calls_now |
|
open |
/billing/test/test_api?u=admin&p=admin1&test=1 |
|
waitForElementPresent |
//body |
|
open |
/billing/api/user_calls?u=admin&p=admin1&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&test=1 |
|
waitForText |
//total_calls |
18 |
open |
/billing/callc/ranks?id=duration |
|
waitForTextPresent |
First name |
|
verifyText |
data2_2 |
4 |
verifyText |
//th[3]/b |
4 |
open |
/billing/stats/reseller_all_user_stats |
|
verifyTextPresent |
Don't be so smart... |
|
verifyElementNotPresent |
all_calls |
|
open |
/billing/stats/all_users_detailed |
|
waitForTextPresent |
All users detailed statistics |
|
verifyText |
all_calls |
18 |
open |
/billing/stats/user_stats |
|
waitForTextPresent |
Detailed statistics for System Admin |
|
open |
/billing/callc/logout |
|
type |
login_username |
101 |
type |
login_psw |
1011 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/api/user_calls?u=101&p=1011&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&test=1 |
|
waitForText |
//total_calls |
4 |
open |
/billing/callc/ranks?id=duration |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/stats/reseller_all_user_stats |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
outgoing_calls |
|
open |
/billing/stats/all_users_detailed |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
outgoing_calls |
|
open |
/billing/stats/user_stats |
|
waitForTextPresent |
Detailed statistics for Test User #1 |
|
verifyText |
all_calls |
4 |
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/api/user_calls?u=reseller&p=reseller1&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&test=1 |
|
waitForText |
//total_calls |
9 |
open |
/billing/callc/ranks?id=duration |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
outgoing_calls |
|
open |
/billing/stats/reseller_all_user_stats |
|
waitForTextPresent |
Detailed statistics for Test Reseller |
|
verifyText |
outgoing_calls |
9 |
open |
/billing/stats/all_users_detailed |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
all_calls |
|
open |
/billing/stats/user_stats |
|
waitForTextPresent |
Detailed statistics for Test Reseller |
|
open |
/billing/callc/logout |
|
type |
login_username |
accountant |
type |
login_psw |
accountant1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/api/user_calls?u=accountant&p=accountant1&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&test=1 |
|
waitForText |
//total_calls |
18 |
open |
/billing/callc/ranks?id=duration |
|
waitForTextPresent |
First name |
|
verifyText |
data2_2 |
4 |
verifyText |
//th[3]/b |
4 |
open |
/billing/stats/reseller_all_user_stats |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
outgoing_calls |
|
open |
/billing/stats/all_users_detailed |
|
waitForTextPresent |
All users detailed statistics |
|
verifyText |
all_calls |
18 |
open |
/billing/stats/user_stats |
|
waitForTextPresent |
Detailed statistics for Test Accountant |
|
verifyText |
outgoing_calls |
2 |
open |
/billing/callc/logout |
|
type |
login_username |
user_reseller |
type |
login_psw |
user_reseller1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/api/user_calls?u=user_reseller&p=user_reseller1&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4&test=1 |
|
waitForText |
//total_calls |
5 |
open |
/billing/callc/ranks?id=duration |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/stats/reseller_all_user_stats |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
outgoing_calls |
|
open |
/billing/stats/all_users_detailed |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
all_calls |
|
open |
/billing/stats/user_stats |
|
waitForTextPresent |
Detailed statistics for User Resellers |
|
open |
/billing/stats/reseller_all_user_stats |
|
waitForTextPresent |
You are not authorized to view this page |
|
verifyElementNotPresent |
outgoing_calls |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/users/new |
|
type |
user_username |
manager |
type |
password_password |
manager1 |
clickAndWait |
commit |
|
waitForTextPresent |
User succesfully created |
|
open |
/billing/groups/new |
|
type |
group_name |
test_call_shop |
clickAndWait |
commit |
|
waitForTextPresent |
Call Shop was successfully created |
|
open |
/billing/groups/members/1 |
|
select |
new_member |
label=manager - |
clickAndWait |
commit |
|
assertConfirmation |
Make this user a manager |
|
waitForTextPresent |
Call booth was successfully added |
|
open |
/billing/groups/members/1 |
|
select |
new_member |
label=101 - Test User #1 |
clickAndWait |
commit |
|
waitForTextPresent |
Call booth was successfully added |
|
open |
/billing/callc/logout |
|
type |
login_username |
manager |
type |
login_psw |
manager1 |
clickAndWait |
commit |
|