open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/stats/last_calls_stats |
|
select |
id=date_from_year |
label=2008 |
clickAndWait |
name=commit |
|
open |
/billing/stats/last_calls_stats |
|
select |
id=date_till_year |
label=2008 |
clickAndWait |
name=commit |
|
open |
/billing/cardgroups/list |
|
clickAndWait |
edit_img_1 |
|
type |
cardgroup_setup_fee |
1555 |
type |
cardgroup_daily_charge |
0.1555 |
check |
tax3_enabled |
|
check |
tax2_enabled |
|
check |
tax4_enabled |
|
clickAndWait |
commit |
|
verifyText |
status |
Card group was successfully updated |
clickAndWait |
link=Check available Cards (not sold) |
|
clickAndWait |
link=Add cards |
|
type |
start_number |
0000000001 |
type |
end_number |
0000000020 |
clickAndWait |
commit |
|
verifyText |
status |
Cards created: 20 |
clickAndWait |
//a[@id='delete_link_41']/img |
|
assertConfirmation |
Are you sure? |
|
verifyText |
status |
Card was deleted |
clickAndWait |
//img[@alt='Edit'] |
|
type |
card_pin |
743413 |
type |
card_callerid |
145646314 |
select |
card_first_use_1i |
label=2007 |
clickAndWait |
commit |
|
verifyText |
status |
Card was successfully updated |
open |
/billing/cardgroups/list |
|
clickAndWait |
link=New card group |
|
clickAndWait |
commit |
|
verifyTextPresent |
Card group was not created |
|
verifyTextPresent |
Card Group must have name |
|
type |
cardgroup_name |
ohoho |
type |
cardgroup_description |
rstgzthnerdtfgh |
check |
tax2_enabled |
|
check |
tax3_enabled |
|
check |
tax4_enabled |
|
clickAndWait |
commit |
|
verifyText |
status |
Card group was successfully created |
clickAndWait |
link=Generate new Cards |
|
type |
start_number |
8546 |
type |
end_number |
464 |
clickAndWait |
commit |
|
verifyText |
notice |
Bad number length should be: 10 |
type |
start_number |
0000000001 |
type |
end_number |
0000000020 |
clickAndWait |
commit |
|
verifyText |
status |
Cards created: 1 |
clickAndWait |
//input[@value='Ok'] |
|
clickAndWait |
//img[@alt='Details'] |
|
clickAndWait |
link=Edit |
|
type |
card_pin |
66381315531 |
clickAndWait |
commit |
|
verifyText |
status |
Card was successfully updated |
open |
/billing/cardgroups/list |
|
clickAndWait |
destroy_img_3 |
|
assertConfirmation |
Are you sure? |
|
verifyText |
status |
Card group deleted |
clickAndWait |
//img[@alt='Edit'] |
|
type |
cardgroup_name |
|
clickAndWait |
commit |
|
verifyTextPresent |
Card Group not found |
|
verifyTextPresent |
Card Group must have name |
|
type |
cardgroup_name |
pakeistas |
click |
cardgroup_use_external_function_1 |
|
type |
tax2_name |
ssssssssss |
type |
tax3_name |
aaaaaaaaa |
type |
tax4_name |
fffffffffffff |
type |
cardgroup_valid_after_first_use |
54 |
clickAndWait |
commit |
|
verifyText |
status |
Card group was successfully updated |
clickAndWait |
link=Check available Cards (not sold) |
|
clickAndWait |
//img[@alt='Edit'] |
|
type |
card_number |
|
type |
card_pin |
|
type |
card_callerid |
|
select |
card_first_use_1i |
label=2012 |
select |
card_daily_charge_paid_till_1i |
label=2010 |
select |
card_daily_charge_paid_till_2i |
label=July |
select |
card_first_use_2i |
label=May |
clickAndWait |
commit |
|
assertTextPresent |
Card was not updated |
|
assertTextPresent |
Bad pin length should be: 4 |
|
type |
id=card_number |
4444444444 |
type |
id=card_pin |
4444 |
clickAndWait |
name=commit |
|
verifyText |
status |
Card was successfully updated |
open |
/billing/cards/list?cg=1&s_sold=no |
|
clickAndWait |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
assertTextPresent |
Card was deleted |
|
open |
/billing/cardgroups/list |
|
clickAndWait |
//img[@alt='Delete'] |
|
assertConfirmation |
Are you sure? |
|
assertTextPresent |
Card group deleted |
|