open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/devices/new?return_to_action=list&return_to_controller=users&user_id=4 |
|
type |
id=device_description |
SIP_device |
clickAndWait |
name=commit |
|
waitForTextPresent |
Device created |
|
click |
id=dynamic_check |
|
waitForValue |
id=dynamic_check |
off |
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
on |
type |
id=host |
4.4.4.4 |
type |
id=port |
5060 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Device's settings updated |
|
open |
/billing/devices/device_all_details/8 |
|
storeText |
id=name_value |
ipauth1 |
open |
/billing/devices/device_edit/8 |
|
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
off |
waitForVisible |
id=device_secret |
|
type |
id=device_secret |
asdfghjkl |
click |
id=dynamic_check |
|
waitForValue |
id=dynamic_check |
on |
clickAndWait |
name=commit |
|
waitForTextPresent |
Device's settings updated |
|
open |
/billing/devices/device_all_details/8 |
|
verifyText |
id=name_value |
1001 |
verifyNotText |
id=name_value |
${ipauth1} |
open |
/billing/devices/device_edit/8 |
|
verifyValue |
id=dynamic_check |
on |
click |
id=dynamic_check |
|
waitForValue |
id=dynamic_check |
off |
verifyValue |
id=ip_authentication |
off |
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
on |
waitForNotVisible |
id=device_secret |
|
type |
id=port |
7062 |
clickAndWait |
name=commit |
|
waitForTextPresent |
You must specify proper host name in case IP authentication is used |
|
verifyValue |
id=dynamic_check |
on |
click |
id=dynamic_check |
|
waitForValue |
id=dynamic_check |
off |
verifyValue |
id=ip_authentication |
off |
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
on |
waitForNotVisible |
id=device_secret |
|
type |
id=host |
192.168.0.107 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Device's settings updated |
|
open |
/billing/devices/device_all_details/8 |
|
verifyNotText |
id=name_value |
${ipauth1} |
open |
/billing/providers/new |
|
type |
id=provider_name |
provider_sip |
click |
id=add_to_servers[1] |
|
clickAndWait |
name=commit |
|
waitForTextPresent |
Provider was successfully created |
|
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
on |
clickAndWait |
name=commit |
|
waitForTextPresent |
Provider was successfully updated |
|
open |
/billing/test/make_select |
|
select |
id=table |
label=devices |
type |
id=id |
9 |
clickAndWait |
id=search_devices_all |
|
waitForTextPresent |
Field |
|
storeText |
id=name_value |
ipauth2 |
open |
/billing/providers/edit/2 |
|
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
off |
type |
id=provider_port |
5061 |
waitForValue |
id=provider_login |
|
type |
id=provider_login |
provider_sip |
clickAndWait |
name=commit |
|
waitForTextPresent |
Provider was successfully updated |
|
open |
/billing/test/make_select |
|
select |
id=table |
label=devices |
type |
id=id |
9 |
clickAndWait |
id=search_devices_all |
|
waitForTextPresent |
Field |
|
verifyTextNotPresent |
id=name_value |
${ipauth2} |
open |
/billing/providers/edit/2 |
|
click |
id=ip_authentication |
|
waitForValue |
id=ip_authentication |
on |
clickAndWait |
name=commit |
|
waitForTextPresent |
Provider was successfully updated |
|
open |
/billing/test/make_select |
|
select |
id=table |
label=devices |
type |
id=id |
9 |
clickAndWait |
id=search_devices_all |
|
waitForTextPresent |
Field |
|
verifyTextNotPresent |
id=name_value |
${ipauth2} |