open |
/mmc/main.php?module=network&submod=network&action=zonemembers&zone=example.net |
|
clickAndWait |
//a[contains(@href, '/mmc/main.php?module=network&submod=network&action=index')] |
|
pause |
2000 |
|
clickAndWait |
//a[contains(@href, 'main.php?module=network&submod=network&action=addhost&zone=example.net')] |
|
verifyValue |
ipaddress |
192.168.0.3 |
type |
hostname |
testhost1 |
clickAndWait |
badd |
|
waitForTextPresent |
The specified hostname has been already recorded in this zone. |
|
type |
hostname |
testhost2 |
type |
ipaddress |
192.168.0.2 |
clickAndWait |
badd |
|
waitForTextPresent |
The specified IP address has been already recorded in this zone. |
|
clickAndWait |
link=DHCP subnets |
|
pause |
2000 |
|
clickAndWait |
//a[contains(@href, 'main.php?module=network&submod=network&action=subnetaddhost&subnet=192.168.0.0')] |
|
type |
hostname |
testhost1 |
type |
macaddress |
22:33:44:55:66:77 |
clickAndWait |
badd |
|
waitForTextPresent |
The specified hostname has been already registered in this DHCP subnet. |
|
type |
hostname |
testhost2 |
type |
ipaddress |
192.168.0.2 |
clickAndWait |
badd |
|
waitForTextPresent |
The specified IP address has been already registered in this DHCP subnet. |
|
type |
hostname |
ns |
type |
ipaddress |
192.168.0.3 |
clickAndWait |
badd |
|
waitForTextPresent |
The specified hostname has been already registered in DNS zone example.net. |
|