open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/lcrs/details_by_destinations/1?no_direction=true |
|
click |
link=Add new destinations |
|
waitForTextPresent |
Country |
|
select |
country |
label=Andorra |
waitForElementPresent |
pre |
|
waitForTextPresent |
3763 |
|
select |
pre |
label=3763 - MOB Andorra mobile |
clickAndWait |
xpath=(//input[@type='image'])[2] |
|
verifyTextPresent |
Saved |
|
verifyTextPresent |
Andorra |
|
open |
/billing/lcrs/lcrpartial_edit/1 |
|
verifyValue |
prefix |
3763 |
type |
prefix |
37633 |
waitForElementPresent |
test_rezult_ |
|
clickAndWait |
commit |
|
waitForTextPresent |
Prefix was not found |
|
type |
prefix |
376 |
waitForElementPresent |
results |
|
clickAndWait |
commit |
|
verifyValue |
prefix |
376 |
open |
/billing/lcrs/lcrpartial_edit/2 |
|
verifyTextPresent |
LCR Partial not found |
|
open |
/billing/lcrs/details_by_destinations/1?no_direction=true |
|
clickAndWait |
lcr_delete_1 |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Destination deleted |
|
open |
/billing/lcrs/lcrpartial_destroy/44444 |
|
waitForTextPresent |
LCR Partial not found |
|
open |
/billing/functions/settings |
|
click |
//div[@id='tabTabdhtmlgoodies_tabView1_5']/span |
|
type |
items_per_page |
2 |
clickAndWait |
commit |
|
open |
/billing/lcrs/new |
|
type |
lcr_name |
11 |
clickAndWait |
commit |
|
open |
/billing/lcrs/new |
|
type |
lcr_name |
22 |
clickAndWait |
commit |
|
open |
/billing/lcrs/new |
|
type |
lcr_name |
33 |
clickAndWait |
commit |
|
open |
/billing/lcrs/new |
|
type |
lcr_name |
44 |
clickAndWait |
commit |
|
clickAndWait |
link=1 |
|
verifyText |
page_1 |
1 2 3 |
verifyText |
id_1 |
1 |
verifyText |
id_5 |
5 |
clickAndWait |
link=2 |
|
verifyTextNotPresent |
id_1 |
|
verifyTextNotPresent |
id_2 |
|
verifyText |
id_3 |
3 |
verifyText |
id_4 |
4 |
clickAndWait |
link=3 |
|
verifyText |
id_2 |
2 |
verifyTextNotPresent |
id_1 |
|
verifyTextNotPresent |
id_3 |
|
open |
/billing/lcrs/list?page=-3 |
|
verifyText |
id_1 |
1 |
verifyText |
id_5 |
5 |
open |
/billing/lcrs/list?page=5 |
|
verifyText |
page_3 |
1 2 3 |
open |
/billing/providers/list |
|
clickAndWait |
link=New Provider |
|
type |
provider_name |
Test2 |
check |
add_to_servers[1] |
|
clickAndWait |
commit |
|
verifyTextPresent |
Provider was successfully created |
|
open |
/billing/providers/list |
|
clickAndWait |
link=New Provider |
|
type |
provider_name |
Test3 |
check |
add_to_servers[1] |
|
clickAndWait |
commit |
|
verifyTextPresent |
Provider was successfully created |
|
open |
/billing/lcrs/providers_list/5 |
|
select |
select_prov |
label=Test Provider - IAX2/22.33.44.55 |
clickAndWait |
commit |
|
verifyTextPresent |
Provider added |
|
select |
select_prov |
label=Test2 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
verifyTextPresent |
Provider added |
|
open |
/billing/lcrs/edit/5 |
|
select |
lcr[order] |
label=Percent |
clickAndWait |
commit |
|
verifyTextPresent |
LCR was successfully updated |
|
open |
/billing/lcrs/providers_list/5 |
|
verifyText |
percent_1 |
50.0% |
verifyText |
percent_2 |
50.0% |
select |
select_prov |
label=Test3 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
verifyTextPresent |
Provider added |
|
verifyText |
id=percent_1 |
33.33% |
verifyText |
id=percent_2 |
33.33% |
verifyText |
id=percent_3 |
33.33% |
clickAndWait |
delete_link_3 |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Provider removed |
|
verifyText |
id=percent_1 |
50.0% |
verifyText |
id=percent_2 |
50.0% |
select |
select_prov |
label=Test3 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
verifyTextPresent |
Provider added |
|
verifyText |
id=percent_1 |
33.33% |
verifyText |
id=percent_2 |
33.33% |
verifyText |
id=percent_3 |
33.33% |
open |
/billing/lcrs/edit/5 |
|
select |
lcr[order] |
label=Price |
clickAndWait |
commit |
|
verifyTextPresent |
LCR was successfully updated |
|
open |
/billing/lcrs/edit/5 |
|
select |
lcr[order] |
label=Percent |
clickAndWait |
commit |
|
verifyTextPresent |
LCR was successfully updated |
|
open |
/billing/lcrs/providers_list/5 |
|
verifyText |
percent_1 |
33.33% |
verifyText |
percent_2 |
33.33% |
verifyText |
percent_3 |
33.33% |
clickAndWait |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Provider removed |
|
clickAndWait |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Provider removed |
|
clickAndWait |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Provider removed |
|
select |
select_prov |
label=Test Provider - IAX2/22.33.44.55 |
clickAndWait |
commit |
|
verifyTextPresent |
Provider added |
|
verifyText |
percent_1 |
100.0% |
open |
/billing/lcrs/details_by_destinations/1?no_direction=true |
|
click |
link=Add new destinations |
|
verifyElementPresent |
search |
|
type |
search |
5 |
waitForElementPresent |
test_rezult_ |
|
clickAndWait |
prefix_f |
|
verifyTextPresent |
Prefix was not found |
|
click |
link=Add new destinations |
|
verifyElementPresent |
search |
|
type |
search |
370 |
waitForElementPresent |
results |
|
clickAndWait |
prefix_f |
|
open |
/billing/lcrs/lcrpartial_edit/2 |
|
waitForElementPresent |
prefix |
|
keyDown |
prefix |
w |
type |
prefix |
aaaa |
keyUp |
prefix |
w |
fireEvent |
prefix |
blur |
waitForValue |
prefix |
aaaa |
clickAndWait |
commit |
|
waitForTextPresent |
Prefix was not found |
|
open |
/billing/users/edit/3 |
|
select |
user_lcr_id |
label=11 |
clickAndWait |
//div[@id='confirm_without_message']/input |
|
waitForTextPresent |
User's settings succesfully changed: Test Reseller |
|
open |
/billing/lcrs/details/2 |
|
verifyTextPresent |
Test Reseller |
|
open |
/billing/lcrs/remove_provider/5?prov=1 |
|
waitForTextPresent |
Don |
|
open |
/billing/lcrs/providers_list/5 |
|
clickAndWait |
//a[@id='delete_link_1']/img |
|
assertConfirmation |
Are you sure? |
|
verifyTextPresent |
Provider removed |
|
open |
/billing/lcrs/providers_sort_save/1?sortable_list[]=1&sortable_list[]=2&sortable_list[]=189734871326&sortable_list[]=6 |
|
verifyTextPresent |
LCR provider not found |
|
open |
/billing/lcrs/edit/2 |
|
select |
lcr[order] |
label=Priority |
clickAndWait |
commit |
|
open |
/billing/lcrs/providers_list/2 |
|
select |
select_prov |
label=Test Provider - IAX2/22.33.44.55 |
clickAndWait |
commit |
|
verifyText |
priority_1 |
1 |
select |
select_prov |
label=Test3 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
verifyText |
priority_3 |
2 |
select |
select_prov |
label=Test2 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
verifyText |
priority_2 |
3 |
clickAndWait |
//a[@id='delete_link_2']/img |
|
assertConfirmation |
Are you sure? |
|
select |
select_prov |
label=Test2 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
verifyText |
priority_2 |
3 |
open |
/billing/lcrs/edit/1 |
|
select |
lcr[order] |
label=Priority |
clickAndWait |
commit |
|
open |
/billing/lcrs/providers_sort/1 |
|
verifyText |
link=Back |
Back |