open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/users/new |
|
type |
user_username |
prepaid |
type |
password_password |
prepaid1 |
click |
user_postpaid_2 |
|
clickAndWait |
commit |
|
open |
/billing/sms/tariffs |
|
clickAndWait |
link=New tariff |
|
type |
tariff_name |
prov |
select |
tariff[tariff_type] |
label=Provider |
clickAndWait |
commit |
|
clickAndWait |
link=New tariff |
|
type |
tariff_name |
user |
clickAndWait |
commit |
|
clickAndWait |
//a[contains(@href, '/billing/sms/rates/1')] |
|
clickAndWait |
link=New rate |
|
type |
2 |
0.06 |
clickAndWait |
commit |
|
open |
/billing/sms/rate_new/2?st=A |
|
type |
2 |
0.12 |
clickAndWait |
commit |
|
open |
/billing/sms/provider_new |
|
type |
provider_name |
test |
type |
provider_sms_provider_domain |
@labas.lt |
check |
provider[use_subject] |
|
clickAndWait |
commit |
|
open |
/billing/sms/lcr_new |
|
type |
lcr_name |
45t5t5 |
clickAndWait |
commit |
|
clickAndWait |
providers_link_1 |
|
select |
select_prov |
label=test |
clickAndWait |
commit |
|
open |
/billing/sms/users |
|
select |
user_id |
label=prepaid |
clickAndWait |
commit |
|
open |
/billing/callc/logout |
|
type |
login_username |
prepaid |
type |
login_psw |
prepaid1 |
clickAndWait |
commit |
|
open |
/billing/sms/sms |
|
type |
search |
93 |
waitForElementPresent |
results |
|
type |
38 |
lglg |
clickAndWait |
commit |
|
waitForTextPresent |
5 - failed, insufficient balance |
|
verifyText |
status_5 |
failed |
verifyText |
number_5 |
93 |
verifyText |
user_rate_5 |
0.0000 |
verifyText |
quantity_5 |
0 |
verifyText |
price_5 |
0.0000 |
open |
/billing/users/personal_details |
|
waitForText |
id=balance |
0.0000 USD |
open |
/billing/sms/lcr_details/1 |
|
verifyTextPresent |
LCR : 45t5t5 |
|
verifyText |
link=prepaid |
prepaid |
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/sms/provider_new |
|
type |
id=provider_name |
provider |
type |
id=provider_sms_provider_domain |
vienas.127.0.0.1 |
clickAndWait |
name=commit |
|
assertTextPresent |
Domain has to be valid |
|
type |
id=provider_sms_provider_domain |
127.0.0.1.du |
clickAndWait |
name=commit |
|
assertTextPresent |
Domain has to be valid |
|
type |
id=provider_sms_provider_domain |
labas@189.50.126.218 |
clickAndWait |
name=commit |
|
assertTextPresent |
Domain has to be valid |
|
type |
id=provider_sms_provider_domain |
189.50.126.218 |
clickAndWait |
name=commit |
|
assertTextPresent |
Domain has to be valid |
|
type |
id=provider_sms_provider_domain |
189.50.126.segxdfc.218.58.25 |
clickAndWait |
name=commit |
|
assertTextPresent |
SMS Provider created |
|