sms_addon2
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/sms/tariff_new
type tariff_name test_user
clickAndWait commit
clickAndWait link=New tariff
type tariff_name test_provider
select tariff[tariff_type] label=Provider
clickAndWait commit
open /billing/sms/provider_new
type provider_name test1
clickAndWait commit
open /billing/callc/main
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/sms/lcr_new
type lcr_name lcr_test
clickAndWait commit
clickAndWait providers_link_1
select select_prov label=test1
clickAndWait commit
open /billing/callc/main
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/sms/users
clickAndWait commit
select user_id label=Test Reseller
clickAndWait commit
open /billing/callc/main
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/sms/rate_new/2?st=A
type 7 98
clickAndWait commit
open /billing/callc/main
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/permissions/list?group_type=reseller
type name Re_permissions
clickAndWait //input[@type='image']
clickAndWait //img[@alt='Edit']
click calling_cards_2
click call_shop_2
click sms_addon_2
click payment_gateways_2
clickAndWait commit
open /billing/users/edit/3
clickAndWait //div[@id='confirm_without_message']/input
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/sms/tariff_new
type tariff_name res_test
clickAndWait commit
open /billing/sms/users
clickAndWait commit
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)
open /billing/sms/sms
type search 93209898
type 38 456456456
keyUp 38 w
clickAndWait commit
waitForText id=status_5 failed
waitForTextPresent 2 - failed, reseller does not have rate for this destination
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/functions/settings_addons
click //div[@id='tabTabdhtmlgoodies_tabView1_2']/span
check send_sms_from_front_page
type frontpage_sms_text Send a text-message (SMS)
clickAndWait commit
open /billing/callc/main
verifyElementPresent search
verifyElementPresent 38
verifyElementPresent remLen1
verifyTextPresent Send a text-message (SMS)
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyElementPresent search
verifyElementPresent 38
verifyElementPresent remLen1
verifyTextPresent Send a text-message (SMS)
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyElementPresent search
verifyElementPresent 38
verifyElementPresent remLen1
verifyTextPresent Send a text-message (SMS)
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyElementNotPresent search
verifyElementNotPresent 38
verifyElementNotPresent remLen1
verifyTextNotPresent Send a text-message (SMS)