open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/functions/settings |
|
click |
//div[@name='various'] |
|
waitForTextPresent |
Allow devices to check rate over HTTP: |
|
check |
devices_check_rate |
|
clickAndWait |
commit |
|
verifyTextPresent |
Settings saved |
|
click |
//div[@id='tabTabdhtmlgoodies_tabView1_9']/span |
|
check |
allow_api |
|
check |
allow_get_api |
|
check |
xml_api_extension |
|
check |
api_login_redirect_to_main |
|
type |
id=api_secret_key |
secret |
clickAndWait |
commit |
|
open |
/billing/tariffs/user_rates_list/4?st=L |
|
type |
rate249 |
10 |
clickAndWait |
//input[@name='commit' and @value='Update'] |
|
open |
/billing/api/rate?username=admin&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=admin&prefix= |
|
verifyText |
//body |
Empty prefix |
open |
/billing/api/rate?username=&prefix= |
|
verifyText |
//body |
Empty prefix |
open |
/billing/api/rate?username=weer&prefix=370 |
|
verifyText |
//body |
User not found |
open |
/billing/api/rate?username=reseller&prefix=370 |
|
verifyText |
//body |
10.0#Lithuania proper#370 |
open |
/billing/api/rate?username=reseller&prefix=37 |
|
verifyText |
//body |
Prefix was not found |
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
open |
/billing/api/rate?username=admin&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=reseller&prefix=370 |
|
verifyText |
//body |
10.0#Lithuania proper#370 |
open |
/billing/tariffs/user_rates_list/3 |
|
clickAndWait |
link=L |
|
type |
rate249 |
6 |
clickAndWait |
//input[@name='commit' and @value='Update'] |
|
open |
/billing/api/rate?username=user_reseller&prefix=370 |
|
verifyTextPresent |
6.0#Lithuania proper#370 |
|
open |
/billing/callc/logout |
|
type |
login_username |
accountant |
type |
login_psw |
accountant1 |
clickAndWait |
commit |
|
open |
/billing/api/rate?username=admin&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=user_reseller&prefix=370 |
|
verifyTextPresent |
6.0#Lithuania proper#370 |
|
open |
/billing/api/rate?username=accountant&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=reseller&prefix=370 |
|
verifyText |
//body |
10.0#Lithuania proper#370 |
open |
/billing/callc/logout |
|
type |
login_username |
101 |
type |
login_psw |
1011 |
clickAndWait |
commit |
|
open |
/billing/api/rate?username=admin&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=user_reseller&prefix=370 |
|
verifyTextPresent |
6.0#Lithuania proper#370 |
|
open |
/billing/api/rate?username=101&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=reseller&prefix=370 |
|
verifyText |
//body |
10.0#Lithuania proper#370 |
open |
/billing/callc/logout |
|
type |
login_username |
user_reseller |
type |
login_psw |
user_reseller1 |
clickAndWait |
commit |
|
open |
/billing/api/rate?username=admin&prefix=370 |
|
verifyText |
//body |
0.0#Lithuania proper#370 |
open |
/billing/api/rate?username=user_reseller&prefix=370 |
|
verifyTextPresent |
6.0#Lithuania proper#370 |
|
open |
/billing/api/rate?username=reseller&prefix=370 |
|
verifyText |
//body |
10.0#Lithuania proper#370 |