New Test
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/dialplans/new
type dialplan[name] ccdp
check dialplan[data7]
check dialplan[data8]
check dialplan[data3]
check dialplan[data4]
select end_ivr label=End IVR #2
clickAndWait add_calling_card
waitForTextPresent Dialplan successfully created
open /billing/dialplans/new
type document.forms[1].elements['dialplan[name]'] abpdp
check document.forms[1].elements['dialplan[data3]']
check document.forms[1].elements['dialplan[data4]']
clickAndWait dp_PIN_add
waitForTextPresent Dialplan successfully created
open /billing/dids/edit/1
clickAndWait //input[@type='image']
waitForTextPresent Allow this DID to be assigned to other users/dialplans
open /billing/dids/edit/2
clickAndWait document.forms[1].elements['commit']
waitForTextPresent Assign to dialplan. That means deciding which operations to run when dialing this number
clickAndWait assign_to_dp_pin
waitForTextPresent DID assigned to Dial Plan: abpdp
open /billing/dialplans/new
type callback_dp_name abdp
check document.forms[2].elements['dialplan[data4]']
clickAndWait cb_add
open /billing/dialplans/edit/4
type dialplan[data5] *
clickAndWait commit
waitForTextPresent Dial Plan successfully updated
open /billing/dialplans/edit/4
verifyValue dialplan[data5] *